[Freeswitch-users] sip_auto_answer auto copy to bleg
Seven Du
dujinfang at gmail.com
Tue Jan 17 09:45:28 MSK 2012
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 at 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 at gmail.com (mailto: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 (mailto: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 (mailto: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 (mailto:MSN%3Aanthony_minessale at hotmail.com)
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com (mailto:PAYPAL%3Aanthony.minessale at gmail.com)
> IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org (mailto:sip%3A888 at conference.freeswitch.org)
> googletalk:conf+888 at conference.freeswitch.org (mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org)
> pstn:+19193869900
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto: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 (mailto: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/20120117/8c63b79d/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list