you can put vars in [ ] before each channel in the list to apply them only
to that one channel.

{global=true}[only_this_channel=true]sofia/foo/[EMAIL PROTECTED]
,[only_this_channel_again=true]sofia/foo/[EMAIL PROTECTED]


On Wed, Nov 26, 2008 at 9:20 AM, Jonas Gauffin <[EMAIL PROTECTED]>wrote:

> Hello
> I send an API command through the event socket that looks like this (the
> first two variables are used by our server):
>
> api originate
> {gate_user_id=44,gate_site_id=1,sip_invite_params=intercom=true,sip_h_Call-Info=<sip:$${domain}>;answer-after=0,sip_auto_answer=true,origination_caller_id_name='Jonas
> Gauffin',origination_caller_id_number=+4623666XXXX,sip_auto_answer=true}sofia/localdomain/u1000044%
> 192.168.1.112 '&execute_extension(8901 XML)'
>
> The command works just as it should. The problem is that the auto-answer
> variables seems to stick to the b-leg (execute extensions), which means that
> both calls gets auto answered. What I want is that only the first call gets
> answered.
>
> (A logged in user presses the "call" icon in our webdirectory, which makes
> freeswitch use his phone to call 8901)
>
> //Jonas
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to