<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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!<o:p></o:p></p>
<p class="MsoNormal">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).<o:p></o:p></p>
<p class="MsoNormal">Any ideas why this should do this and how I can get round it? Setting the no transcoding variable has no effect on this.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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?<o:p></o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The same channel however is still left hanging.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have attached some debug logs.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Chris<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>