[Freeswitch-users] G729 - [INCOMPATIBLE_DESTINATION]

Steven Ayre steveayre at gmail.com
Mon Dec 17 14:21:24 MSK 2012


>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[G729:18:8000:20:8000]

This looks odd, although I'm not sure why it's not working.

The remote endpoint is using the static payload type 0 for G729. Normally
that's reserved for G711 ulaw, while G729 uses 18. But the rtpmap should
allow overriding that.

> G729:0:8000:20:64000


The 64000 rate here also looks odd - it's comparing 64khz to 8khz and I
suspect that's also a reason why it doesn't recognise it. I don't know
where that 64000 is coming from though.

-Steve





On 17 December 2012 07:31, Balamurugan Mahendran <b2m at a-cti.com> wrote:

> Thanks for the help!!  Please let me know if I missed anything.
>
>  <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,SILK at 8000h
> ,SILK at 12000h,SILK at 16000h,SILK at 24000h,G7221 at 32000h,G7221 at 16000h
> ,G722,PCMU,PCMA,GSM"/>
>   <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,SILK at 8000h
> ,SILK at 12000h,SILK at 16000h,SILK at 24000h,G7221 at 32000h,G7221 at 16000h
> ,G722,PCMU,PCMA,GSM"/>
>
>
>  freeswitch at internal> g729_info
> Permitted G729 channels: 10
> Encoders in use: 4
> Decoders in use: 3
>
> freeswitch at internal>
>
>
>
> recv 742 bytes from udp/[182.79.149.142]:16251 at 07:27:19.212195:
>
>    ------------------------------------------------------------------------
>
>    INVITE sip:500 at 50.54.12.39 SIP/2.0
>
>    Via: SIP/2.0/UDP 182.79.149.142:16251;rport;branch=z9hG4bK68891
>
>    Route: <sip:50.54.12.39;transport=udp;lr>
>
>    Max-Forwards: 70
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK03044060
>
>    To: <sip:500 at 50.54.12.39>
>
>    Call-ID: 047707180743 at 10.4.2.7
>
>    CSeq: 1 INVITE
>
>    Contact: <sip:501 at 182.79.149.142:16251;transport=udp>
>
>    Allow:  INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS
>
>    Expires: 3600
>
>    User-Agent: SyncPhone 1.0
>
>    Content-Length: 244
>
>    Content-Type: application/sdp
>
>
>
>    v=0
>
>    o=- 1111 1111 IN IP4 182.79.149.142
>
>    s=Session SIP/SDP
>
>    c=IN IP4 182.79.149.142
>
>    t=0 0
>
>    a=sendrecv
>
>    a=rtcp:57395 IN IP4 182.79.149.142
>
>    m=audio 26474 RTP/AVP 0 101
>
>    a=rtpmap:0 G729/8000
>
>    a=rtpmap:101 telephone-event/8000
>
>    a=fmtp:101 0-15
>
>    ------------------------------------------------------------------------
>
> send 321 bytes to udp/[182.79.149.142]:16251 at 07:27:19.212520:
>
>    ------------------------------------------------------------------------
>
>    SIP/2.0 100 Trying
>
>    Via: SIP/2.0/UDP 182.79.149.142:16251;rport=16251;branch=z9hG4bK68891
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK03044060
>
>    To: <sip:500 at 50.54.12.39>
>
>    Call-ID: 047707180743 at 10.4.2.7
>
>    CSeq: 1 INVITE
>
>    User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28
> 18-32-35 -0600
>
>    Content-Length: 0
>
>
>
>    ------------------------------------------------------------------------
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia.c:7481 IP 182.79.149.142 Approved
> by acl "domains[]". Access Granted.
>
> 2012-12-17 07:27:19.206419 [NOTICE] switch_channel.c:930 New Channel
> sofia/internal/501 at 50.54.12.39 [30a75cd4-481b-11e2-84b4-e5c28303057e]
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:362
> (sofia/internal/501 at 50.54.12.39) Running State Change CS_NEW
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:380
> (sofia/internal/501 at 50.54.12.39) State NEW
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia.c:5502 Channel sofia/internal/
> 501 at 50.54.12.39 entering state [received][100]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia.c:5513 Remote SDP:
>
> v=0
>
> o=- 1111 1111 IN IP4 182.79.149.142
>
> s=Session SIP/SDP
>
> c=IN IP4 182.79.149.142
>
> t=0 0
>
> a=sendrecv
>
> a=rtcp:57395 IN IP4 182.79.149.142
>
> m=audio 26474 RTP/AVP 0 101
>
> a=rtpmap:0 G729/8000
>
> a=rtpmap:101 telephone-event/8000
>
> a=fmtp:101 0-15
>
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[G729:18:8000:20:8000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[SILK:117:8000:20:20000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[SILK:118:12000:20:25000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[SILK:119:16000:20:30000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[SILK:120:24000:20:40000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[G7221:115:32000:20:48000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[G7221:107:16000:20:32000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[G722:9:8000:20:64000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[PCMU:0:8000:20:64000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[PCMA:8:8000:20:64000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [G729:0:8000:20:64000]/[GSM:3:8000:20:13200]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[G729:18:8000:20:8000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[SILK:117:8000:20:20000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[SILK:118:12000:20:25000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[SILK:119:16000:20:30000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[SILK:120:24000:20:40000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[G7221:115:32000:20:48000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[G7221:107:16000:20:32000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[G722:9:8000:20:64000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[PCMU:0:8000:20:64000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[PCMA:8:8000:20:64000]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [telephone-event:101:8000:20:0]/[GSM:3:8000:20:13200]
>
> 2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4919 Set 2833 dtmf
> send/recv payload to 101
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_channel.c:2852 (sofia/internal/
> 501 at 50.54.12.39) Callstate Change DOWN -> HANGUP
>
> 2012-12-17 07:27:19.206419 [NOTICE] sofia.c:5781 Hangup sofia/internal/
> 501 at 50.54.12.39 [CS_NEW] [INCOMPATIBLE_DESTINATION]
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_channel.c:2875 Send signal
> sofia/internal/501 at 50.54.12.39 [KILL]
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1180 Send signal
> sofia/internal/501 at 50.54.12.39 [BREAK]
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:362
> (sofia/internal/501 at 50.54.12.39) Running State Change CS_HANGUP
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:602
> (sofia/internal/501 at 50.54.12.39) State HANGUP
>
> 2012-12-17 07:27:19.206419 [DEBUG] mod_sofia.c:469 Channel sofia/internal/
> 501 at 50.54.12.39 hanging up, cause: INCOMPATIBLE_DESTINATION
>
> 2012-12-17 07:27:19.206419 [DEBUG] mod_sofia.c:534 Responding to INVITE
> with: 488
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:47
> sofia/internal/501 at 50.54.12.39 Standard HANGUP, cause:
> INCOMPATIBLE_DESTINATION
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:602
> (sofia/internal/501 at 50.54.12.39) State HANGUP going to sleep
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:393
> (sofia/internal/501 at 50.54.12.39) State Change CS_HANGUP -> CS_REPORTING
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1180 Send signal
> sofia/internal/501 at 50.54.12.39 [BREAK]
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:362
> (sofia/internal/501 at 50.54.12.39) Running State Change CS_REPORTING
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:662
> (sofia/internal/501 at 50.54.12.39) State REPORTING
>
> send 816 bytes to udp/[182.79.149.142]:16251 at 07:27:19.215295:
>
>    ------------------------------------------------------------------------
>
>    SIP/2.0 488 Not Acceptable Here
>
>    Via: SIP/2.0/UDP 182.79.149.142:16251;rport=16251;branch=z9hG4bK68891
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK03044060
>
>    To: <sip:500 at 50.54.12.39>;tag=8K31Z9S2DymjN
>
>    Call-ID: 047707180743 at 10.4.2.7
>
>    CSeq: 1 INVITE
>
>    User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28
> 18-32-35 -0600
>
>    Accept: application/sdp
>
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>
>    Supported: timer, precondition, path, replaces
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:79
> sofia/internal/501 at 50.54.12.39 Standard REPORTING, cause:
> INCOMPATIBLE_DESTINATION
>
>    Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla,
> include-session-description, presence.winfo, message-summary, refer
>
>    Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"2012-12-17
> 07:27:19.206419 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/
> 501 at 50.54.12.39) State REPORTING going to sleep
>
>
>    Content-Length: 0
>
>    Remote-Party-ID: "500" <sip:500 at 50.54.12.39
> >;party=calling;privacy=off;screen=no
>
>
>
>    ------------------------------------------------------------------------
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:387
> (sofia/internal/501 at 50.54.12.39) State Change CS_REPORTING -> CS_DESTROY
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1180 Send signal
> sofia/internal/501 at 50.54.12.39 [BREAK]
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1380 Session 204
> (sofia/internal/501 at 50.54.12.39) Locked, Waiting on external entities
>
> 2012-12-17 07:27:19.206419 [NOTICE] switch_core_session.c:1398 Session 204
> (sofia/internal/501 at 50.54.12.39) Ended
>
> 2012-12-17 07:27:19.206419 [NOTICE] switch_core_session.c:1400 Close
> Channel sofia/internal/501 at 50.54.12.39 [CS_DESTROY]
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:491
> (sofia/internal/501 at 50.54.12.39) Callstate Change HANGUP -> DOWN
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:494
> (sofia/internal/501 at 50.54.12.39) Running State Change CS_DESTROY
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:504
> (sofia/internal/501 at 50.54.12.39) State DESTROY
>
> 2012-12-17 07:27:19.206419 [DEBUG] mod_sofia.c:374 sofia/internal/
> 501 at 50.54.12.39 SOFIA DESTROY
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:86
> sofia/internal/501 at 50.54.12.39 Standard DESTROY
>
> 2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:504
> (sofia/internal/501 at 50.54.12.39) State DESTROY going to sleep
>
> recv 407 bytes from udp/[182.79.149.142]:16251 at 07:27:19.581401:
>
>    ------------------------------------------------------------------------
>
>    ACK sip:500 at 50.54.12.39 SIP/2.0
>
>    Via: SIP/2.0/UDP 182.79.149.142:16251;rport;branch=z9hG4bK68891
>
>    Route: <sip:50.54.12.39;transport=udp;lr>
>
>    Max-Forwards: 70
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK03044060
>
>    To: <sip:500 at 50.54.12.39>;tag=8K31Z9S2DymjN
>
>    Call-ID: 047707180743 at 10.4.2.7
>
>    CSeq: 1 ACK
>
>    Allow:  INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS
>
>    User-Agent: SyncPhone 1.0
>
>    Content-Length: 0
>
>
>
>    ------------------------------------------------------------------------
>
> recv 465 bytes from udp/[182.79.149.142]:36420 at 07:27:20.672450:
>
>    ------------------------------------------------------------------------
>
>    REGISTER sip:50.54.12.39 SIP/2.0
>
>    Via: SIP/2.0/UDP 182.79.149.142:36420;rport;branch=z9hG4bK20451
>
>    Route: <sip:50.54.12.39;transport=udp;lr>
>
>    Max-Forwards: 70
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK35760121
>
>    To: <sip:501 at 50.54.12.39>
>
>    Call-ID: 790899967509 at 10.4.2.7
>
>    CSeq: 1 REGISTER
>
>    Contact: <sip:501 at 182.79.149.142:36420;transport=udp>
>
>    Allow:  INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS
>
>    Expires: 3600
>
>    User-Agent: SyncPhone 1.0
>
>    Content-Length: 0
>
>
>
>    ------------------------------------------------------------------------
>
> 2012-12-17 07:27:20.666425 [DEBUG] sofia_reg.c:1417 Send challenge for [
> 501 at 50.54.12.39]
>
> 2012-12-17 07:27:20.666425 [WARNING] sofia_reg.c:1421 SIP auth challenge
> (REGISTER) on sofia profile 'internal' for [501 at 50.54.12.39] from ip
> 182.79.149.142
>
> send 626 bytes to udp/[182.79.149.142]:36420 at 07:27:20.673200:
>
>    ------------------------------------------------------------------------
>
>    SIP/2.0 401 Unauthorized
>
>    Via: SIP/2.0/UDP 182.79.149.142:36420;rport=36420;branch=z9hG4bK20451
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK35760121
>
>    To: <sip:501 at 50.54.12.39>;tag=9vvt14a6a7a5g
>
>    Call-ID: 790899967509 at 10.4.2.7
>
>    CSeq: 1 REGISTER
>
>    User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28
> 18-32-35 -0600
>
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>
>    Supported: timer, precondition, path, replaces
>
>    WWW-Authenticate: Digest realm="50.54.12.39",
> nonce="31862298-481b-11e2-84b6-e5c28303057e", algorithm=MD5, qop="auth"
>
>    Content-Length: 0
>
>
>
>    ------------------------------------------------------------------------
>
> recv 707 bytes from udp/[182.79.149.142]:36420 at 07:27:21.094563:
>
>    ------------------------------------------------------------------------
>
>    REGISTER sip:50.54.12.39 SIP/2.0
>
>    Via: SIP/2.0/UDP 182.79.149.142:36420;rport;branch=z9hG4bK84890
>
>    Route: <sip:50.54.12.39;transport=udp;lr>
>
>    Max-Forwards: 70
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK35760121
>
>    To: <sip:501 at 50.54.12.39>
>
>    Call-ID: 790899967509 at 10.4.2.7
>
>    CSeq: 2 REGISTER
>
>    Allow:  INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS
>
>    Expires: 3600
>
>    User-Agent: SyncPhone 1.0
>
>    Contact: <sip:501 at 182.79.149.142:36420;transport=udp>
>
>    Authorization: Digest username="501", realm="50.54.12.39",
> nonce="31862298-481b-11e2-84b6-e5c28303057e", uri="sip:50.54.12.39",
> algorithm=MD5, qop=auth, nc=00000001, cnonce="a5d0aab2288476b3",
> response="eb8ccc768c7f9fee038f0d5dfc599931"
>
>    Content-Length: 0
>
>
>
>    ------------------------------------------------------------------------
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'record_stereo' = 'true'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'default_gateway' = 'example.com'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'default_areacode' = '918'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'transfer_fallback_extension' = 'operator'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'toll_allow' = 'domestic,international,local'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'accountcode' = '501'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'user_context' = 'default'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'effective_caller_id_name' = 'Extension 501'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'effective_caller_id_number' = '501'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'outbound_caller_id_name' = 'FS'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'outbound_caller_id_number' = '9732386040'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header ->
> 'callgroup' = 'techsupport'
>
> 2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:1575 Register:
>
> From:    [501 at 10.252.148.21]
>
> Contact: ["user" <sip:501 at 182.79.149.142:36420;transport=udp>]
>
> Expires: [3600]
>
> send 600 bytes to udp/[182.79.149.142]:36420 at 07:27:21.096965:
>
>    ------------------------------------------------------------------------
>
>    SIP/2.0 200 OK
>
>    Via: SIP/2.0/UDP 182.79.149.142:36420;rport=36420;branch=z9hG4bK84890
>
>    From: <sip:501 at 50.54.12.39>;tag=z9hG4bK35760121
>
>    To: <sip:501 at 50.54.12.39>;tag=a6NK3ZU97F1Qc
>
>    Call-ID: 790899967509 at 10.4.2.7
>
>    CSeq: 2 REGISTER
>
>    Contact: <sip:501 at 182.79.149.142:36420;transport=udp>;expires=3600
>
>    Date: Mon, 17 Dec 2012 07:27:21 GMT
>
>    User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28
> 18-32-35 -0600
>
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>
>    Supported: timer, precondition, path, replaces
>
>    Content-Length: 0
>
>
>
>    ------------------------------------------------------------------------
>
> send 926 bytes to udp/[182.79.149.142]:36420 at 07:27:21.112029:
>
>    ------------------------------------------------------------------------
>
>    NOTIFY sip:501 at 182.79.149.142:36420;transport=udp SIP/2.0
>
>    Via: SIP/2.0/UDP 50.54.12.39;rport;branch=z9hG4bKXXQBeBHUQ5yZp
>
>    Max-Forwards: 70
>
>    From: <sip:501 at 50.54.12.39>;tag=BFFc5tcD5rQar
>
>    To: <sip:501 at 50.54.12.39>
>
>    Call-ID: 09276738-c2be-1230-ec86-22000afc9415
>
>    CSeq: 37528556 NOTIFY
>
>    Contact: <sip:mod_sofia at 50.54.12.39:5060>
>
>    User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28
> 18-32-35 -0600
>
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>
>    Supported: timer, precondition, path, replaces
>
>    Event: message-summary
>
>    Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla,
> include-session-description, presence.winfo, message-summary, refer
>
>    Subscription-State: terminated;reason=noresource
>
>    Content-Type: application/simple-message-summary
>
>    Content-Length: 64
>
>
>
>    Messages-Waiting: no
>
>    Message-Account: sip:501 at 10.252.148.21
>
>
>
>    ------------------------------------------------------------------------
>
> recv 295 bytes from udp/[182.79.149.142]:36420 at 07:27:21.531463:
>
>    ------------------------------------------------------------------------
>
>    SIP/2.0 405 Method Not Allowed
>
>    Via: SIP/2.0/UDP 50.54.12.39;branch=z9hG4bKXXQBeBHUQ5yZp;rport=5060
>
>    To: <sip:501 at 50.54.12.39>
>
>    From: <sip:501 at 50.54.12.39>;tag=BFFc5tcD5rQar
>
>    Call-ID: 09276738-c2be-1230-ec86-22000afc9415
>
>    CSeq: 37528556 NOTIFY
>
>    Server: SyncPhone 1.0
>
>    Content-Length: 0
>
>
>
>    ------------------------------------------------------------------------
>
>
>
>
> On Mon, Dec 17, 2012 at 2:25 AM, curriegrad2004 <curriegrad2004 at gmail.com>wrote:
>
>> If he is using mod_g729 then the log would throw an error saying that
>> the codec only does passthrough mode, however he hasn't shown that
>> part of the log to us yet
>>
>> On Sun, Dec 16, 2012 at 12:05 PM, Steven Ayre <steveayre at gmail.com>
>> wrote:
>> > What G729 module are you using, and what codec is in use on the other
>> leg?
>> >
>> > G729 needs licenses due to patents.
>> >
>> > mod_g729 is passthrough only but requires no licenses. This is because
>> it
>> > merely forwards the data, but doesn't perform the encoding/transcoding
>> step
>> > that the patents cover. But that means it can't transcode between
>> different
>> > codecs.
>> > mod_com_g729 is the licensed version:
>> http://www.freeswitch.org/node/235
>> >
>> > With the passthrough mod_g729 codec, if the other leg has selected a
>> codec
>> > other than g729 you'll see an error in your logs and it'll hangup with
>> that
>> > reason.
>> >
>> > You can tweak your codec negotiation to avoid this (eg
>> > late-negotiation=true), or you can use the licensed version.
>> >
>> >
>> >
>> >
>> > On 16 December 2012 11:40, Balamurugan Mahendran <b2m at a-cti.com> wrote:
>> >>
>> >> Need help on Codec Negotiation
>> >>
>> >>
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[G729:18:8000:20:8000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[SILK:117:8000:20:20000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[SILK:118:12000:20:25000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[SILK:119:16000:20:30000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[SILK:120:24000:20:40000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[G7221:115:32000:20:48000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[G7221:107:16000:20:32000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[G722:9:8000:20:64000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[PCMU:0:8000:20:64000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[PCMA:8:8000:20:64000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [G729:0:8000:20:64000]/[GSM:3:8000:20:13200]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[G729:18:8000:20:8000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[SILK:117:8000:20:20000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[SILK:118:12000:20:25000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[SILK:119:16000:20:30000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[SILK:120:24000:20:40000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[G7221:115:32000:20:48000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[G7221:107:16000:20:32000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[G722:9:8000:20:64000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[PCMU:0:8000:20:64000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[PCMA:8:8000:20:64000]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec
>> Compare
>> >> [telephone-event:101:8000:20:0]/[GSM:3:8000:20:13200]
>> >> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4919 Set 2833 dtmf
>> >> send/recv payload to 101
>> >>
>> >>
>> >> 2012-12-16 11:35:52.246422 [DEBUG] switch_channel.c:2852
>> >> (sofia/internal/501 at 50.54.12.39) Callstate Change DOWN -> HANGUP
>> >> 2012-12-16 11:35:52.246422 [NOTICE] sofia.c:5781 Hangup
>> >> sofia/internal/501 at 50.54.12.39 [CS_NEW] [INCOMPATIBLE_DESTINATION]
>> >>
>> >> Thanks,
>> >> Bala
>> >>
>> >>
>> >>
>> _________________________________________________________________________
>> >> Professional FreeSWITCH Consulting Services:
>> >> consulting at freeswitch.org
>> >> http://www.freeswitchsolutions.com
>> >>
>> >> 
>> >> 
>> >>
>> >> Official FreeSWITCH Sites
>> >> http://www.freeswitch.org
>> >> http://wiki.freeswitch.org
>> >> http://www.cluecon.com
>> >>
>> >> FreeSWITCH-users mailing list
>> >> FreeSWITCH-users at lists.freeswitch.org
>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >> http://www.freeswitch.org
>> >>
>> >
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > 
>> > 
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121217/359bdcfc/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list