<div>thanks for your replies.</div>
<div> </div>
<div>my var.xml:</div>
<div><X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/><br><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/></div>
<div> </div>
<div> </div>
<div>below is the sip trace:</div>
<div> recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:<br> ------------------------------------------------------------------------<br> INVITE <a href="mailto:sip%3A123456@58.212.219.104">sip:123456@58.212.219.104</a> SIP/2.0<br>
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport<br> Max-Forwards: 70<br> Contact: <<a href="http://sip:9876@58.212.219.104:40508">sip:9876@58.212.219.104:40508</a>><br>
To: "123456"<<a href="mailto:sip%3A123456@58.212.219.104">sip:123456@58.212.219.104</a>><br> From: "9876"<<a href="mailto:sip%3A9876@58.212.219.104">sip:9876@58.212.219.104</a>>;tag=057de365<br>
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.<br> CSeq: 1 INVITE<br> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO<br> Content-Type: application/sdp<br> User-Agent: eyeBeam release 1102u stamp 52345<br>
Content-Length: 237<br> <br> v=0<br> o=- 6 2 IN IP4 192.168.1.241<br> s=CounterPath eyeBeam 1.5<br> c=IN IP4 192.168.1.241<br> t=0 0<br> m=audio 57862 RTP/AVP 8 101<br> a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862<br>
a=fmtp:101 0-15<br> a=rtpmap:101 telephone-event/8000<br> a=sendrecv<br> ------------------------------------------------------------------------<br>send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:<br>
------------------------------------------------------------------------<br> SIP/2.0 100 Trying<br> Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104<br>
From: "9876"<<a href="mailto:sip%3A9876@58.212.219.104">sip:9876@58.212.219.104</a>>;tag=057de365<br> To: "123456"<<a href="mailto:sip%3A123456@58.212.219.104">sip:123456@58.212.219.104</a>><br>
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.<br> CSeq: 1 INVITE<br> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> [574766e1-e71f-4a62-a659-1d43bea135bd]<br>2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> entering state [received][100]<br>
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:<br>v=0<br>o=- 6 2 IN IP4 192.168.1.241<br>s=CounterPath eyeBeam 1.5<br>c=IN IP4 192.168.1.241<br>t=0 0<br>m=audio 57862 RTP/AVP 8 101<br>a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862</div>
<div>2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]<br>2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101<br>2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]<br>
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]<br>2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> [KILL]<br>
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> [BREAK]<br>2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) Running State Change CS_HANGUP<br>
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State HANGUP<br>2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> hanging up, cause: INCOMPATIBLE_DESTINATION<br>
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488<br>send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:<br> ------------------------------------------------------------------------<br>
SIP/2.0 488 Not Acceptable Here<br> Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104<br> From: "9876"<<a href="mailto:sip%3A9876@58.212.219.104">sip:9876@58.212.219.104</a>>;tag=057de365<br>
To: "123456" <<a href="mailto:sip%3A123456@58.212.219.104">sip:123456@58.212.219.104</a>>;tag=28Q0QB73Bm35K<br> Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.<br> CSeq: 1 INVITE<br> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M<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="INCOMPATIBLE_DESTINATION"<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> Standard HANGUP, cause: INCOMPATIBLE_DESTINATION<br>
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State HANGUP going to sleep<br>2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State Change CS_HANGUP -> CS_REPORTING<br>
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> [BREAK]<br>2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) Running State Change CS_REPORTING<br>
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State REPORTING<br>recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:<br>
------------------------------------------------------------------------<br> ACK <a href="mailto:sip%3A123456@58.212.219.104">sip:123456@58.212.219.104</a> SIP/2.0<br> Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport<br>
To: "123456" <<a href="mailto:sip%3A123456@58.212.219.104">sip:123456@58.212.219.104</a>>;tag=28Q0QB73Bm35K<br> From: "9876"<<a href="mailto:sip%3A9876@58.212.219.104">sip:9876@58.212.219.104</a>>;tag=057de365<br>
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.<br> CSeq: 1 ACK<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> Standard REPORTING, cause: INCOMPATIBLE_DESTINATION<br>
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State REPORTING going to sleep<br>2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State Change CS_REPORTING -> CS_DESTROY<br>
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) Locked, Waiting on external entities<br>2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) Ended<br>
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> [CS_DESTROY]<br>2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State DESTROY<br>
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> SOFIA DESTROY<br>2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 <a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a> Standard DESTROY<br>
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (<a href="mailto:sofia/maq/9876@58.212.219.104">sofia/maq/9876@58.212.219.104</a>) State DESTROY going to sleep<br><br><br>the freeswitch not accept PCMA</div>
<div> </div>
<div> </div>
<div> </div>
<div class="gmail_quote">2009/7/1 seven <span dir="ltr"><<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">absolutely not.
<div><br></div>
<div>codec negotiate depending on your conf. do you have a sip trace?</div>
<div><br>
<div>
<div>
<div></div>
<div class="h5">On Jul 1, 2009, at 2:48 PM, qian ma wrote:<br></div></div>
<blockquote type="cite">
<div>
<div></div>
<div class="h5">
<div>hi all</div>
<div> freeswitch support PCMU only?</div>
<div> i follow the <a href="http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml" target="_blank">http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml</a>, but freeswitch still support PCMU only,</div>
<div> below is the trace:</div>
<div> </div>
<div> 2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]<br>2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101<br>2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]<br>
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup <a href="mailto:sofia/maq/9876@58.212.219.104" target="_blank">sofia/maq/9876@58.212.219.104</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]<br>2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal <a href="mailto:sofia/maq/9876@58.212.219.104" target="_blank">sofia/maq/9876@58.212.219.104</a> [KILL]<br>
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal <a href="mailto:sofia/maq/9876@58.212.219.104" target="_blank">sofia/maq/9876@58.212.219.104</a> [BREAK]<br>2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (<a href="mailto:sofia/maq/9876@58.212.219.104" target="_blank">sofia/maq/9876@58.212.219.104</a>) Running State Change CS_HANGUP<br>
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (<a href="mailto:sofia/maq/9876@58.212.219.104" target="_blank">sofia/maq/9876@58.212.219.104</a>) State HANGUP</div>
<div> </div>
<div> </div>
<div> </div>
<div> how to configure the freeswitch??</div>
<div> support more codecs???</div>
<div> </div>
<div> thx!</div>
<div> m.q</div></div></div>
<div class="im">_______________________________________________<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>
</div></blockquote></div><br></div></div><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>