<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>bu i have set the codec in dialpeer of VOIP gateway<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Kristian Kielhofner &lt;kris@kriskinc.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, June 13, 2012 1:40 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] how to use codec g729 on freeswitch ?<br> </font> </div> <br>Your Cisco gateway doesn't support G729.&nbsp; Check your
 codec-list<br>configuration in IOS.<br><br>On Tue, Jun 12, 2012 at 12:06 AM, Samira Mh &lt;<a ymailto="mailto:saami_mh@ymail.com" href="mailto:saami_mh@ymail.com">saami_mh@ymail.com</a>&gt; wrote:<br>&gt; thansk for your reply,<br>&gt; it is kind of you to help me..<br>&gt; please let me paste myconfigurations files here;<br>&gt; 1-the configuration &nbsp;file<br>&gt; /usr/local/freeswitch/conf/dialplan/default/001_luacallduration.xml &nbsp;is like<br>&gt; this:<br>&gt;<br>&gt; &lt;include&gt;<br>&gt; &nbsp; &lt;extension name="mainmenuvodsl"&gt;<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;condition field="destination_number"<br>&gt; expression="^(00|\+)?(\d{5}.*)$" break="never"&gt;<br>&gt; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="odbc_query" data="select cash as<br>&gt; cashvalue from accounts where contractid like '${nibble_account}';"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &lt;action application="log" data="INFO The value of cashvalue<br>&gt; is ${cashvalue}" /&gt;<br>&gt; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="lua" data="checkcash.lua ${cashvalue}"<br>&gt; /&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="log" data="INFO The value of<br>&gt; nibble_account is &nbsp;${nibble_account}"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="log" data="INFO The value of<br>&gt; nibble_rate [before] is &nbsp;${nibble_rate}"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- RateList Context --&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="lua" data="checkzeroplus.lua<br>&gt; ${destination_number:0:2} ${destination_number:0:1}" /&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action
 application="execute_extension"<br>&gt; data="${destination_number} XML ratelist"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="log" data="INFO The value of<br>&gt; nibble_rate [after] is ${nibble_rate}"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!-- Check Nibble_rate --&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="lua" data="checknibblerate.lua<br>&gt; ${nibble_rate}" /&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="set"<br>&gt; data="divvalue=${expr(floor((${cashvalue}/${nibble_rate}))}" /&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="set"<br>&gt; data="modvalue=${expr(mod(${cashvalue},${nibble_rate}))}" /&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="lua" data="checktime.lua
 ${divvalue}<br>&gt; ${modvalue}" /&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&lt;!-- &nbsp;Check ZeroZero , Plus &nbsp;--&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&lt;action application="lua" data="checkzeroplus.lua<br>&gt; ${destination_number:0:2} ${destination_number:0:1}" /&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Making Calls &nbsp; --&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="odbc_query" data="select callerid &nbsp;as<br>&gt; effective_caller_id_number from accounts where contractid like<br>&gt; '${nibble_account}';"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="log" data="INFO &nbsp;callerid for Outbound<br>&gt; calls ${effective_caller_id_number}"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;action
 application="set"<br>&gt; data="ignore_early_media=true"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="answer"/&gt; &nbsp;--&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="enable_heartbeat"/&gt;<br>&gt;<br>&gt; &lt;!-- &lt;param name="disable-transcoding" value="true"/&gt; --&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &nbsp; &nbsp;&lt;action application="export"<br>&gt; data="nolocal:absolute_codec_string=G729,PCMU"/&gt; --&gt;<br>&gt; &lt;!-- &nbsp;&lt;action application="set" data="bridge_early_media=true"/&gt; &nbsp;--&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- &lt;action application="set" data="proxy_media=true"/&gt; --&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="bridge"<br>&gt; data="sofia/gateway/cisco/140112${destination_number}"/&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &lt;!-- &lt;action application="bridge"<br>&gt; data="sofia/gateway/mainasterisk/${destination_number}"/&gt; &nbsp;--&gt;<br>&gt; &lt;!-- &nbsp;&lt;action application="bridge"<br>&gt; data="sofia/gateway/test/${destination_number}"/&gt; &nbsp;--&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/condition&gt;<br>&gt;<br>&gt; &nbsp;&lt;/extension&gt;<br>&gt; &lt;/include&gt;<br>&gt;<br>&gt; 2-yes, i have enabled &nbsp;"inbound-late-negotiation"&nbsp;in the<br>&gt; (/usr/local/freeswitch/conf/sip_profiles/internal.xml) as follow:<br>&gt; &nbsp;&lt;param name="inbound-late-negotiation" value="true"/&gt;<br>&gt;<br>&gt;<br>&gt; 3-the issue of sofia status:<br>&gt; &nbsp;external::cisco &nbsp; &nbsp; &nbsp; gateway &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sip:register:false@85.15.0.154<br>&gt; &nbsp; &nbsp;NOREG<br>&gt;<br>&gt;<br>&gt; 4-also , the configuration file for codecs are as follow<br>&gt; :/usr/local/freeswitch/conf/vars.xml<br>&gt;<br>&gt;
 &lt;X-PRE-PROCESS cmd="set"<br>&gt; data="global_codec_prefs=G729,PCMU,PCMA,G7221@32000h,G7221@16000h,G722,GSM"/&gt;<br>&gt;<br>&gt; &lt;X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729"/&gt;<br>&gt;<br>&gt; 5- the mod_g729 was loaded<br>&gt;<br>&gt; 6-i have enabled the siptrace:<br>&gt; &nbsp;sofia profile external siptrace on:<br>&gt; the siptrace outpout as follow:<br>&gt;<br>&gt; send 1042 bytes to udp/[85.15.0.154]:5060 at 03:53:07.448136:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;INVITE sip:140112971507247227@85.15.0.154 SIP/2.0<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS<br>&gt; &nbsp; &nbsp;Max-Forwards: 69<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=62QN1XNSF6rvD<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;<br>&gt; &nbsp; &nbsp;Call-ID:
 f61cf067-2ee4-1230-0cad-0050569414f9<br>&gt; &nbsp; &nbsp;CSeq: 29400529 INVITE<br>&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+cisco@192.168.10.70:5080;transport=udp;gw=cisco&gt;<br>&gt; &nbsp; &nbsp;User-Agent: FreeSWITCH-mod_sofia/1.2.0-rc2<br>&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,<br>&gt; REGISTER, REFER, NOTIFY<br>&gt; &nbsp; &nbsp;Supported: timer, precondition, path, replaces<br>&gt; &nbsp; &nbsp;Allow-Events: talk, hold, refer<br>&gt; &nbsp; &nbsp;Content-Type: application/sdp<br>&gt; &nbsp; &nbsp;Content-Disposition: session<br>&gt; &nbsp; &nbsp;Content-Length: 234<br>&gt; &nbsp; &nbsp;X-FS-Support: update_display,send_info<br>&gt; &nbsp; &nbsp;Remote-Party-ID: "1000"<br>&gt; &lt;sip:1000@85.15.0.154&gt;;party=calling;screen=yes;privacy=off<br>&gt;<br>&gt; &nbsp; &nbsp;v=0<br>&gt; &nbsp; &nbsp;o=FreeSWITCH 1339446571 1339446572 IN IP4 192.168.10.70<br>&gt; &nbsp; &nbsp;s=FreeSWITCH<br>&gt; &nbsp; &nbsp;c=IN
 IP4 192.168.10.70<br>&gt; &nbsp; &nbsp;t=0 0<br>&gt; &nbsp; &nbsp;m=audio 26616 RTP/AVP 9 0 8 18 3 101 13<br>&gt; &nbsp; &nbsp;a=fmtp:18 annexb=yes<br>&gt; &nbsp; &nbsp;a=rtpmap:101 telephone-event/8000<br>&gt; &nbsp; &nbsp;a=fmtp:101 0-16<br>&gt; &nbsp; &nbsp;a=ptime:20<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; recv 410 bytes from udp/[85.15.0.154]:5060 at 03:53:07.463921:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;SIP/2.0 100 Trying<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=62QN1XNSF6rvD<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;;tag=45785134-1BDE<br>&gt; &nbsp; &nbsp;Date: Tue, 12 Jun 2012 03:53:15 GMT<br>&gt; &nbsp; &nbsp;Call-ID:
 f61cf067-2ee4-1230-0cad-0050569414f9<br>&gt; &nbsp; &nbsp;Server: Cisco-SIPGateway/IOS-12.x<br>&gt; &nbsp; &nbsp;CSeq: 29400529 INVITE<br>&gt; &nbsp; &nbsp;Allow-Events: telephone-event<br>&gt; &nbsp; &nbsp;Content-Length: 0<br>&gt;<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; recv 927 bytes from udp/[85.15.0.154]:5060 at 03:53:11.004804:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;SIP/2.0 183 Session Progress<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=62QN1XNSF6rvD<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;;tag=45785134-1BDE<br>&gt; &nbsp; &nbsp;Date: Tue, 12 Jun 2012 03:53:15 GMT<br>&gt; &nbsp; &nbsp;Call-ID: f61cf067-2ee4-1230-0cad-0050569414f9<br>&gt; &nbsp; &nbsp;Server:
 Cisco-SIPGateway/IOS-12.x<br>&gt; &nbsp; &nbsp;CSeq: 29400529 INVITE<br>&gt; &nbsp; &nbsp;Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE,<br>&gt; NOTIFY, INFO, UPDATE, REGISTER<br>&gt; &nbsp; &nbsp;Allow-Events: telephone-event<br>&gt; &nbsp; &nbsp;Contact: &lt;sip:140112971507247227@85.15.0.154:5060&gt;<br>&gt; &nbsp; &nbsp;Content-Disposition: session;handling=required<br>&gt; &nbsp; &nbsp;Content-Type: application/sdp<br>&gt; &nbsp; &nbsp;Content-Length: 268<br>&gt;<br>&gt; &nbsp; &nbsp;v=0<br>&gt; &nbsp; &nbsp;o=CiscoSystemsSIP-GW-UserAgent 7252 5649 IN IP4 85.15.0.154<br>&gt; &nbsp; &nbsp;s=SIP Call<br>&gt; &nbsp; &nbsp;c=IN IP4 85.15.0.154<br>&gt; &nbsp; &nbsp;t=0 0<br>&gt; &nbsp; &nbsp;m=audio 18218 RTP/AVP 0 13 101<br>&gt; &nbsp; &nbsp;c=IN IP4 85.15.0.154<br>&gt; &nbsp; &nbsp;a=rtpmap:0 PCMU/8000<br>&gt; &nbsp; &nbsp;a=rtpmap:13 CN/8000<br>&gt; &nbsp; &nbsp;a=rtpmap:101 telephone-event/8000<br>&gt; &nbsp;
 &nbsp;a=fmtp:101 0-15<br>&gt; &nbsp; &nbsp;a=ptime:20<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; recv 425 bytes from udp/[85.15.0.154]:5060 at 03:53:11.005144:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;SIP/2.0 500 Internal Server Error<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=62QN1XNSF6rvD<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;;tag=45785134-1BDE<br>&gt; &nbsp; &nbsp;Date: Tue, 12 Jun 2012 03:53:15 GMT<br>&gt; &nbsp; &nbsp;Call-ID: f61cf067-2ee4-1230-0cad-0050569414f9<br>&gt; &nbsp; &nbsp;Server: Cisco-SIPGateway/IOS-12.x<br>&gt; &nbsp; &nbsp;CSeq: 29400529 INVITE<br>&gt; &nbsp; &nbsp;Allow-Events: telephone-event<br>&gt; &nbsp; &nbsp;Content-Length: 0<br>&gt;<br>&gt;
 &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; send 350 bytes to udp/[85.15.0.154]:5060 at 03:53:11.005333:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;ACK sip:140112971507247227@85.15.0.154 SIP/2.0<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS<br>&gt; &nbsp; &nbsp;Max-Forwards: 69<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=62QN1XNSF6rvD<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;;tag=45785134-1BDE<br>&gt; &nbsp; &nbsp;Call-ID: f61cf067-2ee4-1230-0cad-0050569414f9<br>&gt; &nbsp; &nbsp;CSeq: 29400529 ACK<br>&gt; &nbsp; &nbsp;Content-Length: 0<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------------------------------------------------<br>&gt; when change the configuration file the
 below:<br>&gt; &lt;X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729"/&gt;<br>&gt; &lt;X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729"/&gt;<br>&gt;<br>&gt; the siptrace is like this:<br>&gt;<br>&gt; send 1034 bytes to udp/[85.15.0.154]:5060 at 04:01:16.202342:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;INVITE sip:140112971507247227@85.15.0.154 SIP/2.0<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bKpBa558yUmp0UK<br>&gt; &nbsp; &nbsp;Max-Forwards: 69<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=Na0S1Q9mNmS1r<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;<br>&gt; &nbsp; &nbsp;Call-ID: 196eea77-2ee6-1230-789e-0050569414f9<br>&gt; &nbsp; &nbsp;CSeq: 29400774 INVITE<br>&gt; &nbsp; &nbsp;Contact: &lt;sip:gw+cisco@192.168.10.70:5080;transport=udp;gw=cisco&gt;<br>&gt; &nbsp; &nbsp;User-Agent:
 FreeSWITCH-mod_sofia/1.2.0-rc2<br>&gt; &nbsp; &nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,<br>&gt; REGISTER, REFER, NOTIFY<br>&gt; &nbsp; &nbsp;Supported: timer, precondition, path, replaces<br>&gt; &nbsp; &nbsp;Allow-Events: talk, hold, refer<br>&gt; &nbsp; &nbsp;Content-Type: application/sdp<br>&gt; &nbsp; &nbsp;Content-Disposition: session<br>&gt; &nbsp; &nbsp;Content-Length: 226<br>&gt; &nbsp; &nbsp;X-FS-Support: update_display,send_info<br>&gt; &nbsp; &nbsp;Remote-Party-ID: "1000"<br>&gt; &lt;sip:1000@85.15.0.154&gt;;party=calling;screen=yes;privacy=off<br>&gt;<br>&gt; &nbsp; &nbsp;v=0<br>&gt; &nbsp; &nbsp;o=FreeSWITCH 1339447862 1339447863 IN IP4 192.168.10.70<br>&gt; &nbsp; &nbsp;s=FreeSWITCH<br>&gt; &nbsp; &nbsp;c=IN IP4 192.168.10.70<br>&gt; &nbsp; &nbsp;t=0 0<br>&gt; &nbsp; &nbsp;m=audio 25814 RTP/AVP 18 101 13<br>&gt; &nbsp; &nbsp;a=fmtp:18 annexb=yes<br>&gt; &nbsp; &nbsp;a=rtpmap:101 telephone-event/8000<br>&gt;
 &nbsp; &nbsp;a=fmtp:101 0-16<br>&gt; &nbsp; &nbsp;a=ptime:20<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; recv 423 bytes from udp/[85.15.0.154]:5060 at 04:01:16.208118:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;SIP/2.0 488 Not Acceptable Media<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bKpBa558yUmp0UK<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=Na0S1Q9mNmS1r<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;;tag=457FC664-6A6<br>&gt; &nbsp; &nbsp;Date: Tue, 12 Jun 2012 04:01:24 GMT<br>&gt; &nbsp; &nbsp;Call-ID: 196eea77-2ee6-1230-789e-0050569414f9<br>&gt; &nbsp; &nbsp;Server: Cisco-SIPGateway/IOS-12.x<br>&gt; &nbsp; &nbsp;CSeq: 29400774 INVITE<br>&gt; &nbsp; &nbsp;Allow-Events: telephone-event<br>&gt; &nbsp; &nbsp;Content-Length:
 0<br>&gt;<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; send 349 bytes to udp/[85.15.0.154]:5060 at 04:01:16.208201:<br>&gt; &nbsp; &nbsp;------------------------------------------------------------------------<br>&gt; &nbsp; &nbsp;ACK sip:140112971507247227@85.15.0.154 SIP/2.0<br>&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bKpBa558yUmp0UK<br>&gt; &nbsp; &nbsp;Max-Forwards: 69<br>&gt; &nbsp; &nbsp;From: "1000" &lt;sip:register:false@85.15.0.154&gt;;tag=Na0S1Q9mNmS1r<br>&gt; &nbsp; &nbsp;To: &lt;sip:140112971507247227@85.15.0.154&gt;;tag=457FC664-6A6<br>&gt; &nbsp; &nbsp;Call-ID: 196eea77-2ee6-1230-789e-0050569414f9<br>&gt; &nbsp; &nbsp;CSeq: 29400774 ACK<br>&gt; &nbsp; &nbsp;Content-Length: 0<br>&gt;<br>&gt;<br>&gt;<br>&gt; plz help,thanks so much<br>&gt;<br>&gt;<br>&gt; ________________________________<br>&gt; From: Paul Cupis &lt;<a ymailto="mailto:paul@cupis.co.uk"
 href="mailto:paul@cupis.co.uk">paul@cupis.co.uk</a>&gt;<br>&gt;<br>&gt; To: FreeSWITCH Users Help &lt;<a ymailto="mailto:freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>&gt; Sent: Monday, June 11, 2012 10:51 PM<br>&gt;<br>&gt; Subject: Re: [Freeswitch-users] how to use codec g729 on freeswitch ?<br>&gt;<br>&gt; On 11/06/12 17:54, Samira Mh wrote:<br>&gt;&gt; i want to bridge call using my VOIPgateway so that making calls to<br>&gt;&gt; another countries..<br>&gt;&gt; but the carrier only support G729 codec and the FS send G722 (set in<br>&gt;&gt; vars.xml) to myVoipGateway that is set as an gateway in<br>&gt;&gt; /usr/local/freeswitch/sip-profile/external/<br>&gt;&gt; and when FS send media to Gateway(using bridge application) the error<br>&gt;&gt; occure:unacceptable media,then check VOIPGW and find out the only codec<br>&gt;&gt; that<br>&gt;&gt; can be pass
 through VOIPgw is G729, but FS only send G711,G722,... not<br>&gt;&gt; G729<br>&gt;<br>&gt; Can you provide a SIP or FreeSWITCH trace of a call, please?<br>&gt;<br>&gt; Do you have the following enabled in your SIP profile?<br>&gt;<br>&gt; &nbsp; &lt;param name="inbound-late-negotiation" value="true"/&gt;<br>&gt;<br>&gt; Do you have mod_g729 loaded and codec G729 enabled in your vars.xml?<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; _________________________________________________________________________<br>&gt; Professional FreeSWITCH Consulting Services:<br>&gt; <a ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>&gt;<br>&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>&gt;<br>&gt;
 Official FreeSWITCH Sites<br>&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>&gt;<br>&gt; Join Us At ClueCon - Aug 7-9, 2012<br>&gt;<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; _________________________________________________________________________<br>&gt; Professional FreeSWITCH Consulting Services:<br>&gt; <a ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>&gt;<br>&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>&gt;<br>&gt; Official FreeSWITCH Sites<br>&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>&gt;<br>&gt; Join Us At ClueCon - Aug 7-9,
 2012<br>&gt;<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;<br><br><br><br>-- <br>Kristian Kielhofner<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" 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>Join Us At ClueCon - Aug 7-9, 2012<br><br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" 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><br> </div> </div>  </div></body></html>