What does your dialplan look like? Just curious where/how you set proxy-media mode.<br>-MC<br><br><div class="gmail_quote">On Mon, Jun 1, 2009 at 9:54 AM, FERNANDO VILLARROEL <span dir="ltr">&lt;<a href="mailto:fvillarroel@yahoo.com">fvillarroel@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Dear all.<br>
<br>
I have problem with g729 passthru mode.<br>
<br>
I received traffic from a Asterisk on my FS and forward to other Asterisk, when i use codec ulaw this works very well.<br>
<br>
But when i try use G729 i received the following messages and SIP Trace:<br>
<br>
2009-06-01 12:19:20 [NOTICE] switch_channel.c:602 switch_channel_set_name() New Channel sofia/admin/42452904@190.208.xx.yy [f65514e0-4ec7-11de-9b78-150e2985561f]<br>
2009-06-01 12:19:20 [DEBUG] sofia.c:3037 sofia_handle_sip_i_state() Channel sofia/admin/42452904@190.208.xx.yy entering state [received][100]<br>
2009-06-01 12:19:20 [DEBUG] sofia.c:3044 sofia_handle_sip_i_state() Remote SDP:<br>
v=0<br>
o=root 25643 25643 IN IP4 190.208.xx.yy<br>
s=session<br>
c=IN IP4 190.208.xx.yy<br>
t=0 0<br>
m=audio 10236 RTP/AVP 18 101<br>
a=rtpmap:18 G729/8000<br>
a=fmtp:18 annexb=no<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
<br>
2009-06-01 12:19:20 [DEBUG] sofia_glue.c:2955 sofia_glue_negotiate_sdp() Audio Codec Compare [G729:18:8000:0]/[PCMU:0:8000:20]<br>
2009-06-01 12:19:20 [DEBUG] sofia_glue.c:2915 sofia_glue_negotiate_sdp() Set 2833 dtmf payload to 101<br>
2009-06-01 12:19:20 [DEBUG] sofia_glue.c:2955 sofia_glue_negotiate_sdp() Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]<br>
2009-06-01 12:19:20 [NOTICE] sofia.c:3246 sofia_handle_sip_i_state() Hangup sofia/admin/42452904@190.208.xx.yy [CS_NEW] [INCOMPATIBLE_DESTINATION]<br>
2009-06-01 12:19:20 [DEBUG] switch_channel.c:1660 switch_channel_perform_hangup() Send signal sofia/admin/42452904@190.208.xx.yy [KILL]<br>
2009-06-01 12:19:20 [DEBUG] switch_core_session.c:933 switch_core_session_signal_state_change() Send signal sofia/admin/42452904@190.208.xx.yy [BREAK]<br>
send 886 bytes to udp/[190.47.91.83]:60245 at 16:19:20.596633:<br>
   ------------------------------------------------------------------------<br>
   SIP/2.0 200 OK<br>
   Via: SIP/2.0/UDP 192.168.1.124:2051;branch=z9hG4bK-cod9x8o56t2q;rport=60245;received=190.47.91.83<br>
   From: &quot;102&quot; &lt;sip:102@200.111.XXX.XX&gt;;tag=bmke36jc1v<br>
   To: &quot;102&quot; &lt;sip:102@200.111.XXX.XX&gt;;tag=rZp0XXrK9NHFD<br>
   Call-ID: 3c26700b249f-sryanqz0td8u@snom360-00041323143F<br>
   CSeq: 27056 REGISTER<br>
   Contact: &lt;sip:102@192.168.1.124:2051;line=dcnm5x2k&gt;;flow-id=1;q=1.0;+sip.instance=&quot;&lt;urn:uuid:72e96588-ebe1-476d-8024-75656b4e007d&gt;&quot;;audio;mobility=&quot;fixed&quot;;duplex=&quot;full&quot;;description=&quot;snom360&quot;;actor=&quot;principal&quot;;events=&quot;dialog&quot;;methods=&quot;INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO&quot;;expires=30<br>

   Date: Mon, 01 Jun 2009 16:19:20 GMT<br>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13431<br>
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO<br>
   Supported: timer, precondition, path, replaces<br>
   Content-Length: 0<br>
<br>
   ------------------------------------------------------------------------<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/admin/42452904@190.208.xx.yy) Running State Change CS_HANGUP<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:433 switch_core_session_run() (sofia/admin/42452904@190.208.xx.yy) State HANGUP<br>
2009-06-01 12:19:20 [DEBUG] mod_sofia.c:323 sofia_on_hangup() Channel sofia/admin/42452904@190.208.xx.yy hanging up, cause: INCOMPATIBLE_DESTINATION<br>
2009-06-01 12:19:20 [DEBUG] mod_sofia.c:399 sofia_on_hangup() Responding to INVITE with: 488<br>
send 634 bytes to udp/[190.208.xx.yy]:5060 at 16:19:20.603208:<br>
   ------------------------------------------------------------------------<br>
   SIP/2.0 488 Not Acceptable Here<br>
   Via: SIP/2.0/UDP 190.208.xx.yy:5060;branch=z9hG4bK25dd52ee;rport=5060<br>
   From: &quot;452904&quot; &lt;sip:42452904@190.208.xx.yy&gt;;tag=as4e2616ae<br>
   To: &lt;sip:56968482060@200.111.XXX.XX&gt;;tag=S8FSZr9p6y71r<br>
   Call-ID: 117330d21f3828470f39a95f538be036@190.208.xx.yy<br>
   CSeq: 102 INVITE<br>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13431<br>
   Accept: application/sdp<br>
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO<br>
   Supported: timer, precondition, path, replaces<br>
   Allow-Events: talk, refer<br>
   Reason: Q.850;cause=88;text=&quot;INCOMPATIBLE_DESTINATION&quot;<br>
   Content-Length: 0<br>
<br>
   ------------------------------------------------------------------------<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:46 switch_core_standard_on_hangup() sofia/admin/42452904@190.208.xx.yy Standard HANGUP, cause: INCOMPATIBLE_DESTINATION<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:433 switch_core_session_run() (sofia/admin/42452904@190.208.xx.yy) State HANGUP going to sleep<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:475 switch_core_session_run() (sofia/admin/42452904@190.208.xx.yy) State Change CS_HANGUP -&gt; CS_REPORTING<br>
2009-06-01 12:19:20 [DEBUG] switch_core_session.c:933 switch_core_session_signal_state_change() Send signal sofia/admin/42452904@190.208.xx.yy [BREAK]<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/admin/42452904@190.208.xx.yy) Running State Change CS_REPORTING<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:607 switch_core_session_reporting_state() (sofia/admin/42452904@190.208.xx.yy) State REPORTING<br>
recv 408 bytes from udp/[190.208.xx.yy]:5060 at 16:19:20.620338:<br>
   ------------------------------------------------------------------------<br>
   ACK sip:56968482060@200.111.XXX.XX SIP/2.0<br>
   Via: SIP/2.0/UDP 190.208.xx.yy:5060;branch=z9hG4bK25dd52ee;rport<br>
   From: &quot;452904&quot; &lt;sip:42452904@190.208.xx.yy&gt;;tag=as4e2616ae<br>
   To: &lt;sip:56968482060@200.111.XXX.XX&gt;;tag=S8FSZr9p6y71r<br>
   Contact: &lt;sip:42452904@190.208.xx.yy&gt;<br>
   Call-ID: 117330d21f3828470f39a95f538be036@190.208.xx.yy<br>
   CSeq: 102 ACK<br>
   User-Agent: Asterisk PBX<br>
   Max-Forwards: 70<br>
   Content-Length: 0<br>
<br>
   ------------------------------------------------------------------------<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:53 switch_core_standard_on_reporting() sofia/admin/42452904@190.208.xx.yy Standard REPORTING, cause: INCOMPATIBLE_DESTINATION<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:607 switch_core_session_reporting_state() (sofia/admin/42452904@190.208.xx.yy) State REPORTING going to sleep<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:410 switch_core_session_run() (sofia/admin/42452904@190.208.xx.yy) State Change CS_REPORTING -&gt; CS_DESTROY<br>
2009-06-01 12:19:20 [DEBUG] switch_core_session.c:1067 switch_core_session_thread() Session 7 (sofia/admin/42452904@190.208.xx.yy) Locked, Waiting on external entities<br>
2009-06-01 12:19:20 [NOTICE] switch_core_session.c:1085 switch_core_session_thread() Session 7 (sofia/admin/42452904@190.208.xx.yy) Ended<br>
2009-06-01 12:19:20 [NOTICE] switch_core_session.c:1087 switch_core_session_thread() Close Channel sofia/admin/42452904@190.208.xx.yy [CS_DESTROY]<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (sofia/admin/42452904@190.208.xx.yy) State DESTROY<br>
2009-06-01 12:19:20 [DEBUG] mod_sofia.c:240 sofia_on_destroy() sofia/admin/42452904@190.208.xx.yy SOFIA DESTROY<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:60 switch_core_standard_on_destroy() sofia/admin/42452904@190.208.xx.yy Standard DESTROY<br>
2009-06-01 12:19:20 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (sofia/admin/42452904@190.208.xx.yy) State DESTROY going to sleep<br>
<br>
My vars.xml :<br>
<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=G722,PCMU,PCMA,GSM,G729&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=G722,PCMU,PCMA,GSM,G729&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;xmpp_client_profile=xmppc&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;xmpp_server_profile=xmpps&quot;/&gt;<br>
<br>
<br>
I hope your comments for know where is the config problem<br>
<br>
Fernando.<br>
<br>
<br>
<br>
<br>
<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>
</blockquote></div><br>