<div dir="ltr"><div><div><div>Well, PCMA and PCMU are included. Note this line:<br><br>m=audio 17262 RTP/AVP 8 0 101 13<br><br></div>8 = PCMA, 0 = PCMU<br><br></div><div>Not sure why there's no GSM in there but if you review the entire debug log for the call in question it may yield a clue.<br>
<br></div>FYI, IIRC this variable will give you what you are looking for on the extra SDP lines:<br><br><a href="https://wiki.freeswitch.org/wiki/Channel_Variables#verbose_sdp">https://wiki.freeswitch.org/wiki/Channel_Variables#verbose_sdp</a><br>
<br></div>-MC<br><div><div><div><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 10:48 AM, Ričardas Stoma <span dir="ltr"><<a href="mailto:ricardas.stoma@gmail.com" target="_blank">ricardas.stoma@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I have created the following extension:<div><br></div><div><div><div><extension name="my_test"></div>
<div> <condition></div><div> <action application="bridge" data="{absolute_codec_string='PCMA,PCMU,GSM'}sofia/external/<a href="mailto:1001@192.168.1.78" target="_blank">1001@192.168.1.78</a>"/></div>
<div> <action application="hangup"/></div><div> </condition></div><div></extension></div></div></div><div><br></div><div>then i call to this extension, freeswitch dials to <a href="mailto:1001@192.168.1.78" target="_blank">1001@192.168.1.78</a> and when i check the content of SDP, included in a SIP packet, i see something like this:</div>
<div><br></div><div><div>v=0</div><div>o=FreeSWITCH 1401972565 1401972566 IN IP4 192.168.1.65</div><div>s=FreeSWITCH</div><div>c=IN IP4 192.168.1.65</div><div>t=0 0</div><div>m=audio 17262 RTP/AVP 8 0 101 13</div><div>a=rtpmap:101 telephone-event/8000</div>
<div>a=fmtp:101 0-16</div><div>a=ptime:20</div></div><div><br></div><div>why my codecs from 'absolute_codec_string' are not included in SDP? I would expect to see these lines included:<br><br><div><div>a=rtpmap:8 PCMA/8000</div>
<div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:3 GSM/8000</div></div></div><div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><br><br><br>
</div></div></div></div></div></div></div></div></div>