[OpenSIPS-Users] Force call to end
john.quick at smartvox.co.uk
Tue Jul 9 15:07:24 CEST 2013
Thanks for the suggestion. I had not considered the possibility of using the
MI. It's a good idea and should work. It should be possible to handle the
re-INVITE, send an event to an external app which can then use the MI to end
From: Jeff Pyle [mailto:jpyle at fidelityvoice.com]
Sent: 05 July 2013 16:06
To: john.quick at smartvox.co.uk; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Force call to end
Is there some way you could detect the condition, then trigger an event that
would force the dialog closed, as with the dlg_end_dlg MI function?
You would likely have to allow the reinvite transaction to first complete or
risk a 491 from the provider when you sent the BYE. Or, perhaps there's a
more heavy handed approach lurking in a custom B2BUA scenario where the
customer wouldn't have to see the reinvite at all.
On Fri, Jul 5, 2013 at 9:14 AM, John Quick <john.quick at smartvox.co.uk>
On outbound calls, when the remote callee hangs up, the carrier is sending a
re-INVITE (SDP a=sendonly) not a BYE.
I can easily detect this re-INVITE in OpenSIPS, but am not sure how best to
make it then end the call.
$rm is a read-only variable and I suspect it would be bad practice to strip
off the SDP and replace "INVITE" with "BYE".
Ideally, I would want OpenSIPS to send BYE's both upstream and down, as
happens when the timeout is reached in the Dialog module.
Users mailing list
Users at lists.opensips.org
Jeff Pyle <jpyle at fidelityvoice.com>
Director, Voice Engineering
Fidelity Voice and Data
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users