VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
god.nirvana at gmail.com Guest
|
Posted: Wed Jul 01, 2009 1:50 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
hi all
freeswitch support PCMU only?
i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml, but freeswitch still support PCMU only,
below is the trace:
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
how to configure the freeswitch??
support more codecs???
thx!
m.q |
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Wed Jul 01, 2009 2:20 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
fs can support lots of codecs. you can find the ff variables defined in vars.xml:
global_codec_prefs
outbound_codec_prefs
then look for "inbound_codec_negotiation" in sip_profiles/internal.xml,sip_profiles/external.xml if you want your codec_prefs to set priority or not.
-nandy
On Wed, Jul 1, 2009 at 2:48 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | hi all
      freeswitch support PCMU only?
       i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml,  but freeswitch still support PCMU only,
      below is the trace:
     Â
      2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
Â
Â
Â
     how to configure the freeswitch??
     support more codecs???
Â
     thx!
                                                                                                                                                                     m.q
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Wed Jul 01, 2009 2:20 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
absolutely not.
codec negotiate depending on your conf. do you have a sip trace?
On Jul 1, 2009, at 2:48 PM, qian ma wrote: Quote: | hi all
freeswitch support PCMU only?
i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml, but freeswitch still support PCMU only,
below is the trace:
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
how to configure the freeswitch??
support more codecs???
thx!
m.q
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
god.nirvana at gmail.com Guest
|
Posted: Wed Jul 01, 2009 2:46 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
below is the sip trace:
recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
------------------------------------------------------------------------
INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:9876@58.212.219.104:40508>
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1102u stamp 52345
Content-Length: 237
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
------------------------------------------------------------------------
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Allow-Events: talk, refer
Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
------------------------------------------------------------------------
ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 ACK
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
|
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Wed Jul 01, 2009 2:58 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
seven,
of course, codec negotiation depends on the order of codecs in the *_codec_prefs variables. but, the opposite end has also it's own codecs prefs, too. fs can accept the other end's prefs (inbound_codec_negotiation=generous) or imposes it's own prefs (=greedy). you must include the codec in the *_codec_prefs to activate it. is this correct?
-nandy
On Wed, Jul 1, 2009 at 3:19 PM, seven <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote: | absolutely not.
codec negotiate depending on your conf. do you have a sip trace?
On Jul 1, 2009, at 2:48 PM, qian ma wrote:
Quote: |
hi all
      freeswitch support PCMU only?
       i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml,  but freeswitch still support PCMU only,
      below is the trace:
     Â
      2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
Â
Â
Â
     how to configure the freeswitch??
     support more codecs???
Â
     thx!
                                                                                                                                                                     m.q
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Wed Jul 01, 2009 4:00 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
you FS doesn't accept PCMU. try to add "PCMU" on both variables.
On Wed, Jul 1, 2009 at 3:44 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
Â
Â
below is the sip trace:
 recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
  ------------------------------------------------------------------------
  INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  Max-Forwards: 70
  Contact: <sip:9876@58.212.219.104:40508>
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
  Content-Type: application/sdp
  User-Agent: eyeBeam release 1102u stamp 52345
  Content-Length: 237
 Â
  v=0
  o=- 6 2 IN IP4 192.168.1.241
  s=CounterPath eyeBeam 1.5
  c=IN IP4 192.168.1.241
  t=0 0
  m=audio 57862 RTP/AVP 8 101
  a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
  a=fmtp:101 0-15
  a=rtpmap:101 telephone-event/8000
  a=sendrecv
  ------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
  ------------------------------------------------------------------------
  SIP/2.0 100 Trying
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
  ------------------------------------------------------------------------
  SIP/2.0 488 Not Acceptable Here
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Accept: application/sdp
  Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
  Supported: timer, precondition, path, replaces
  Allow-Events: talk, refer
  Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
  ------------------------------------------------------------------------
  ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 ACK
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
Â
Â
Â
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
Quote: | absolutely not.
codec negotiate depending on your conf. do you have a sip trace?
On Jul 1, 2009, at 2:48 PM, qian ma wrote:
Quote: |
hi all
      freeswitch support PCMU only?
       i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml,  but freeswitch still support PCMU only,
      below is the trace:
     Â
      2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
Â
Â
Â
     how to configure the freeswitch??
     support more codecs???
Â
     thx!
                                                                                                                                                                     m.q
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
god.nirvana at gmail.com Guest
|
Posted: Wed Jul 01, 2009 7:30 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
i want the fs accept the PCMA not PCMU.
i add "PCMA" in global_codec_prefs and outbound_codec_prefs, it doesn't work. FS only accept PCMU.
why??
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | you FS doesn't accept PCMU. try to add "PCMU" on both variables.
On Wed, Jul 1, 2009 at 3:44 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
below is the sip trace:
recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
------------------------------------------------------------------------
INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:9876@58.212.219.104:40508>
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1102u stamp 52345
Content-Length: 237
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
------------------------------------------------------------------------
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Allow-Events: talk, refer
Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
------------------------------------------------------------------------
ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 ACK
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Wed Jul 01, 2009 8:15 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
check the value of "inbound_codec_negotiation" in the sip_profiles/*.xml files. is it "generous" or "greedy"? you should also check if the endpoint is offering PCMU.
On Wed, Jul 1, 2009 at 8:27 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | i want the fs accept the PCMA not PCMU.
i add "PCMA" in global_codec_prefs and outbound_codec_prefs, it doesn't work. FS only accept PCMU.
why??
Â
Â
Â
Â
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | you FS doesn't accept PCMU. try to add "PCMU" on both variables.
On Wed, Jul 1, 2009 at 3:44 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
Â
Â
below is the sip trace:
 recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
  ------------------------------------------------------------------------
  INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  Max-Forwards: 70
  Contact: <sip:9876@58.212.219.104:40508>
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
  Content-Type: application/sdp
  User-Agent: eyeBeam release 1102u stamp 52345
  Content-Length: 237
 Â
  v=0
  o=- 6 2 IN IP4 192.168.1.241
  s=CounterPath eyeBeam 1.5
  c=IN IP4 192.168.1.241
  t=0 0
  m=audio 57862 RTP/AVP 8 101
  a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
  a=fmtp:101 0-15
  a=rtpmap:101 telephone-event/8000
  a=sendrecv
  ------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
  ------------------------------------------------------------------------
  SIP/2.0 100 Trying
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
  ------------------------------------------------------------------------
  SIP/2.0 488 Not Acceptable Here
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Accept: application/sdp
  Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
  Supported: timer, precondition, path, replaces
  Allow-Events: talk, refer
  Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
  ------------------------------------------------------------------------
  ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 ACK
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
Â
Â
Â
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
Quote: | absolutely not.
codec negotiate depending on your conf. do you have a sip trace?
On Jul 1, 2009, at 2:48 PM, qian ma wrote:
Quote: |
hi all
      freeswitch support PCMU only?
       i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml,  but freeswitch still support PCMU only,
      below is the trace:
     Â
      2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
Â
Â
Â
     how to configure the freeswitch??
     support more codecs???
Â
     thx!
                                                                                                                                                                     m.q
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Wed Jul 01, 2009 8:22 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
sorry. i mean check the x-lite client if PCMA is enabled?
On Wed, Jul 1, 2009 at 9:14 PM, Nandy Dagondon <gcd@i.ph (gcd@i.ph)> wrote:
Quote: | check the value of "inbound_codec_negotiation" in the sip_profiles/*.xml files. is it "generous" or "greedy"? you should also check if the endpoint is offering PCMU.
On Wed, Jul 1, 2009 at 8:27 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | i want the fs accept the PCMA not PCMU.
i add "PCMA" in global_codec_prefs and outbound_codec_prefs, it doesn't work. FS only accept PCMU.
why??
Â
Â
Â
Â
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | you FS doesn't accept PCMU. try to add "PCMU" on both variables.
On Wed, Jul 1, 2009 at 3:44 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
Â
Â
below is the sip trace:
 recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
  ------------------------------------------------------------------------
  INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  Max-Forwards: 70
  Contact: <sip:9876@58.212.219.104:40508>
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
  Content-Type: application/sdp
  User-Agent: eyeBeam release 1102u stamp 52345
  Content-Length: 237
 Â
  v=0
  o=- 6 2 IN IP4 192.168.1.241
  s=CounterPath eyeBeam 1.5
  c=IN IP4 192.168.1.241
  t=0 0
  m=audio 57862 RTP/AVP 8 101
  a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
  a=fmtp:101 0-15
  a=rtpmap:101 telephone-event/8000
  a=sendrecv
  ------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
  ------------------------------------------------------------------------
  SIP/2.0 100 Trying
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
  ------------------------------------------------------------------------
  SIP/2.0 488 Not Acceptable Here
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Accept: application/sdp
  Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
  Supported: timer, precondition, path, replaces
  Allow-Events: talk, refer
  Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
  ------------------------------------------------------------------------
  ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 ACK
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
Â
Â
Â
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
Quote: | absolutely not.
codec negotiate depending on your conf. do you have a sip trace?
On Jul 1, 2009, at 2:48 PM, qian ma wrote:
Quote: |
hi all
      freeswitch support PCMU only?
       i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml,  but freeswitch still support PCMU only,
      below is the trace:
     Â
      2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
Â
Â
Â
     how to configure the freeswitch??
     support more codecs???
Â
     thx!
                                                                                                                                                                     m.q
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
|
Back to top |
|
|
god.nirvana at gmail.com Guest
|
Posted: Wed Jul 01, 2009 8:26 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
inbound_codec_negotiation is generous
and the xlite PCMU is enabled.
my var.xml.conf:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA"/>
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | sorry. i mean check the x-lite client if PCMA is enabled?
On Wed, Jul 1, 2009 at 9:14 PM, Nandy Dagondon <gcd@i.ph (gcd@i.ph)> wrote:
Quote: | check the value of "inbound_codec_negotiation" in the sip_profiles/*.xml files. is it "generous" or "greedy"? you should also check if the endpoint is offering PCMU.
On Wed, Jul 1, 2009 at 8:27 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | i want the fs accept the PCMA not PCMU.
i add "PCMA" in global_codec_prefs and outbound_codec_prefs, it doesn't work. FS only accept PCMU.
why??
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | you FS doesn't accept PCMU. try to add "PCMU" on both variables.
On Wed, Jul 1, 2009 at 3:44 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
below is the sip trace:
recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
------------------------------------------------------------------------
INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:9876@58.212.219.104:40508>
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1102u stamp 52345
Content-Length: 237
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
------------------------------------------------------------------------
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Allow-Events: talk, refer
Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
------------------------------------------------------------------------
ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 ACK
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Wed Jul 01, 2009 11:30 am Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
is PCMA enabled in X-Lite, too?
On Wed, Jul 1, 2009 at 9:25 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: |
inbound_codec_negotiation is generous
and the xlite PCMU is enabled.
Â
my var.xml.conf:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA"/>
Â
Â
Â
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | sorry. i mean check the x-lite client if PCMA is enabled?
On Wed, Jul 1, 2009 at 9:14 PM, Nandy Dagondon <gcd@i.ph (gcd@i.ph)> wrote:
Quote: | check the value of "inbound_codec_negotiation" in the sip_profiles/*.xml files. is it "generous" or "greedy"? you should also check if the endpoint is offering PCMU.
On Wed, Jul 1, 2009 at 8:27 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | i want the fs accept the PCMA not PCMU.
i add "PCMA" in global_codec_prefs and outbound_codec_prefs, it doesn't work. FS only accept PCMU.
why??
Â
Â
Â
Â
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | you FS doesn't accept PCMU. try to add "PCMU" on both variables.
On Wed, Jul 1, 2009 at 3:44 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
Â
Â
below is the sip trace:
 recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
  ------------------------------------------------------------------------
  INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  Max-Forwards: 70
  Contact: <sip:9876@58.212.219.104:40508>
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
  Content-Type: application/sdp
  User-Agent: eyeBeam release 1102u stamp 52345
  Content-Length: 237
 Â
  v=0
  o=- 6 2 IN IP4 192.168.1.241
  s=CounterPath eyeBeam 1.5
  c=IN IP4 192.168.1.241
  t=0 0
  m=audio 57862 RTP/AVP 8 101
  a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
  a=fmtp:101 0-15
  a=rtpmap:101 telephone-event/8000
  a=sendrecv
  ------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
  ------------------------------------------------------------------------
  SIP/2.0 100 Trying
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
  ------------------------------------------------------------------------
  SIP/2.0 488 Not Acceptable Here
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 INVITE
  User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
  Accept: application/sdp
  Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
  Supported: timer, precondition, path, replaces
  Allow-Events: talk, refer
  Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
  ------------------------------------------------------------------------
  ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
  Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
  To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
  From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
  Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
  CSeq: 1 ACK
  Content-Length: 0
 Â
  ------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
Â
Â
Â
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
Quote: | absolutely not.
codec negotiate depending on your conf. do you have a sip trace?
On Jul 1, 2009, at 2:48 PM, qian ma wrote:
Quote: |
hi all
      freeswitch support PCMU only?
       i follow the http://wiki.freeswitch.org/wiki/Codecs#sofia.conf.xml,  but freeswitch still support PCMU only,
      below is the trace:
     Â
      2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 14:39:35.571364 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 14:39:35.571364 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 14:39:35.571364 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 14:39:35.571364 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 14:39:35.572807 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
Â
Â
Â
     how to configure the freeswitch??
     support more codecs???
Â
     thx!
                                                                                                                                                                     m.q
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
god.nirvana at gmail.com Guest
|
Posted: Wed Jul 01, 2009 2:32 pm Post subject: [Freeswitch-users] freeswitch support PCMU only? |
|
|
yes,PCMA enabled in x-lite.
doesn't work.
FS accept PCMU only.
2009/7/2 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | is PCMA enabled in X-Lite, too?
On Wed, Jul 1, 2009 at 9:25 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: |
inbound_codec_negotiation is generous
and the xlite PCMU is enabled.
my var.xml.conf:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA"/>
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | sorry. i mean check the x-lite client if PCMA is enabled?
On Wed, Jul 1, 2009 at 9:14 PM, Nandy Dagondon <gcd@i.ph (gcd@i.ph)> wrote:
Quote: | check the value of "inbound_codec_negotiation" in the sip_profiles/*.xml files. is it "generous" or "greedy"? you should also check if the endpoint is offering PCMU.
On Wed, Jul 1, 2009 at 8:27 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | i want the fs accept the PCMA not PCMU.
i add "PCMA" in global_codec_prefs and outbound_codec_prefs, it doesn't work. FS only accept PCMU.
why??
2009/7/1 Nandy Dagondon <gcd@i.ph (gcd@i.ph)>
Quote: | you FS doesn't accept PCMU. try to add "PCMU" on both variables.
On Wed, Jul 1, 2009 at 3:44 PM, qian ma <god.nirvana@gmail.com (god.nirvana@gmail.com)> wrote:
Quote: | thanks for your replies.
my var.xml:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,GSM,iLBC"/>
below is the sip trace:
recv 781 bytes from udp/[58.212.219.104]:40508 at 07:42:37.086711:
------------------------------------------------------------------------
INVITE sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:9876@58.212.219.104:40508>
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1102u stamp 52345
Content-Length: 237
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
------------------------------------------------------------------------
send 380 bytes to udp/[58.212.219.104]:40508 at 07:42:37.087505:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456"<sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.87800 [NOTICE] switch_channel.c:602 New Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [574766e1-e71f-4a62-a659-1d43bea135bd]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3214 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) entering state [received][100]
2009-07-01 15:42:37.87800 [DEBUG] sofia.c:3221 Remote SDP:
v=0
o=- 6 2 IN IP4 192.168.1.241
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.241
t=0 0
m=audio 57862 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : vX+dFqlN ruK7YVXO 192.168.1.241 57862
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [PCMA:8:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3030 Set 2833 dtmf payload to 101
2009-07-01 15:42:37.87800 [DEBUG] sofia_glue.c:3070 Audio Codec Compare [telephone-event:101:8000:0]/[PCMU:0:8000:20]
2009-07-01 15:42:37.87800 [NOTICE] sofia.c:3423 Hangup sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-07-01 15:42:37.87800 [DEBUG] switch_channel.c:1683 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [KILL]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.87800 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_HANGUP
2009-07-01 15:42:37.88976 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:338 Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) hanging up, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.88976 [DEBUG] mod_sofia.c:414 Responding to INVITE with: 488
send 676 bytes to udp/[58.212.219.104]:40508 at 07:42:37.089766:
------------------------------------------------------------------------
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport=40508;received=58.212.219.104
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-13923M
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Allow-Events: talk, refer
Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:46 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:433 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State HANGUP going to sleep
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:475 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_HANGUP -> CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_session.c:933 Send signal sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [BREAK]
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:397 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Running State Change CS_REPORTING
2009-07-01 15:42:37.89978 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING
recv 334 bytes from udp/[58.212.219.104]:40508 at 07:42:37.093591:
------------------------------------------------------------------------
ACK sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email]) SIP/2.0
Via: SIP/2.0/UDP 192.168.1.241:8422;branch=z9hG4bK-d8754z-94087229c9446f5f-1---d8754z-;rport
To: "123456" <sip:123456@58.212.219.104 ([email]sip%3A123456@58.212.219.104[/email])>;tag=28Q0QB73Bm35K
From: "9876"<sip:9876@58.212.219.104 ([email]sip%3A9876@58.212.219.104[/email])>;tag=057de365
Call-ID: M2VlMmEyYWU1MmNhMjEyMGI2NDFkMmRkNjYxYmRmYjY.
CSeq: 1 ACK
Content-Length: 0
------------------------------------------------------------------------
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:53 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:607 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State REPORTING going to sleep
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:410 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State Change CS_REPORTING -> CS_DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_session.c:1067 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Locked, Waiting on external entities
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1085 Session 3 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) Ended
2009-07-01 15:42:37.133976 [NOTICE] switch_core_session.c:1087 Close Channel sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) [CS_DESTROY]
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY
2009-07-01 15:42:37.133976 [DEBUG] mod_sofia.c:255 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) SOFIA DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:60 sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email]) Standard DESTROY
2009-07-01 15:42:37.133976 [DEBUG] switch_core_state_machine.c:559 (sofia/maq/9876@58.212.219.104 ([email]sofia/maq/9876@58.212.219.104[/email])) State DESTROY going to sleep
the freeswitch not accept PCMA
2009/7/1 seven <dujinfang@gmail.com (dujinfang@gmail.com)>
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
nik.middleton at noble... Guest
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|