If its b leg sending invite you need to set it on that leg, so in this case set it on the so too or just globally set it in vars.xml and forget about it and it will apply to all legs which should be ok. This particular case is a bot of a philosophical debate on proper action as we have devices break on it going both ways hence the setting. On Sep 14, 2012 6:44 PM, "Michael Collins" <msc@freeswitch.org> wrote:
Mike, try comma separating the values instead of using two sets of {}:
add_action("bridge","{sip_wait_for_aleg_ack=true,sip_require_timer=false}[sip_contact_user=$ext,sip_auth_username=".$tp_username.",sip_auth_password=".$tp_password.$x_lrn."]sofia/fs/".$tp_trunkprefix.$ext."@".$tp_providerip.";fs_path=sip:OUT_PROXY");
-MC
On Fri, Sep 14, 2012 at 3:38 PM, Mike Burlingame <mike.burlingame@me.com>wrote:
I have that set in the bridge command however does not seem to be working as expected.
add_action("bridge","{sip_wait_for_aleg_ack=true}{sip_require_timer=false}[sip_contact_user=$ext,sip_auth_username=".$tp_username.",sip_auth_password=".$tp_password.$x_lrn."]sofia/fs/".$tp_trunkprefix.$ext."@".$tp_providerip.";fs_path=sip:OUT_PROXY");
On Sep 14, 2012, at 3:16 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
set {sip_require_timer=false} in your outbound calls or globally
On Fri, Sep 14, 2012 at 5:10 PM, Mike Burlingame <mike.burlingame@me.com>wrote:
it seems if I get an re-invite from the B-Leg FS add's requires timer and changes the session timer to a high value to the re-invite going to the A-Leg come to find out Acme Packets at our ULC's do not like this and send us back a 420 Bad Extension and the call is disconnected with Reason: Q.850;cause=127;text="INTERWORKING"
The ULC are stating we need to only have it in our supported and do not pass them a require.
Re-Invite from B-Leg to FS
------------------------------------------------------------------------ INVITE sip:16025551212;phone-context=+1@FS_SERVER:5070 SIP/2.0 Via: SIP/2.0/UDP OpenSIPs_DID_Proxy;branch=z9hG4bK8288.10e55fe5.0 Via: SIP/2.0/UDP B-LEG_IP:5060;branch=z9hG4bKve7vp6002gr1gfsh72k0sb1gv1ek1.1 Call-Id: f8330599-d298-4233-92bb-5d622e85aa6d Contact: <sip:18475551212@B-LEG_IP:5060;transport=udp> Content-Length: 217 Content-Type: application/sdp CSeq: 33480808 INVITE From: <sip:18475551212@B-LEG_IP>;tag=100052073 Max-Forwards: 92 Session-Expires: 3600;refresher=uas Supported: timer To: <sip:116025551212@OpenSIPs_DID_Proxy>;tag=Dj92X5t8065FQ User-Agent: FreeSwitch
v=0 o=- 3308986892 0 IN IP4 B-LEG_IP s=Media Server c=IN IP4 B-LEG_IP t=0 0 m=audio 51246 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20
------------------------------------------------------------------------
Re-Invite from FS to A-Leg
------------------------------------------------------------------------ INVITE sip:16025551212@DID_CARRIER:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP FS_SERVER:5070;rport;branch=z9hG4bKj8yevKKS0X0mK Route: <sip:OpenSIPS_DID_CARRIER_Proxy;lr=on> Max-Forwards: 97 From: <sip:18475551212;phone-context=+1@OpenSIPS_DID_CARRIER_Proxy :5060;user=phone>;tag=c9Favaa53XFXB To: <sip:16025551212;phone-context=+1@DID_CARRIER :5060;user=phone>;tag=SDd626401-gK095bbb72 Call-ID: SDd626401-b06f59c4aa359462042e25890d7b5bfd-v3000i1 CSeq: 33480811 INVITE Contact: < sip:18475551212;phone-context=+1@FS_SERVER:5070;transport=udp> User-Agent: FreeSwitch Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY Require: timer Supported: timer, precondition, path, replaces Session-Expires: 64800;refresher=uas Min-SE: 64800 Content-Type: application/sdp Content-Disposition: session Content-Length: 235 X-FS-Support: update_display,send_info
v=0 o=- 3308979701 3213293310682935904 IN IP4 B-LEG_IP s=Media Server c=IN IP4 B-LEG_IP t=0 0 m=audio 51246 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20
------------------------------------------------------------------------
_________________________________________________________________________ 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 _________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ 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