I am having a problem setting the default language for Zap interfaces. I have an Asterisk 1.4.4 server on CentOS 5 with two Astribank 8 units for analog devices. Here is a sample configuration on one of the ports: language=es context=oficina callerid="Miriam Perez Vite"<100> mailbox=100 usecallerid=yes callwaiting=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echotraining=800 rxgain=0.0 txgain=0.0 busydetect=yes busycount=6 callprogress=no accountcode=General amaflags=default signalling=fxo_ks pickupgroup=1 callgroup=1 faxdetect=no group=0 channel => 32 As you can see I set the language=es parameter (and do this for all interfaces). I installed the spanish sound set for Asterisk in /var/lib/asterisk/sounds/es (with links to the appropriate directories for letter, digits, phonetic, etc). All Zap interfaces still play all sounds in English. Only if I do a Set(CHANNEL(language)=es) do I get the sounds in Spanish. When I do a "zap show channels" the language column is blank. The server also has an E1 with Unicall where I have also set the default language to Spanish and all calls coming through the E1 do play the sounds in Spanish. Any ideas why the Zap channels do not want to set the default language? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070528/fd9a1747/attachment.pgp
Tzafrir Cohen
2007-May-28 14:34 UTC
[asterisk-users] language in zapata.conf [was: Language in Zaptel.conf]
On Mon, May 28, 2007 at 04:08:35PM -0500, Carlos Chavez wrote:> As you can see I set the language=es parameter (and do this for all > interfaces). I installed the spanish sound set for Asterisk > in /var/lib/asterisk/sounds/es (with links to the appropriate > directories for letter, digits, phonetic, etc). All Zap interfaces > still play all sounds in English. Only if I do a > Set(CHANNEL(language)=es) do I get the sounds in Spanish. When I do a > "zap show channels" the language column is blank.Duh. It seems that the value of language in zapata.conf is indeed ignored. My bad. Writing a fix. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Tzafrir Cohen
2007-May-28 14:53 UTC
[asterisk-users] language in zapata.conf [was: Language in Zaptel.conf]
On Tue, May 29, 2007 at 12:34:33AM +0300, Tzafrir Cohen wrote:> On Mon, May 28, 2007 at 04:08:35PM -0500, Carlos Chavez wrote: > > > As you can see I set the language=es parameter (and do this for all > > interfaces). I installed the spanish sound set for Asterisk > > in /var/lib/asterisk/sounds/es (with links to the appropriate > > directories for letter, digits, phonetic, etc). All Zap interfaces > > still play all sounds in English. Only if I do a > > Set(CHANNEL(language)=es) do I get the sounds in Spanish. When I do a > > "zap show channels" the language column is blank. > > Duh. It seems that the value of language in zapata.conf is indeed > ignored. My bad. Writing a fix.And sadly I was looking at an obsolete copy of the SVN. That has already been fixed in the SVN after 1.4.4 was released: http://bugs.digium.com/view.php?id=9626 http://svn.digium.com/view/asterisk?rev=62331&view=rev (reported by sergee and fixed by russel) Well. At least I fixed the title of the thread... -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Carlos Chavez
2007-May-28 16:09 UTC
[asterisk-users] language in zapata.conf [was: Language in Zaptel.conf]
On Tue, 2007-05-29 at 00:53 +0300, Tzafrir Cohen wrote:> On Tue, May 29, 2007 at 12:34:33AM +0300, Tzafrir Cohen wrote: > > On Mon, May 28, 2007 at 04:08:35PM -0500, Carlos Chavez wrote: > > > > > As you can see I set the language=es parameter (and do this for all > > > interfaces). I installed the spanish sound set for Asterisk > > > in /var/lib/asterisk/sounds/es (with links to the appropriate > > > directories for letter, digits, phonetic, etc). All Zap interfaces > > > still play all sounds in English. Only if I do a > > > Set(CHANNEL(language)=es) do I get the sounds in Spanish. When I do a > > > "zap show channels" the language column is blank. > > > > Duh. It seems that the value of language in zapata.conf is indeed > > ignored. My bad. Writing a fix. > > And sadly I was looking at an obsolete copy of the SVN. That has already > been fixed in the SVN after 1.4.4 was released: > > http://bugs.digium.com/view.php?id=9626 > http://svn.digium.com/view/asterisk?rev=62331&view=rev > > (reported by sergee and fixed by russel) > > Well. At least I fixed the title of the thread... >So is this fixed by using Asterisk SVN or Zaptel SVN? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070528/9a4dccd0/attachment.pgp
Tzafrir Cohen
2007-May-28 21:05 UTC
[asterisk-users] language in zapata.conf [was: Language in Zaptel.conf]
On Mon, May 28, 2007 at 06:08:38PM -0500, Carlos Chavez wrote:> On Tue, 2007-05-29 at 00:53 +0300, Tzafrir Cohen wrote: > > On Tue, May 29, 2007 at 12:34:33AM +0300, Tzafrir Cohen wrote: > > > On Mon, May 28, 2007 at 04:08:35PM -0500, Carlos Chavez wrote: > > > > > > > As you can see I set the language=es parameter (and do this for all > > > > interfaces). I installed the spanish sound set for Asterisk > > > > in /var/lib/asterisk/sounds/es (with links to the appropriate > > > > directories for letter, digits, phonetic, etc). All Zap interfaces > > > > still play all sounds in English. Only if I do a > > > > Set(CHANNEL(language)=es) do I get the sounds in Spanish. When I do a > > > > "zap show channels" the language column is blank. > > > > > > Duh. It seems that the value of language in zapata.conf is indeed > > > ignored. My bad. Writing a fix. > > > > And sadly I was looking at an obsolete copy of the SVN. That has already > > been fixed in the SVN after 1.4.4 was released: > > > > http://bugs.digium.com/view.php?id=9626 > > http://svn.digium.com/view/asterisk?rev=62331&view=rev > > > > (reported by sergee and fixed by russel) > > > > Well. At least I fixed the title of the thread... > > > > So is this fixed by using Asterisk SVN or Zaptel SVN?Asterisk SVN. Or by applying the above small fix to 1.4.4 . -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir