<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<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 name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Sorry, the RFC says that a= is not mandatory, m= is enough. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I was just confused why FS in some scenario puts it and in other doesn’t, despite using only G711@8000.</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-right:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Alex Massover <br><b>Sent:</b> <span lang=HE dir=RTL>יום</span><span dir=LTR></span><span dir=LTR></span> <span lang=HE dir=RTL>ה</span><span dir=LTR></span><span dir=LTR></span> 25 <span lang=HE dir=RTL>אוגוסט</span><span dir=LTR></span><span dir=LTR></span> 2011 12:26<br><b>To:</b> 'freeswitch-users@lists.freeswitch.org'<br><b>Subject:</b> Forcing CN offer<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m working on the following scenarios:<o:p></o:p></p><p class=MsoNormal>scenario 1: A <span style='font-family:Wingdings'>à</span> FS <span style='font-family:Wingdings'>à</span> B<o:p></o:p></p><p class=MsoNormal>scenario 2: C <span style='font-family:Wingdings'>à</span> FS <span style='font-family:Wingdings'>à</span> A<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Where A supports CN (a=rtpmap:13 CN/8000) and requires CN negotiation, and B and C do not support and aren’t able to negotiate it.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I successfully implemented scenario 1, CN is negotiated between A party and FS, and not negotiated between FS and B.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>But scenario 2 doesn’t work for me! When C doesn’t offer CN in INVITE towards FS, FS also doesn’t offer CN in SDP in INVITE towards A. <o:p></o:p></p><p class=MsoNormal>And nothing helps, tried all the combination of VAD options. Gateway A is in the same internal sip profile in both scenarios.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is the SDP in INVITE from C to FS:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> Media Description, name and address (m): audio 30224 RTP/AVP 0 8 18 101<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): rtpmap:0 PCMU/8000<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): rtpmap:8 PCMA/8000<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): rtpmap:18 G729/8000<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): fmtp:18 annexb=no<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): rtpmap:101 telephone-event/8000<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): fmtp:101 0-16<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): silenceSupp:off - - - -<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): ptime:20<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): sendrecv<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And this is the SDP from FS towards A:<o:p></o:p></p><p class=MsoNormal> Media Description, name and address (m): audio 23564 RTP/AVP 0 8 101 13<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): rtpmap:101 telephone-event/8000<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): fmtp:101 0-16<o:p></o:p></p><p class=MsoNormal> Media Attribute (a): ptime:20<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>FS even puts 13 in m= attribute, but doesn’t add a= attribute for rtpmap:13.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is that a bug?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>--<o:p></o:p></p><p class=MsoNormal>Best Regards<o:p></o:p></p><p class=MsoNormal>Alex Massover.<o:p></o:p></p></div></div><br><br>
This mail was sent via Mail-SeCure System.<br>
</body></html>