seems yealink phone has problem, see http://pastebin.freeswitch.org/18138 there's no intercom in b-leg, but maybe because Call-Info present ? Call-Info: <sip:192.168.7.143>;answer-after=0 The following confirmed work originate {sip_auto_answer=true}user/1000 &bridge({sip_auto_answer=false,sip_h_Call-info='x'}user/1002) INVITE sip:1002@192.168.7.105:5062 SIP/2.0 Call-Info: <x> On Tuesday, January 17, 2012 at 8:44 AM, Anthony Minessale wrote:
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 (mailto: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.
-- 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@freeswitch.org (mailto: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 (mailto: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 (mailto:MSN%3Aanthony_minessale@hotmail.com) GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com (mailto:PAYPAL%3Aanthony.minessale@gmail.com) IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org (mailto:sip%3A888@conference.freeswitch.org) googletalk:conf+888@conference.freeswitch.org (mailto:googletalk%3Aconf%2B888@conference.freeswitch.org) pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto: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 (mailto: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