[Freeswitch-users] sip_auto_answer auto copy to bleg
Anthony Minessale
anthony.minessale at gmail.com
Tue Jan 17 03:44:35 MSK 2012
originate [sip_auto_answer=true]user/1000
&bridge([sip_auto_answer=false]user/1001)
On Mon, Jan 16, 2012 at 1:15 PM, 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
>
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120116/a7302200/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list