[Freeswitch-dev] sipX consultative trasnfer to freeswitch Conference leaves a phantom channel
Hi freeswitchers, I was recently tasked to investigate an apparent bug in sipX IVR subsystem that involves consultative transfer. The bug can be replicated as follows: 1. Extensions 5001 and 5002 are registered to sipX. 2. Extension 65001 is configured as a conference room in freeswitch. 3. Extension 5001 calls 5002 and puts 5002 on hold. 4. Extension 5001 calls 65001 and puts 65001 on hold. 5. Extention 5001 sends REFER with replaces to 5002 towards 65001. 6. Extension 5002 sends INVITE with replaces to 65001 At this point, signaling will be processed as normal. Notifications from 5002 completing the transfer looks OK and BYE was sent by 5001 to tear down the original call to which freeswitch politely responded with 200 Ok. Audio between 5002 and and 65001 conference is bidirectional. However, looking at the status of the conference bridge, there are still two participants active. The old channel that 5001 opened is still there. This would eventually timeout after a period of time probably because of media inactivity. If you think this is due to the mishandling or misbehavior of the event socket implemention of the IVR. Eg: It should manually destroy the channel after receiving a "channel replaced" event from freeswitch, I would appreciate pointers how it should be done. If you think this is a bug in freeswitch I am willing to get it patched if someone already familiar with the code point me to the right places to look at. (I am new to freeswitch but I'm not new to C nor SIP). Thanks in advance for any help. Joegen
Hi Brian, I am testing against git master branch of freeswitch. However the freeswitch RPM that is bundled with sipX 4.2 is showing the same behavior. Joegen On Saturday, 25 September, 2010 09:00 AM, Brian West wrote:
Are you on the very latest code or is this FreeSWITCH that ships with SIPx?
/b
On Sep 24, 2010, at 6:40 PM, Joegen E. Baclor wrote:
Hi freeswitchers,
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Anyone? I just need some guidance. I'd be happy with just a line number where to put my breakpoints if everyone's busy. :-) On Saturday, 25 September, 2010 09:49 AM, Joegen E. Baclor wrote:
Hi Brian,
I am testing against git master branch of freeswitch. However the freeswitch RPM that is bundled with sipX 4.2 is showing the same behavior.
Joegen
On Saturday, 25 September, 2010 09:00 AM, Brian West wrote:
Are you on the very latest code or is this FreeSWITCH that ships with SIPx?
/b
On Sep 24, 2010, at 6:40 PM, Joegen E. Baclor wrote:
Hi freeswitchers,
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
A sip trace with debug log on Jira would be a good start... see wiki.freeswitch.org on how to report bugs. /b On Sep 27, 2010, at 11:43 AM, Joegen E. Baclor wrote:
Anyone? I just need some guidance. I'd be happy with just a line number where to put my breakpoints if everyone's busy. :-)
On Saturday, 25 September, 2010 09:49 AM, Joegen E. Baclor wrote:
Hi Brian,
I am testing against git master branch of freeswitch. However the freeswitch RPM that is bundled with sipX 4.2 is showing the same behavior.
Joegen
can you get a full debug including inline siptrace console loglevel debug sofia global siptrace on On Mon, Sep 27, 2010 at 11:43 AM, Joegen E. Baclor <joegen@opensipstack.org> wrote:
Anyone? I just need some guidance. I'd be happy with just a line number where to put my breakpoints if everyone's busy. :-)
On Saturday, 25 September, 2010 09:49 AM, Joegen E. Baclor wrote:
Hi Brian,
I am testing against git master branch of freeswitch. However the freeswitch RPM that is bundled with sipX 4.2 is showing the same behavior.
Joegen
On Saturday, 25 September, 2010 09:00 AM, Brian West wrote:
Are you on the very latest code or is this FreeSWITCH that ships with SIPx?
/b
On Sep 24, 2010, at 6:40 PM, Joegen E. Baclor wrote:
Hi freeswitchers,
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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
Hi Anthony and Brian, Thanks for picking up my mail. I did not open a jira issue just yet because as soon as I learned how to enable sofia logging, it became apparent that sipX is not sending the BYE to freeswitch. I am still investigating this internally. However, if you want to see the logs for my test, I have dumped it to pastebin here: http://pastebin.freeswitch.org/pastebin.php?dl=14041 I have sanitized the domain and IP a bit. Joegen On Tuesday, 28 September, 2010 01:07 AM, Anthony Minessale wrote:
can you get a full debug including inline siptrace
console loglevel debug sofia global siptrace on
On Mon, Sep 27, 2010 at 11:43 AM, Joegen E. Baclor <joegen@opensipstack.org> wrote:
Anyone? I just need some guidance. I'd be happy with just a line number where to put my breakpoints if everyone's busy. :-)
On Saturday, 25 September, 2010 09:49 AM, Joegen E. Baclor wrote:
Hi Brian,
I am testing against git master branch of freeswitch. However the freeswitch RPM that is bundled with sipX 4.2 is showing the same behavior.
Joegen
On Saturday, 25 September, 2010 09:00 AM, Brian West wrote:
Are you on the very latest code or is this FreeSWITCH that ships with SIPx?
/b
On Sep 24, 2010, at 6:40 PM, Joegen E. Baclor wrote:
Hi freeswitchers,
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi, After reviewing the correct call flow for consultative transfer, I realized that sipX only needs to relay a BYE to the referrer and not to freeswitch who's dialog is being replaced. So it is correct that sipX does not send a BYE to freeswitch. Freeswitch should send a BYE to the dialog that was replaced by the new INVITE and should automatically tear down the channel. I think this is not not happening. Joegen On Tuesday, 28 September, 2010 02:50 PM, Joegen E. Baclor wrote:
Hi Anthony and Brian,
Thanks for picking up my mail. I did not open a jira issue just yet because as soon as I learned how to enable sofia logging, it became apparent that sipX is not sending the BYE to freeswitch. I am still investigating this internally. However, if you want to see the logs for my test, I have dumped it to pastebin here: http://pastebin.freeswitch.org/pastebin.php?dl=14041
I have sanitized the domain and IP a bit.
Joegen
On Tuesday, 28 September, 2010 01:07 AM, Anthony Minessale wrote:
can you get a full debug including inline siptrace
console loglevel debug sofia global siptrace on
On Mon, Sep 27, 2010 at 11:43 AM, Joegen E. Baclor <joegen@opensipstack.org> wrote:
Anyone? I just need some guidance. I'd be happy with just a line number where to put my breakpoints if everyone's busy. :-)
On Saturday, 25 September, 2010 09:49 AM, Joegen E. Baclor wrote:
Hi Brian,
I am testing against git master branch of freeswitch. However the freeswitch RPM that is bundled with sipX 4.2 is showing the same behavior.
Joegen
On Saturday, 25 September, 2010 09:00 AM, Brian West wrote:
Are you on the very latest code or is this FreeSWITCH that ships with SIPx?
/b
On Sep 24, 2010, at 6:40 PM, Joegen E. Baclor wrote:
Hi freeswitchers,
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
joejen, your best is IRC freenode #freeswitch see us there thank you Le 27/09/2010 18:43, Joegen E. Baclor a écrit :
Anyone? I just need some guidance. I'd be happy with just a line number where to put my breakpoints if everyone's busy. :-)
On Saturday, 25 September, 2010 09:49 AM, Joegen E. Baclor wrote:
Hi Brian,
I am testing against git master branch of freeswitch. However the freeswitch RPM that is bundled with sipX 4.2 is showing the same behavior.
Joegen
On Saturday, 25 September, 2010 09:00 AM, Brian West wrote:
Are you on the very latest code or is this FreeSWITCH that ships with SIPx?
/b
On Sep 24, 2010, at 6:40 PM, Joegen E. Baclor wrote:
Hi freeswitchers,
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Meftah Tayeb Sales Manager Ove Telecom direct: +13477595883 INUM: +883510001289101 MSN: sqlsrvx86@hotmail.com yahoo: vsdevx86 OVETEL USA: +1-212-401-0707 OVETEL UK: +44-20-34110486 OVETEL Ukraine: +380-44-3607309 OVETEL Jordan: +962-6-2508905 OVETEL South Africa: +27-11-4613345 http://www.ovetel.com follow us on Twitter for the latest price updates: http://twitter.com/ovetel
participants (4)
-
Anthony Minessale
-
Brian West
-
Joegen E. Baclor
-
Meftah Tayeb