<div>&quot;m=audio 18646 RTP/AVP 0 8 101 13&quot;<br><br>That is the codec list.<br>  0 = PCMU (G711 u-law)<br>  8 = PCMA (G711 a-law)<br>  101 = DTMF RFC2833<br>  13 = Comfort Noise<br><br>Numbers 96-127 are dynamic. Anything else is static and defined by IANA (<a href="http://www.iana.org/assignments/rtp-parameters">http://www.iana.org/assignments/rtp-parameters</a>).<br>

<br>A dynamic payload type needs a rtpmap line to map the number to the codec name. That is not required for static payload types, because they have a preset rtpmap.<br><br>FreeSWITCH doesn&#39;t add the a=rtpmap lines for static types by default. The advantage of doing so is it makes your packets smaller - less bandwidth usage, and less likely to get a fragmented packet.<br>

<br>Some (very few) devices are broken though and require the rtpmap lines for all codecs. These have broken SIP implementations because the RFC states the rtpmap is optional for static types. There is a compatibility option if you&#39;re using one of those and really do require it, but changes are you don&#39;t: <a href="http://wiki.freeswitch.org/wiki/Variable_verbose_sdp">http://wiki.freeswitch.org/wiki/Variable_verbose_sdp</a><br>

<br>-Steve<br><br><br><br></div><div class="gmail_quote">On 25 May 2011 01:56, Liam Farr <span dir="ltr">&lt;<a href="mailto:liam@intersys.co.nz">liam@intersys.co.nz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,
<div><br></div><div>My outbound SIP invites are going out without a codec list? Could someone point me in the right direction on how to set / insert this?</div><div><br></div><div><br></div><div><div>send 972 bytes to udp/[1.2.3.4]:5060 at 00:28:52.144565:</div>


<div>   ------------------------------------------------------------------------</div><div>   INVITE <a href="http://sip:0800000000@1.2.3.4:5060" target="_blank">sip:0800000000@1.2.3.4:5060</a> SIP/2.0</div><div>   Via: SIP/2.0/UDP 9.8.7.6;rport;branch=z9hG4bK2QeQtFFa7Z6Hr</div>


<div>   Max-Forwards: 69</div><div>   From: &quot;Liam - Test&quot; &lt;<a href="mailto:sip%3A12345678@9.8.7.6" target="_blank">sip:12345678@9.8.7.6</a>&gt;;tag=ryFQea59e6Upe</div><div>   To: &lt;<a href="http://sip:0800000000@1.2.3.4:5060" target="_blank">sip:0800000000@1.2.3.4:5060</a>&gt;</div>


<div>   Call-ID: cec20463-0108-122f-689e-c99dbf5a2f43</div><div>   CSeq: 12805602 INVITE</div><div>   Contact: &lt;<a href="http://sip:12345678@9.8.7.6:5060" target="_blank">sip:12345678@9.8.7.6:5060</a>&gt;</div><div>   User-Agent: FreeSWITCH-mod_sofia/1.0.7-svn-exported</div>


<div>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY</div><div>   Supported: timer, precondition, path, replaces</div><div>   Allow-Events: talk, hold, refer</div><div>   Content-Type: application/sdp</div>


<div>   Content-Disposition: session</div><div>   Content-Length: 189</div><div>   X-FS-Support: update_display</div><div>   Remote-Party-ID: &quot;Liam - Test&quot; &lt;<a href="mailto:sip%3A12345678@9.8.7.6" target="_blank">sip:12345678@9.8.7.6</a>&gt;;party=calling;screen=yes;privacy=off</div>


<div><br></div><div>   v=0</div><div>   o=FreeSWITCH 1306264686 1306264687 IN IP4 9.8.7.6</div><div>   s=FreeSWITCH</div><div>   c=IN IP4 9.8.7.6</div><div>   t=0 0</div><div>   m=audio 18646 RTP/AVP 0 8 101 13</div><div>


   a=rtpmap:101 telephone-event/8000</div><div>   a=fmtp:101 0-16</div><div>   ------------------------------------------------------------------------</div></div><div><br></div><div><br></div><div>Thanks</div><div><br></div>

<font color="#888888">
<div>Liam</div>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>