Also in your first example you say you set the codec preferences in vars.conf.xml to G729, but only PCMU was offered. CODECS OUT only lists PCMU on your external profile. That means you&#39;ve either not reloaded mod_sofia since editing the file, or you have PCMU listed in the sip_profiles/external.xml<div>

<br></div><div>Steve</div><div><br><br><div class="gmail_quote">On 12 June 2012 05:13, Samira Mh <span dir="ltr">&lt;<a href="mailto:saami_mh@ymail.com" target="_blank">saami_mh@ymail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><span>sorry i forgot to paste codec on internal and external:</span></div>

<div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><span><br></span></div><div><div>freeswitch@internal&gt; sofia status profile internal</div><div>=================================================================================================</div>

<div>Name                    internal</div><div>Domain Name             N/A</div><div>Auto-NAT                false</div><div>DBName                  sofia_reg_internal</div><div>Pres Hosts          
    192.168.10.70,192.168.10.70</div><div>Dialplan                XML</div><div>Context                 public</div><div>Challenge Realm         auto_from</div><div>RTP-IP                  192.168.10.70</div><div>SIP-IP                  192.168.10.70</div>

<div>URL                     <a href="http://sip:mod_sofia@192.168.10.70:5060" target="_blank">sip:mod_sofia@192.168.10.70:5060</a></div><div>BIND-URL                <a href="http://sip:mod_sofia@192.168.10.70:5060" target="_blank">sip:mod_sofia@192.168.10.70:5060</a></div>

<div>HOLD-MUSIC              local_stream://moh</div><div>OUTBOUND-PROXY          N/A</div><div><span style="background-color:rgb(255,255,0)">CODECS IN              
 G729</span></div><div><span style="background-color:rgb(255,255,0)">CODECS OUT              G729</span></div><div>TEL-EVENT               101</div><div>DTMF-MODE               rfc2833</div><div>CNG                     13</div>

<div>SESSION-TO              0</div><div>MAX-DIALOG              0</div><div>NOMEDIA                 false</div><div>LATE-NEG                true</div><div>PROXY-MEDIA             false</div><div>ZRTP-PASSTHRU           false</div>

<div>AGGRESSIVENAT           false</div><div>STUN-ENABLED          
  true</div><div>STUN-AUTO-DISABLE       false</div><div>CALLS-IN                0</div><div>FAILED-CALLS-IN         0</div><div>CALLS-OUT               0</div><div>FAILED-CALLS-OUT        0</div><div>REGISTRATIONS           3</div>

<div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><br></div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">---------------------------------------------------------------------------------</div>

<div><div>freeswitch@internal&gt; sofia status profile external</div><div>=================================================================================================</div><div>Name                    external</div>
<div>
Domain Name    
         N/A</div><div>Auto-NAT                false</div><div>DBName                  sofia_reg_external</div><div>Pres Hosts</div><div>Dialplan                XML</div><div>Context                 public</div><div>Challenge Realm         auto_to</div>

<div>RTP-IP                  192.168.10.70</div><div>Ext-RTP-IP              192.168.10.70</div><div>SIP-IP                  192.168.10.70</div><div>Ext-SIP-IP              192.168.10.70</div><div>URL                     <a href="http://sip:mod_sofia@192.168.10.70:5080" target="_blank">sip:mod_sofia@192.168.10.70:5080</a></div>

<div>BIND-URL        
        sip:mod_sofia@192.168.10.70:5080;maddr=192.168.10.70</div><div>HOLD-MUSIC              local_stream://moh</div><div>OUTBOUND-PROXY          N/A</div><div><span style="background-color:rgb(255,255,0)">CODECS IN               G729</span></div>

<div><span style="background-color:rgb(255,255,0)">CODECS OUT              PCMU</span></div><div>TEL-EVENT               101</div><div>DTMF-MODE               rfc2833</div><div>CNG                     13</div><div>SESSION-TO              0</div>

<div>MAX-DIALOG              0</div><div>NOMEDIA                
 false</div><div>LATE-NEG                false</div><div>PROXY-MEDIA             false</div><div>ZRTP-PASSTHRU           false</div><div>AGGRESSIVENAT           false</div><div>STUN-ENABLED            true</div><div>STUN-AUTO-DISABLE       false</div>

<div>CALLS-IN                0</div><div>FAILED-CALLS-IN         0</div><div>CALLS-OUT               0</div><div>FAILED-CALLS-OUT        0</div><div>REGISTRATIONS           0</div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">

<br></div></div></div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><br></div>  <div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

 <div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Samira Mh &lt;<a href="mailto:saami_mh@ymail.com" target="_blank">saami_mh@ymail.com</a>&gt;<div class="im">

<br> <b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt; <br> </div><b><span style="font-weight:bold">Sent:</span></b> Tuesday, June 12, 2012 8:36 AM<div>

<div class="h5"><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users] how to use codec g729 on freeswitch ?<br> </div></div></font> </div><div><div class="h5"> <br>
<div><div><div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div style="font-size:12pt;font-family:times,serif">thansk for your reply,</div><div style="font-size:12pt;font-family:times,serif">

it is kind of you to help me..</div><div style="font-size:12pt;font-family:times,serif">please let me paste myconfigurations files here;</div><div style="font-size:12pt;font-family:times,serif">1-the configuration  file /usr/local/freeswitch/conf/dialplan/default/001_luacallduration.xml  is like this:</div>

<div style="font-size:12pt;font-family:times,serif"><br></div><div><div>&lt;include&gt;</div><div>  &lt;extension name=&quot;mainmenuvodsl&quot;&gt;</div><div><br></div><div>       
 &lt;condition field=&quot;destination_number&quot; expression=&quot;^(00|\+)?(\d{5}.*)$&quot; break=&quot;never&quot;&gt;</div><div>                   &lt;action application=&quot;odbc_query&quot; data=&quot;select cash as cashvalue from accounts where contractid like &#39;${nibble_account}&#39;;&quot;/&gt;</div>

<div>                &lt;action application=&quot;log&quot; data=&quot;INFO The value of cashvalue is ${cashvalue}&quot; /&gt;<br></div><div>                 &lt;action application=&quot;lua&quot; data=&quot;checkcash.lua ${cashvalue}&quot; /&gt;<br>

</div><div>                &lt;action application=&quot;log&quot; data=&quot;INFO The value of nibble_account is  ${nibble_account}&quot;/&gt;</div><div>                &lt;action application=&quot;log&quot; data=&quot;INFO The value of nibble_rate [before] is  ${nibble_rate}&quot;/&gt;</div>

<div>   
             &lt;!-- RateList Context --&gt;</div><div>                &lt;action application=&quot;lua&quot; data=&quot;checkzeroplus.lua ${destination_number:0:2} ${destination_number:0:1}&quot; /&gt;</div><div>                &lt;action application=&quot;execute_extension&quot; data=&quot;${destination_number} XML ratelist&quot;/&gt;</div>

<div>                &lt;action application=&quot;log&quot; data=&quot;INFO The value of nibble_rate [after] is ${nibble_rate}&quot;/&gt;</div><div>                 &lt;!-- Check Nibble_rate --&gt;</div><div>                &lt;action application=&quot;lua&quot; data=&quot;checknibblerate.lua ${nibble_rate}&quot; /&gt;</div>

<div>                &lt;action application=&quot;set&quot;
 data=&quot;divvalue=${expr(floor((${cashvalue}/${nibble_rate}))}&quot; /&gt;</div><div>                &lt;action application=&quot;set&quot; data=&quot;modvalue=${expr(mod(${cashvalue},${nibble_rate}))}&quot; /&gt;</div>

<div>                &lt;action application=&quot;lua&quot; data=&quot;checktime.lua ${divvalue} ${modvalue}&quot; /&gt;</div><div>                    &lt;!--  Check ZeroZero , Plus  --&gt;</div><div>                &lt;action application=&quot;lua&quot; data=&quot;checkzeroplus.lua ${destination_number:0:2} ${destination_number:0:1}&quot; /&gt; </div>

<div>                &lt;!-- Making Calls   --&gt;</div><div>                &lt;action application=&quot;odbc_query&quot; data=&quot;select callerid  as effective_caller_id_number from
 accounts where contractid like &#39;${nibble_account}&#39;;&quot;/&gt;</div><div>                &lt;action application=&quot;log&quot; data=&quot;INFO  callerid for Outbound calls ${effective_caller_id_number}&quot;/&gt;</div>

<div>                &lt;!-- &lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;/&gt;</div><div>                &lt;action application=&quot;answer&quot;/&gt;  --&gt;</div><div>                &lt;action application=&quot;enable_heartbeat&quot;/&gt;</div>

<div>                 </div><div>&lt;!-- &lt;param name=&quot;disable-transcoding&quot; value=&quot;true&quot;/&gt; --&gt;</div><div>        &lt;!--    &lt;action application=&quot;export&quot; data=&quot;nolocal:absolute_codec_string=G729,PCMU&quot;/&gt; --&gt;</div>

<div>&lt;!--  &lt;action application=&quot;set&quot;
 data=&quot;bridge_early_media=true&quot;/&gt;  --&gt;</div><div>        &lt;!-- &lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt; --&gt;</div><div>                &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/cisco/140112${destination_number}&quot;/&gt;<br>

</div><div>                &lt;!-- &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/mainasterisk/${destination_number}&quot;/&gt;  --&gt;</div><div>&lt;!--  &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/test/${destination_number}&quot;/&gt;  --&gt;</div>

<div>        &lt;/condition&gt;</div><div><br></div><div> &lt;/extension&gt;</div><div>&lt;/include&gt;</div><div style="font-size:12pt;font-family:times,serif"><br></div></div><div>2-yes, i have enabled  &quot;inbound-late-negotiation&quot; in the
 (/usr/local/freeswitch/conf/sip_profiles/internal.xml) as follow:</div><div> &lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;<br></div><div style="font-size:12pt;font-family:times,serif"><br>

</div><div style="font-size:12pt;font-family:times,serif"><br></div><div style="font-size:12pt;font-family:times,serif">3-the issue of sofia status:</div><div> external::cisco       gateway             <a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>      NOREG<br>

</div><div><br></div><div><br></div><div>4-also , the configuration file for codecs are as follow</div><div>:/usr/local/freeswitch/conf/vars.xml</div><div><br></div><div><div>&lt;X-PRE-PROCESS cmd=&quot;set&quot;
 data=&quot;global_codec_prefs=G729,PCMU,PCMA,G7221@32000h,G7221@16000h,G722,GSM&quot;/&gt; </div><div><br></div></div><div><div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=G729&quot;/&gt;</div>

<div><br></div><div>5- the mod_g729 was loaded </div><div><br></div><div>6-i have enabled the siptrace:</div><div> sofia profile external siptrace on:<br></div><div><span style="background-color:rgb(255,255,0)">the siptrace outpout as follow:</span></div>

<div><br></div><div><div><div>send 1042 bytes to udp/[85.15.0.154]:5060 at 03:53:07.448136:</div><div>   ------------------------------------------------------------------------</div><div>   INVITE <a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a> SIP/2.0</div>

<div>   Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS</div><div>   Max-Forwards: 69</div><div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=62QN1XNSF6rvD</div>

<div> 
  To: &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;</div><div>   Call-ID: f61cf067-2ee4-1230-0cad-0050569414f9</div><div>   CSeq: 29400529 INVITE</div>

<div>   Contact: &lt;sip:gw+cisco@192.168.10.70:5080;transport=udp;gw=cisco&gt;</div><div>   User-Agent: FreeSWITCH-mod_sofia/1.2.0-rc2</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: 234</div>

<div>   X-FS-Support: update_display,send_info</div><div>   Remote-Party-ID: &quot;1000&quot; &lt;<a href="mailto:sip%3A1000@85.15.0.154" target="_blank">sip:1000@85.15.0.154</a>&gt;;party=calling;screen=yes;privacy=off</div>

<div><br></div><div>   v=0</div><div>   o=FreeSWITCH
 1339446571 1339446572 IN IP4 192.168.10.70</div><div>   s=FreeSWITCH</div><div>   c=IN IP4 192.168.10.70</div><div>   t=0 0</div><div>   m=audio 26616 RTP/AVP 9 0 8 18 3 101 13</div><div>   a=fmtp:18 annexb=yes</div><div>

   a=rtpmap:101 telephone-event/8000</div><div>   a=fmtp:101 0-16</div><div>   a=ptime:20</div><div>   ------------------------------------------------------------------------</div><div>recv 410 bytes from udp/[85.15.0.154]:5060 at 03:53:07.463921:</div>

<div>   ------------------------------------------------------------------------</div><div>   SIP/2.0 100 Trying</div><div>   Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS</div><div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=62QN1XNSF6rvD</div>

<div>   To:
 &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;;tag=45785134-1BDE</div><div>   Date: Tue, 12 Jun 2012 03:53:15 GMT</div><div>   Call-ID: f61cf067-2ee4-1230-0cad-0050569414f9</div>

<div>   Server: Cisco-SIPGateway/IOS-12.x</div><div>   CSeq: 29400529 INVITE</div><div>   Allow-Events: telephone-event</div><div>   Content-Length: 0</div><div><br></div><div>   ------------------------------------------------------------------------</div>

<div>recv 927 bytes from udp/[85.15.0.154]:5060 at 03:53:11.004804:</div><div>   ------------------------------------------------------------------------</div><div>   SIP/2.0 183 Session Progress</div><div>   Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS</div>

<div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=62QN1XNSF6rvD</div><div>   To:
 &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;;tag=45785134-1BDE</div><div>   Date: Tue, 12 Jun 2012 03:53:15 GMT</div><div>   Call-ID: f61cf067-2ee4-1230-0cad-0050569414f9</div>

<div>   Server: Cisco-SIPGateway/IOS-12.x</div><div>   CSeq: 29400529 INVITE</div><div>   Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER</div><div>   Allow-Events: telephone-event</div>

<div>   Contact: &lt;<a href="http://sip:140112971507247227@85.15.0.154:5060" target="_blank">sip:140112971507247227@85.15.0.154:5060</a>&gt;</div><div>   Content-Disposition: session;handling=required</div><div>   Content-Type: application/sdp</div>

<div>   Content-Length: 268</div><div><br></div><div>   v=0</div><div>   o=CiscoSystemsSIP-GW-UserAgent 7252 5649 IN IP4 85.15.0.154</div><div>   s=SIP Call</div><div>   c=IN IP4 85.15.0.154</div><div>   t=0 0</div><div>
 
  m=audio 18218 RTP/AVP 0 13 101</div><div>   c=IN IP4 85.15.0.154</div><div>   a=rtpmap:0 PCMU/8000</div><div>   a=rtpmap:13 CN/8000</div><div>   a=rtpmap:101 telephone-event/8000</div><div>   a=fmtp:101 0-15</div><div>

   a=ptime:20</div><div>   ------------------------------------------------------------------------</div><div>recv 425 bytes from udp/[85.15.0.154]:5060 at 03:53:11.005144:</div><div>   ------------------------------------------------------------------------</div>

<div>   SIP/2.0 500 Internal Server Error</div><div>   Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS</div><div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=62QN1XNSF6rvD</div>

<div>   To: &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;;tag=45785134-1BDE</div><div>   Date: Tue, 12 Jun 2012 03:53:15
 GMT</div><div>   Call-ID: f61cf067-2ee4-1230-0cad-0050569414f9</div><div>   Server: Cisco-SIPGateway/IOS-12.x</div><div>   CSeq: 29400529 INVITE</div><div>   Allow-Events: telephone-event</div><div>   Content-Length: 0</div>

<div><br></div><div>   ------------------------------------------------------------------------</div><div>send 350 bytes to udp/[85.15.0.154]:5060 at 03:53:11.005333:</div><div>   ------------------------------------------------------------------------</div>

<div>   ACK <a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a> SIP/2.0</div><div>   Via: SIP/2.0/UDP 192.168.10.70:5080;rport;branch=z9hG4bK7vFUZrQK2r8NS</div><div>

   Max-Forwards: 69</div><div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=62QN1XNSF6rvD</div><div>   To: &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;;tag=45785134-1BDE</div>

<div>   Call-ID:
 f61cf067-2ee4-1230-0cad-0050569414f9</div><div>   CSeq: 29400529 ACK</div><div>   Content-Length: 0</div><div><br></div></div></div><div><br></div><div>------------------------------------------------------------------------------------------------------------------</div>

<div><span style="background-color:rgb(255,255,0)">when change the configuration file the below:</span></div><div><div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=G729&quot;/&gt;</div><div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=G729&quot;/&gt; <br>

</div></div><div><br></div><div>the siptrace is like this:</div><div><br></div><div><div>send 1034 bytes to udp/[85.15.0.154]:5060 at 04:01:16.202342:</div><div>   ------------------------------------------------------------------------</div>

<div>   INVITE <a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a> SIP/2.0</div><div>   Via: SIP/2.0/UDP
 192.168.10.70:5080;rport;branch=z9hG4bKpBa558yUmp0UK</div><div>   Max-Forwards: 69</div><div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=Na0S1Q9mNmS1r</div>

<div>   To: &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;</div><div>   Call-ID: 196eea77-2ee6-1230-789e-0050569414f9</div><div>   CSeq: 29400774 INVITE</div>

<div>   Contact: &lt;sip:gw+cisco@192.168.10.70:5080;transport=udp;gw=cisco&gt;</div><div>   User-Agent: FreeSWITCH-mod_sofia/1.2.0-rc2</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: 226</div>

<div>   X-FS-Support:
 update_display,send_info</div><div>   Remote-Party-ID: &quot;1000&quot; &lt;<a href="mailto:sip%3A1000@85.15.0.154" target="_blank">sip:1000@85.15.0.154</a>&gt;;party=calling;screen=yes;privacy=off</div><div><br></div><div>

   v=0</div><div>   o=FreeSWITCH 1339447862 1339447863 IN IP4 192.168.10.70</div><div>   s=FreeSWITCH</div><div>   c=IN IP4 192.168.10.70</div><div>   t=0 0</div><div>   m=audio 25814 RTP/AVP 18 101 13</div><div>   a=fmtp:18 annexb=yes</div>

<div>   a=rtpmap:101 telephone-event/8000</div><div>   a=fmtp:101 0-16</div><div>   a=ptime:20</div><div>   ------------------------------------------------------------------------</div><div>recv 423 bytes from udp/[85.15.0.154]:5060 at 04:01:16.208118:</div>

<div>   ------------------------------------------------------------------------</div><div>   SIP/2.0 488 Not Acceptable Media</div><div>   Via: SIP/2.0/UDP
 192.168.10.70:5080;rport;branch=z9hG4bKpBa558yUmp0UK</div><div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=Na0S1Q9mNmS1r</div>

<div>   To: &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;;tag=457FC664-6A6</div><div>   Date: Tue, 12 Jun 2012 04:01:24 GMT</div><div>   Call-ID: 196eea77-2ee6-1230-789e-0050569414f9</div>

<div>   Server: Cisco-SIPGateway/IOS-12.x</div><div>   CSeq: 29400774 INVITE</div><div>   Allow-Events: telephone-event</div><div>   Content-Length: 0</div><div><br></div><div>   ------------------------------------------------------------------------</div>

<div>send 349 bytes to udp/[85.15.0.154]:5060 at 04:01:16.208201:</div><div>   ------------------------------------------------------------------------</div><div>   ACK <a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a> SIP/2.0</div>

<div>   Via: SIP/2.0/UDP
 192.168.10.70:5080;rport;branch=z9hG4bKpBa558yUmp0UK</div><div>   Max-Forwards: 69</div><div>   From: &quot;1000&quot; &lt;<a href="mailto:sip%3Aregister%3Afalse@85.15.0.154" target="_blank">sip:register:false@85.15.0.154</a>&gt;;tag=Na0S1Q9mNmS1r</div>

<div>   To: &lt;<a href="mailto:sip%3A140112971507247227@85.15.0.154" target="_blank">sip:140112971507247227@85.15.0.154</a>&gt;;tag=457FC664-6A6</div><div>   Call-ID: 196eea77-2ee6-1230-789e-0050569414f9</div><div>   CSeq: 29400774 ACK</div>

<div>   Content-Length: 0</div><div><br></div></div><div><br></div><div><br></div><div>plz help,thanks so much</div><div><br></div><div><br></div></div>  <div style="font-size:12pt;font-family:times,serif"> <div style="font-size:12pt;font-family:times,serif">

 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Paul Cupis &lt;<a href="mailto:paul@cupis.co.uk" target="_blank">paul@cupis.co.uk</a>&gt;<br> <b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help
 &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt; <br> <b><span style="font-weight:bold">Sent:</span></b> Monday, June 11, 2012 10:51 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users] how to use codec g729 on freeswitch ?<br>

 </font> </div> <br>
On 11/06/12 17:54, Samira Mh wrote:<br>&gt; i want to bridge call using my VOIPgateway so that making calls to<br>&gt; another countries..<br>&gt; but the carrier only support G729 codec and the FS send G722 (set in<br>&gt; vars.xml) to myVoipGateway that is set as an gateway in<br>

&gt; /usr/local/freeswitch/sip-profile/external/<br>&gt; and when FS send media to Gateway(using bridge application) the error<br>&gt; occure:unacceptable media,then check VOIPGW and find out the only codec<br>&gt; that<br>

&gt; can be pass through VOIPgw is G729, but FS only send G711,G722,... not G729<br><br>Can you provide a SIP or FreeSWITCH trace of a call, please?<br><br>Do you have the following enabled in your SIP profile?<br><br>   &lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;<br>

<br>Do you have mod_g729 loaded and codec G729 enabled in your
 vars.xml?<br><br>Regards,<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a rel="nofollow" href="mailto:consulting@freeswitch.org" target="_blank">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 rel="nofollow" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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 rel="nofollow" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a rel="nofollow" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>

<br><br> </div> </div>  </div></div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">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 href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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> </div>  </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>
Join Us At ClueCon - Aug 7-9, 2012<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>