[Freeswitch-users] uuid_media leaves behind zombie call

Chris Martineau Chris.Martineau at semafone.com
Thu Nov 15 20:08:43 MSK 2012


Hi,

I am trying to use uuid_media to switch in and out of the rtp stream and in essence it seems to work however I get some strange things happening.

The first thing is that when the re-invites go out, the a and the b legs get the codec list in a different order i.e. 0 8 3 to the a leg and 8 0 3 to the b leg!
If all the codecs are supported this forces a transcoding scenario as the a leg neg's pcmu and the b leg pcma! As this is done via the event socket and not the dialplan I cannot see what I am supposed to set to correct this behaviour ( the calls all start in media bypass mode so no codec neg is done at call start).
Any ideas why this should do this and how I can get round it? Setting the no transcoding variable has no effect on this.

The second thing is that if you go into the media path and then going out of it again and then clear down it seems to leave the a leg channel hungup in the system. Show channels lists the channel just sitting in CS_HANGUP state. In the log it says Locked, waiting on external entities?
Everything externally has cleared and wireshark shows a clean dialog with no resends of the BYE messages. Cleardown is from the a leg and FS has passed the BYE on to the b leg.
If you try to kill it with uuid_kill it says that the uuid does not exist? The only way I can clear it is to restart FS which on closing it hangs around with a sofia error saying waiting for 1 session.

If I just go into the media path and cleardown without coming out again the bridge process seems to be broken as any BYE message does not get passed through, requiring both ends to be cleared separately. Also no UNBRIDGE event is fired in this scenario which I suppose you would expect if it wasn't bridged, however rtp is flowing through as is signalling?

The same channel however is still left hanging.

I may be using this incorrectly or not preparing the environment however the info around this command is pretty basic and looks simple to use.

It is pretty critical for the application I am trying to build that this process works smoothly so any help you could offer would be greatly appreciated.

I have attached some debug logs.

Many thanks


Chris


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121115/200a2d22/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_uuid_media.log
Type: application/octet-stream
Size: 911803 bytes
Desc: freeswitch_uuid_media.log
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121115/200a2d22/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch_cleardown_in_media.log
Type: application/octet-stream
Size: 1110956 bytes
Desc: freeswitch_cleardown_in_media.log
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121115/200a2d22/attachment-0003.obj 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list