[Freeswitch-users] sip_auto_answer auto copy to bleg
Michael Collins
msc at freeswitch.org
Tue Jan 17 03:42:08 MSK 2012
What about explicitly setting it to false on the b leg dialstring?
originate {sip_auto_answer}user/1000
&bridge({sip_auto_answer=false}user/1001)
Just curious to see what would happen.
-MC
On Mon, Jan 16, 2012 at 11:15 AM, Seven Du <dujinfang at gmail.com> wrote:
> Hi,
>
> 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.
>
>
>
> // switch_channel_set_variable(nchannel, "sip_invite_params",
> "intercom=true");
> }
>
> switch_ivr_transfer_variable(session, nsession, SOFIA_REPLACES_HEADER);
> // switch_ivr_transfer_variable(session, nsession, "sip_auto_answer");
>
> 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?
>
> Thanks.
>
> --
> About: http://about.me/dujinfang
> Blog: http://www.dujinfang.com
> Proj: http://www.freeswitch.org.cn
>
> Sent with Sparrow <http://www.sparrowmailapp.com>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120116/af6a7c28/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list