[asterisk-users] zapata.conf channel variable question

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Dec 15 12:48:36 MST 2006


On Fri, Dec 15, 2006 at 12:10:40PM -0600, John French wrote:
> The setvar command 

It is not a dialplan command. It is a configuration key.

> below works fine in iax.conf and in sip.conf 
> but not here in zaptel.conf. I need it to retrieve info from the 
> AstDB. Advice is apreciated, can't seem to find an answer.

Two problems:

1. setvar does not seem to be supported with zaptel channels.

and:

>  
> ; define channels
> group=1
> context=longdistance_users
> signalling=fxo_ks ;FXO Sig for Phone
> callerid="John French" <103>
> mailbox="101"
> callwaiting=yes
> threewaycalling=yes
> transfer=yes
> channel => 1
> setvar=USER=analogPhone

If you wanted it to take effect you needed to put it before the
'channel' line.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list