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:[EMAIL PROTECTED]
+972-50-7952406 mailto:[EMAIL PROTECTED]
http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users