Call disconnect upon re-invite - FS tears down call
I'm experiencing an odd issue here where a direct media call (bypass media mode) between two Aastra endpoints is disconnected when one of the endpoints sends a re-invite 2 minutes into the call, presumably to refresh the session - RTP ports & codecs remain unchanged. FreeSWITCH passes the invite on to the other endpoint which replies with its own invite, again keeping the same call parameters, ports/codecs etc. FS then sends a 491 - Request Pending to both endpoints, acknowledges the second endpoint's invite and tears down the call. This seems wrong. is this expected behavior? I went ahead and filed a Jira on this just in case - it includes all trace info: http://jira.freeswitch.org/browse/FS-4754 Phil Quesinberry Q Systems Engineering, Inc. Electronic Controls and Embedded Systems Development (410) 969-8002 http://www.qsystemsengineering.com
I am using a bit older version of FreeSWITCH but I think I saw it with Astra as well : /* INVITE in progress? */ if (sr->sr_usage == du && sr->sr_method == sip_method_invite && nua_server_request_is_pending(sr)) { return nua_client_return(cr, SIP_491_REQUEST_PENDING, msg); } The problem is with the ("nua_server_request_is_pending") : /** Return true if we have not sent final response to request */ su_inline int nua_server_request_is_pending(nua_server_request_t const *sr) { return sr && sr->sr_response.msg; } You did not send the initial invite in the Jira so I do not know if the initial request constructed correctly but judging by the code it looks like your request is still pending when the second invite arrives Thanks, Yiftach. On Tue, Oct 23, 2012 at 9:10 AM, Phil Quesinberry < philq@qsystemsengineering.com> wrote:
I'm experiencing an odd issue here where a direct media call (bypass media mode) between two Aastra endpoints is disconnected when one of the endpoints sends a re-invite 2 minutes into the call, presumably to refresh the session - RTP ports & codecs remain unchanged.
FreeSWITCH passes the invite on to the other endpoint which replies with its own invite, again keeping the same call parameters, ports/codecs etc.
FS then sends a 491 - Request Pending to both endpoints, acknowledges the second endpoint's invite and tears down the call. This seems wrong. is this expected behavior? I went ahead and filed a Jira on this just in case - it includes all trace info: http://jira.freeswitch.org/browse/FS-4754
Phil Quesinberry Q Systems Engineering, Inc. Electronic Controls and Embedded Systems Development (410) 969-8002 http://www.qsystemsengineering.com
_________________________________________________________________________ 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
Y U NO FILE JIRA? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 23, 2012, at 11:32 AM, Yiftach Golan <yiftah@choochee.com> wrote:
You did not send the initial invite in the Jira so I do not know if the initial request constructed correctly but judging by the code it looks like your request is still pending when the second invite arrives
Thanks, Yiftach.
I was half expecting the meme image that goes with that... On 4 December 2012 15:15, Brian West <brian@freeswitch.org> wrote:
Y U NO FILE JIRA? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543
On Oct 23, 2012, at 11:32 AM, Yiftach Golan <yiftah@choochee.com> wrote:
You did not send the initial invite in the Jira so I do not know if the
initial request constructed correctly
but judging by the code it looks like your request is still pending when the second invite arrives
Thanks, Yiftach.
_________________________________________________________________________ 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
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T <info@cassidywebservices.co.uk> *03300 100 960 *F<info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk
Sent from my iPhone On Dec 4, 2012, at 10:50 AM, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:
I was half expecting the meme image that goes with that...
On 4 December 2012 15:15, Brian West <brian@freeswitch.org> wrote:
Y U NO FILE JIRA? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543
On Oct 23, 2012, at 11:32 AM, Yiftach Golan <yiftah@choochee.com> wrote:
You did not send the initial invite in the Jira so I do not know if the initial request constructed correctly but judging by the code it looks like your request is still pending when the second invite arrives
Thanks, Yiftach.
_________________________________________________________________________ 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
-- Andrew Cassidy BSc (Hons) MBCS SSCA Managing Director
T 03300 100 960 F 03300 100 961 E andrew@cassidywebservices.co.uk W www.cassidywebservices.co.uk
_________________________________________________________________________ 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
Okay, this is now on the wiki: http://wiki.freeswitch.org/wiki/File:Yunfj.jpeg We just need a good place for it. :P -MC On Tue, Dec 4, 2012 at 1:34 PM, Brian Foster <bdfoster@endigotech.com>wrote:
[image: image.jpeg]
Sent from my iPhone
On Dec 4, 2012, at 10:50 AM, Andrew Cassidy < andrew@cassidywebservices.co.uk> wrote:
I was half expecting the meme image that goes with that...
On 4 December 2012 15:15, Brian West <brian@freeswitch.org> wrote:
Y U NO FILE JIRA? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543
On Oct 23, 2012, at 11:32 AM, Yiftach Golan <yiftah@choochee.com> wrote:
You did not send the initial invite in the Jira so I do not know if the
initial request constructed correctly
but judging by the code it looks like your request is still pending when the second invite arrives
Thanks, Yiftach.
_________________________________________________________________________ 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
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director
*T <info@cassidywebservices.co.uk> *03300 100 960 *F<info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk
_________________________________________________________________________ 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
Wanna do something with this? Sent from my iPhone On Dec 4, 2012, at 4:59 PM, Michael Collins <msc@freeswitch.org> wrote:
Okay, this is now on the wiki: http://wiki.freeswitch.org/wiki/File:Yunfj.jpeg We just need a good place for it. :P -MC
On Tue, Dec 4, 2012 at 1:34 PM, Brian Foster <bdfoster@endigotech.com> wrote:
<image.jpeg>
Sent from my iPhone
On Dec 4, 2012, at 10:50 AM, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:
I was half expecting the meme image that goes with that...
On 4 December 2012 15:15, Brian West <brian@freeswitch.org> wrote:
Y U NO FILE JIRA? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543
On Oct 23, 2012, at 11:32 AM, Yiftach Golan <yiftah@choochee.com> wrote:
You did not send the initial invite in the Jira so I do not know if the initial request constructed correctly but judging by the code it looks like your request is still pending when the second invite arrives
Thanks, Yiftach.
_________________________________________________________________________ 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
-- Andrew Cassidy BSc (Hons) MBCS SSCA Managing Director
T 03300 100 960 F 03300 100 961 E andrew@cassidywebservices.co.uk W www.cassidywebservices.co.uk
_________________________________________________________________________ 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
FYI - the solution to this problem is to ensure that "Outbound Proxy Server" under "Basic SIP Network Settings" is populated on the Aastra phones. - Phil -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Call-disconnect-upon-re-invite... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (7)
-
Andrew Cassidy
-
Brian Foster
-
Brian West
-
Michael Collins
-
Phil Quesinberry
-
PhilQ
-
Yiftach Golan