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@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.

-- 

Sent with Sparrow


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900