<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div dir="ltr" id="yui_3_16_0_1_1426823820072_9184"><span id="yui_3_16_0_1_1426823820072_9413">Hi All,</span></div><div id="yui_3_16_0_1_1426823820072_9265" dir="ltr"><br><span></span></div><div id="yui_3_16_0_1_1426823820072_9266" dir="ltr"><span id="yui_3_16_0_1_1426823820072_9412">I am doing the call from the A Endpoint to B Endpoint using FreeSwitch<br></span></div><div id="yui_3_16_0_1_1426823820072_9363" dir="ltr"><br><span></span></div><div id="yui_3_16_0_1_1426823820072_9364" dir="ltr"><span id="yui_3_16_0_1_1426823820072_9411">In Between When FreeSwitch Get the INVITE Request from the A Endpoint, <br></span></div><div id="yui_3_16_0_1_1426823820072_9403" dir="ltr"><span id="yui_3_16_0_1_1426823820072_9432">I am using the following absolute_codec_string.</span></div><div id="yui_3_16_0_1_1426823820072_9365" dir="ltr"><br><span></span></div><div id="yui_3_16_0_1_1426823820072_9366" dir="ltr"><span id="yui_3_16_0_1_1426823820072_9409"><b 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,G723"</b></span></div><div id="yui_3_16_0_1_1426823820072_9185"><div id="yui_3_16_0_1_1426823820072_9699"><br></div><div id="yui_3_16_0_1_1426823820072_9450" dir="ltr">FreeSwitch is also sending the INVITE Request to B Leg with the codecs defining in the absolute_codec_string. <br></div><div id="yui_3_16_0_1_1426823820072_9553" dir="ltr">Which is as below.</div><div id="yui_3_16_0_1_1426823820072_9749" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9705" dir="ltr"> 592f8a31-4978-1233-90b2-d4ae52cde95f] send 1291 bytes to udp/[192.168.14.68]:5060 at 07:48:32.929086:<br style="" class=""> ------------------------------------------------------------------------<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] INVITE sip:12191121212@192.168.14.68:5060 SIP/2.0<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Via: SIP/2.0/UDP 192.168.2.165;rport;branch=z9hG4bK4mtN7XDy2Xg7B<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Max-Forwards: 68<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] From: "dhrupla" <sip:14191121212@192.168.2.165>;tag=4cHc3S7N80tpm<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] To: <sip:12191121212@192.168.14.68:5060><br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Call-ID: 592f8a31-4978-1233-90b2-d4ae52cde95f<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] CSeq: 73082792 INVITE<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Contact: <sip:iMAX_SS@192.168.2.165:5060><br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] User-Agent: iMax_SS<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Supported: precondition, path, replaces<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Allow-Events: talk, hold, conference, refer<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Type: application/sdp<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Disposition: session<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Length: 653<br style="" class=""><br></div><div id="yui_3_16_0_1_1426823820072_9552" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9512" dir="ltr"> [592f8a31-4978-1233-90b2-d4ae52cde95f] v=0<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] o=iMax_SS 1426824519 1426824521 IN IP4 192.168.2.165<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] s=iMax_SS<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] c=IN IP4 192.168.2.212<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] t=0 0<br style="" class=""><b id="yui_3_16_0_1_1426823820072_9665"> [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=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:0 PCMU/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:8 PCMA/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:98 G726-40/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:99 G726-32/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:100 G726-24/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:102 G726-16/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:18 G729/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:3 GSM/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:103 L16/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:104 iLBC/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:104 mode=30<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:101 telephone-event/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:101 0-16<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=silenceSupp:off - - - -<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=ptime:20<br style="" class=""> <b id="yui_3_16_0_1_1426823820072_9568"> [592f8a31-4978-1233-90b2-d4ae52cde95f] m=audio 13193 RTP/AVP 4 101<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:4 G723/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:101 telephone-event/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:101 0-16<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=silenceSupp:off - - - -<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=ptime:30</b><br style="" class=""></div><div id="yui_3_16_0_1_1426823820072_9595" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9596" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9597" dir="ltr"><b id="yui_3_16_0_1_1426823820072_9686">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"><b id="yui_3_16_0_1_1426823820072_9697">This SDP is wrong.</b></div><div id="yui_3_16_0_1_1426823820072_9657" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9820" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9655" dir="ltr">But when I am using the following absolute_codec_string, I am getting the proper INVITE with proper SDP. (Removing G723 Codec)<br></div><div id="yui_3_16_0_1_1426823820072_9736" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9735" dir="ltr"><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"><br><span style="" class="" id="yui_3_16_0_1_1426823820072_9409"></span></div><div id="yui_3_16_0_1_1426823820072_9754" dir="ltr"><span style="" class="" id="yui_3_16_0_1_1426823820072_9409"><b style="" class="" id="yui_3_16_0_1_1426823820072_9698"><br></b></span></div><div id="yui_3_16_0_1_1426823820072_9638" dir="ltr"> 592f8a31-4978-1233-90b2-d4ae52cde95f] send 1291 bytes to udp/[192.168.14.68]:5060 at 07:48:32.929086:<br style="" class=""> ------------------------------------------------------------------------<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] INVITE sip:12191121212@192.168.14.68:5060 SIP/2.0<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Via: SIP/2.0/UDP 192.168.2.165;rport;branch=z9hG4bK4mtN7XDy2Xg7B<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Max-Forwards: 68<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] From: "dhrupla" <sip:14191121212@192.168.2.165>;tag=4cHc3S7N80tpm<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] To: <sip:12191121212@192.168.14.68:5060><br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Call-ID: 592f8a31-4978-1233-90b2-d4ae52cde95f<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] CSeq: 73082792 INVITE<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Contact: <sip:iMAX_SS@192.168.2.165:5060><br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] User-Agent: iMax_SS<br style="" class="">
[592f8a31-4978-1233-90b2-d4ae52cde95f] Allow: INVITE, ACK, BYE, CANCEL,
OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Supported: precondition, path, replaces<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Allow-Events: talk, hold, conference, refer<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Type: application/sdp<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] Content-Disposition: session<br style="" class=""> [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> [592f8a31-4978-1233-90b2-d4ae52cde95f] v=0<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] o=iMax_SS 1426824519 1426824521 IN IP4 192.168.2.165<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] s=iMax_SS<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] c=IN IP4 192.168.2.212<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] t=0 0<br style="" class=""><b style="" class="" id="yui_3_16_0_1_1426823820072_9665"> [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=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:0 PCMU/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:8 PCMA/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:98 G726-40/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:99 G726-32/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:100 G726-24/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:102 G726-16/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:18 G729/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:3 GSM/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:103 L16/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:104 iLBC/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:104 mode=30<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=rtpmap:101 telephone-event/8000<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=fmtp:101 0-16<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=silenceSupp:off - - - -<br style="" class=""> [592f8a31-4978-1233-90b2-d4ae52cde95f] a=ptime:20<div id="yui_3_16_0_1_1426823820072_9639" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9511"> </div><div dir="ltr" id="yui_3_16_0_1_1426823820072_9818">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"><br></div><div id="yui_3_16_0_1_1426823820072_9842" dir="ltr">Please help me to resolve this issue.</div><div id="yui_3_16_0_1_1426823820072_9843" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9844" dir="ltr">I am using the freeswitch in the Proxy Mode.</div><div id="yui_3_16_0_1_1426823820072_9855" dir="ltr"><br></div><div id="yui_3_16_0_1_1426823820072_9879" dir="ltr">Thank you for your kind help<br></div></div><div id="yui_3_16_0_1_1426823820072_9188" class="signature"><div id="yui_3_16_0_1_1426823820072_9878"><br></div><div id="yui_3_16_0_1_1426823820072_9877" dir="ltr">Regards.<br></div> Dhrupal Tilava<br> <br></div></div></body></html>