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=<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%<a href="http://192.168.1.112">192.168.1.112</a> '&execute_extension(8901 XML)'<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 "call" 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>