<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This mailing list is to discuss issues developing FreeSWITCH code and is not appropriate for this question.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 20, 2015, at 12:10 AM, Dhrupalkumar Tilava &lt;<a href="mailto:dhrupaler.tilava@yahoo.com" class="">dhrupaler.tilava@yahoo.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 13px;" class=""><div dir="ltr" id="yui_3_16_0_1_1426823820072_9184" class=""><span id="yui_3_16_0_1_1426823820072_9413" class="">Hi All,</span></div><div id="yui_3_16_0_1_1426823820072_9265" dir="ltr" class=""><br class=""><span class=""></span></div><div id="yui_3_16_0_1_1426823820072_9266" dir="ltr" class=""><span id="yui_3_16_0_1_1426823820072_9412" class="">I am doing the call from the A Endpoint to B Endpoint using FreeSwitch<br class=""></span></div><div id="yui_3_16_0_1_1426823820072_9363" dir="ltr" class=""><br class=""><span class=""></span></div><div id="yui_3_16_0_1_1426823820072_9364" dir="ltr" class=""><span id="yui_3_16_0_1_1426823820072_9411" class="">In Between When FreeSwitch Get the INVITE Request from the A Endpoint, <br class=""></span></div><div id="yui_3_16_0_1_1426823820072_9403" dir="ltr" class=""><span id="yui_3_16_0_1_1426823820072_9432" class="">I am using the following absolute_codec_string.</span></div><div id="yui_3_16_0_1_1426823820072_9365" dir="ltr" class=""><br class=""><span class=""></span></div><div id="yui_3_16_0_1_1426823820072_9366" dir="ltr" class=""><span id="yui_3_16_0_1_1426823820072_9409" class=""><b id="yui_3_16_0_1_1426823820072_9698" class="">absolute_codec_string = "PCMU,PCMA,G726-40,G726-32,G726-24,G726-16,G729,GSM,L16,ILBC,G723"</b></span></div><div id="yui_3_16_0_1_1426823820072_9185" class=""><div id="yui_3_16_0_1_1426823820072_9699" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9450" dir="ltr" class="">FreeSwitch is also sending the INVITE Request to B Leg with the codecs defining in the absolute_codec_string. <br class=""></div><div id="yui_3_16_0_1_1426823820072_9553" dir="ltr" class="">Which is as below.</div><div id="yui_3_16_0_1_1426823820072_9749" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9705" dir="ltr" class="">&nbsp;&nbsp; 592f8a31-4978-1233-90b2-d4ae52cde95f] send 1291 bytes to udp/[192.168.14.68]:5060 at 07:48:32.929086:<br style="" class="">&nbsp;&nbsp; ------------------------------------------------------------------------<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] INVITE <a href="sip:12191121212@192.168.14.68:5060" class="">sip:12191121212@192.168.14.68:5060</a> SIP/2.0<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Via: SIP/2.0/UDP 192.168.2.165;rport;branch=z9hG4bK4mtN7XDy2Xg7B<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Max-Forwards: 68<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] From: "dhrupla" &lt;<a href="sip:14191121212@192.168.2.165" class="">sip:14191121212@192.168.2.165</a>&gt;;tag=4cHc3S7N80tpm<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] To: &lt;<a href="sip:12191121212@192.168.14.68:5060" class="">sip:12191121212@192.168.14.68:5060</a>&gt;<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Call-ID: 592f8a31-4978-1233-90b2-d4ae52cde95f<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] CSeq: 73082792 INVITE<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Contact: &lt;<a href="sip:iMAX_SS@192.168.2.165:5060" class="">sip:iMAX_SS@192.168.2.165:5060</a>&gt;<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] User-Agent: iMax_SS<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER,&nbsp;&nbsp; NOTIFY<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Supported: precondition, path, replaces<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Allow-Events: talk, hold, conference, refer<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Type: application/sdp<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Disposition: session<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Length: 653<br style="" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9552" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9512" dir="ltr" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] v=0<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] o=iMax_SS 1426824519 1426824521 IN IP4 192.168.2.165<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] s=iMax_SS<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] c=IN IP4 192.168.2.212<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] t=0 0<br style="" class=""><b id="yui_3_16_0_1_1426823820072_9665" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] m=audio 13193 RTP/AVP 0 8 98 99 100 102 18 3 103 104 101</b><br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:0 PCMU/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:8 PCMA/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:98 G726-40/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:99 G726-32/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:100 G726-24/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:102 G726-16/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:18 G729/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:3 GSM/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:103 L16/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:104 iLBC/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:104 mode=30<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:101 telephone-event/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:101 0-16<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=silenceSupp:off - - - -<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=ptime:20<br style="" class="">&nbsp;<b id="yui_3_16_0_1_1426823820072_9568" class="">&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] m=audio 13193 RTP/AVP 4 101<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:4 G723/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:101 telephone-event/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:101 0-16<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=silenceSupp:off - - - -<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=ptime:30</b><br style="" class=""></div><div id="yui_3_16_0_1_1426823820072_9595" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9596" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9597" dir="ltr" class=""><b id="yui_3_16_0_1_1426823820072_9686" class="">But Here Strange Behaviour is with G723 Codec. As you can see in SDP there is a separate "m=" Field for the G723 Codec.</b></div><div id="yui_3_16_0_1_1426823820072_9656" dir="ltr" class=""><b id="yui_3_16_0_1_1426823820072_9697" class="">This SDP is wrong.</b></div><div id="yui_3_16_0_1_1426823820072_9657" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9820" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9655" dir="ltr" class="">But when I am using&nbsp; the following absolute_codec_string, I am getting the proper INVITE with proper SDP. (Removing G723 Codec)<br class=""></div><div id="yui_3_16_0_1_1426823820072_9736" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9735" dir="ltr" class=""><span style="" class="" id="yui_3_16_0_1_1426823820072_9409"><b style="" class="" id="yui_3_16_0_1_1426823820072_9698">absolute_codec_string = "PCMU,PCMA,G726-40,G726-32,G726-24,G726-16,G729,GSM,L16,ILBC"</b></span></div><div id="yui_3_16_0_1_1426823820072_9752" dir="ltr" class=""><br class=""><span style="" class="" id="yui_3_16_0_1_1426823820072_9409"></span></div><div id="yui_3_16_0_1_1426823820072_9754" dir="ltr" class=""><span style="" class="" id="yui_3_16_0_1_1426823820072_9409"><b style="" class="" id="yui_3_16_0_1_1426823820072_9698"><br class=""></b></span></div><div id="yui_3_16_0_1_1426823820072_9638" dir="ltr" class="">&nbsp; 592f8a31-4978-1233-90b2-d4ae52cde95f] send 1291 bytes to udp/[192.168.14.68]:5060 at 07:48:32.929086:<br style="" class="">&nbsp;&nbsp; ------------------------------------------------------------------------<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] INVITE <a href="sip:12191121212@192.168.14.68:5060" class="">sip:12191121212@192.168.14.68:5060</a> SIP/2.0<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Via: SIP/2.0/UDP 192.168.2.165;rport;branch=z9hG4bK4mtN7XDy2Xg7B<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Max-Forwards: 68<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] From: "dhrupla" &lt;<a href="sip:14191121212@192.168.2.165" class="">sip:14191121212@192.168.2.165</a>&gt;;tag=4cHc3S7N80tpm<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] To: &lt;<a href="sip:12191121212@192.168.14.68:5060" class="">sip:12191121212@192.168.14.68:5060</a>&gt;<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Call-ID: 592f8a31-4978-1233-90b2-d4ae52cde95f<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] CSeq: 73082792 INVITE<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Contact: &lt;<a href="sip:iMAX_SS@192.168.2.165:5060" class="">sip:iMAX_SS@192.168.2.165:5060</a>&gt;<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] User-Agent: iMax_SS<br style="" class="">&nbsp;&nbsp;
 [592f8a31-4978-1233-90b2-d4ae52cde95f] Allow: INVITE, ACK, BYE, CANCEL,
 OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER,&nbsp;&nbsp; NOTIFY<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Supported: precondition, path, replaces<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Allow-Events: talk, hold, conference, refer<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Type: application/sdp<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Disposition: session<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Length: 653<br style="" class=""><br style="" class=""></div><div style="" class="" id="yui_3_16_0_1_1426823820072_9552" dir="ltr"><br style="" class=""></div>&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] v=0<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] o=iMax_SS 1426824519 1426824521 IN IP4 192.168.2.165<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] s=iMax_SS<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] c=IN IP4 192.168.2.212<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] t=0 0<br style="" class=""><b style="" class="" id="yui_3_16_0_1_1426823820072_9665">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] m=audio 13193 RTP/AVP 0 8 98 99 100 102 18 3 103 104 101</b><br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:0 PCMU/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:8 PCMA/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:98 G726-40/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:99 G726-32/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:100 G726-24/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:102 G726-16/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:18 G729/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:3 GSM/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:103 L16/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:104 iLBC/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:104 mode=30<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:101 telephone-event/8000<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:101 0-16<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=silenceSupp:off - - - -<br style="" class="">&nbsp;&nbsp; [592f8a31-4978-1233-90b2-d4ae52cde95f] a=ptime:20<div id="yui_3_16_0_1_1426823820072_9639" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9511" class="">&nbsp;</div><div dir="ltr" id="yui_3_16_0_1_1426823820072_9818" class="">So, I am facing the problem when I am using the G723 Codec in the absolute_codec_string.</div><div id="yui_3_16_0_1_1426823820072_9841" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9842" dir="ltr" class="">Please help me to resolve this issue.</div><div id="yui_3_16_0_1_1426823820072_9843" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9844" dir="ltr" class="">I am using the freeswitch in the Proxy Mode.</div><div id="yui_3_16_0_1_1426823820072_9855" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9879" dir="ltr" class="">Thank you for your kind help<br class=""></div></div><div id="yui_3_16_0_1_1426823820072_9188" class="signature"><div id="yui_3_16_0_1_1426823820072_9878" class=""><br class=""></div><div id="yui_3_16_0_1_1426823820072_9877" dir="ltr" class="">Regards.<br class=""></div> Dhrupal Tilava<br class=""></div></div></div></div></blockquote></div><br class=""></div></body></html>