What about explicitly setting it to false on the b leg dialstring?<br><br>originate {sip_auto_answer}user/1000 &bridge({sip_auto_answer=false}user/1001) <br><br>Just curious to see what would happen.<br>-MC<br><br><div class="gmail_quote">
On Mon, Jan 16, 2012 at 11:15 AM, Seven Du <span dir="ltr"><<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Hi,
</div><div><br></div><div>I use originate {sip_auto_answer}user/1000 &bridge(user/1001) and want 1000 to be auto answered but not 1001, but it seems FS automatically copy to b-leg. I manually comment the following lines and it seems to work.</div>
<div><br></div><div><br></div><div><br></div><div><div><span style="white-space:pre-wrap">                        </span>// switch_channel_set_variable(nchannel, "sip_invite_params", "intercom=true");</div><div><span style="white-space:pre-wrap">                </span>}</div>
<div><br></div><div><span style="white-space:pre-wrap">                </span>switch_ivr_transfer_variable(session, nsession, SOFIA_REPLACES_HEADER);</div><div><span style="white-space:pre-wrap">                </span>// switch_ivr_transfer_variable(session, nsession, "sip_auto_answer");</div>
</div><div><br></div>
<div><div>would it be good to default to not copy but leave the "export" or equivalent to do that? Or should I patch to add a var to disable that?</div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>-- </div><div>About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a></div><div>Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a></div><div>
Proj: <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a></div><div><br></div>Sent with <a href="http://www.sparrowmailapp.com" target="_blank">Sparrow</a><br><div><br></div></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>