Ahh. gr8. thanks.<br><br><div class="gmail_quote">On Wed, Nov 26, 2008 at 5:19 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
you can put vars in [ ] before each channel in the list to apply them only to that one channel.<br><br>{global=true}[only_this_channel=true]sofia/foo/<a href="mailto:foo@bar.com" target="_blank">foo@bar.com</a>,[only_this_channel_again=true]sofia/foo/<a href="mailto:baz@bar.com" target="_blank">baz@bar.com</a><br>

<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Wed, Nov 26, 2008 at 9:20 AM, Jonas Gauffin <span dir="ltr">&lt;<a href="mailto:jonas.gauffin@gmail.com" target="_blank">jonas.gauffin@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div class="Wj3C7c">
Hello<div><br></div><div>I send an API command through the event socket that looks like this (the first two variables are used by our server):</div><div><br></div><div><div>api originate {gate_user_id=44,gate_site_id=1,sip_invite_params=intercom=true,sip_h_Call-Info=&lt;sip:$${domain}&gt;;answer-after=0,sip_auto_answer=true,origination_caller_id_name=&#39;Jonas Gauffin&#39;,origination_caller_id_number=+4623666XXXX,sip_auto_answer=true}sofia/localdomain/u1000044%<a href="http://192.168.1.112" target="_blank">192.168.1.112</a> &#39;&amp;execute_extension(8901 XML)&#39;<br>


</div><div><br></div><div>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.</div>


<div><br></div><div>(A logged in user presses the &quot;call&quot; icon in our webdirectory, which makes freeswitch use his phone to call 8901)</div><div><br></div><div>//Jonas</div><div><br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>

IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>