Skip to content

mod_dptools.c:3635 Originate Failed. Cause: INCOMPATIBLE_DESTINATION #2973

@ycyang77

Description

@ycyang77

I use the jssip client to connect to the back-end sip server via freeswitch. The following information is now available on the freeswitch log:

[INFO] sofia_glue.c:1659 sofia/internal/[email protected] sending invite call-id: (null)
[NOTICE] sofia.c:7604 Ring-Ready sofia/internal/[email protected]!
[NOTICE] mod_sofia.c:2514 Ring-Ready sofia/external/[email protected]!
[NOTICE] switch_ivr_originate.c:572 Ring Ready sofia/external/[email protected]!
[WARNING] switch_core_media.c:4155 NO candidate ACL defined, Defaulting to wan.auto
[NOTICE] avcodec.c:1393 codec: id=27 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[NOTICE] avcodec.c:1393 codec: id=27 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[WARNING] switch_core_media.c:4155 NO candidate ACL defined, Defaulting to wan.auto
[NOTICE] sofia.c:8703 Hangup sofia/internal/[email protected] [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]
[NOTICE] switch_core_session.c:1762 Session 23 (sofia/internal/[email protected]) Ended
[NOTICE] switch_core_session.c:1766 Close Channel sofia/internal/[email protected] [CS_DESTROY]
[NOTICE] switch_ivr_originate.c:3059 Cannot create outgoing channel of type [user] cause: [INCOMPATIBLE_DESTINATION]
[INFO] mod_dptools.c:3635 Originate Failed. Cause: INCOMPATIBLE_DESTINATION
[NOTICE] switch_channel.c:5012 Hangup sofia/external/[email protected] [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]

The messages received and sent by jssip are as follows:
INVITE sip:[email protected];transport=ws SIP/2.0
Via: SIP/2.0/WSS 172.16.224.39:7443;branch=z9hG4bKa6857vymUrcmS
Route: sip:[email protected]:53754;transport=wss
Max-Forwards: 68
From: "02510680" sip:[email protected];tag=ye37ZmQp6j90p
To: sip:[email protected];transport=ws
Call-ID: 1d5c20ad-63bc-123f-4fb2-f316a3ee9a8c
CSeq: 109193968 INVITE
Contact: sip:[email protected]:5060
User-Agent: FreeSWITCH-mod_sofia/1.10.12-releasea88d06964bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uac
Min-SE: 120
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 2001
X-FS-Support: update_display,send_info
Remote-Party-ID: "02510680" sip:[email protected];party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1767469050 1767469051 IN IP4 172.16.224.39
s=FreeSWITCH
c=IN IP4 172.16.224.39
t=0 0
a=msid-semantic: WMS QzjxZ47wTur0lxRLHqYdVreLrHzTvqOV
m=audio 26470 RTP/SAVPF 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fingerprint:sha-256 70:54:EF:7F:42:E7:B1:65:32:5E:D5:13:36:1A:24:5C:D2:45:62:E0:FE:CF:D0:27:D5:17:46:72:5A:BB:D0:EE
a=setup:actpass
a=rtcp-mux
a=rtcp:26470 IN IP4 172.16.224.39
a=ssrc:3599423480 cname:M1hp4JE6z2iiuc0k
a=ssrc:3599423480 msid:QzjxZ47wTur0lxRLHqYdVreLrHzTvqOV a0
a=ssrc:3599423480 mslabel:QzjxZ47wTur0lxRLHqYdVreLrHzTvqOV
a=ssrc:3599423480 label:QzjxZ47wTur0lxRLHqYdVreLrHzTvqOVa0
a=ice-ufrag:OBoH8AOgvmFtT09h
a=ice-pwd:MH0vpdeuZl5cgG0vUOvt1jR7
a=candidate:1161653678 1 udp 2130706431 172.16.224.39 26470 typ host generation 0
a=candidate:1161653678 2 udp 2130706431 172.16.224.39 26470 typ host generation 0
a=ptime:20
m=video 17492 RTP/SAVPF 106 107
b=AS:3072
a=rtpmap:106 H264/90000
a=fmtp:106 profile-level-id=428016;max-br=1920;max-mbps=54000;max-fs=1792
a=rtpmap:107 H264/90000
a=fmtp:107 profile-level-id=648028;max-br=768;max-mbps=123000;max-fs=8192
a=fingerprint:sha-256 70:54:EF:7F:42:E7:B1:65:32:5E:D5:13:36:1A:24:5C:D2:45:62:E0:FE:CF:D0:27:D5:17:46:72:5A:BB:D0:EE
a=setup:actpass
a=rtcp-mux
a=rtcp:17492 IN IP4 172.16.224.39
a=rtcp-fb:106 ccm fir
a=rtcp-fb:106 ccm tmmbr
a=rtcp-fb:106 nack
a=rtcp-fb:106 nack pli
a=rtcp-fb:107 ccm fir
a=rtcp-fb:107 ccm tmmbr
a=rtcp-fb:107 nack
a=rtcp-fb:107 nack pli
a=ssrc:2715697440 cname:M1hp4JE6z2iiuc0k
a=ssrc:2715697440 msid:QzjxZ47wTur0lxRLHqYdVreLrHzTvqOV v0
a=ssrc:2715697440 mslabel:QzjxZ47wTur0lxRLHqYdVreLrHzTvqOV
a=ssrc:2715697440 label:QzjxZ47wTur0lxRLHqYdVreLrHzTvqOVv0
a=ice-ufrag:r7xB4Q5tUQvjwUUD
a=ice-pwd:z4kA4svUTs02byg3p0Q6hhLH
a=candidate:2749517523 1 udp 2130706431 172.16.224.39 17492 typ host generation 0
a=candidate:2749517523 2 udp 2130706430 172.16.224.39 17492 typ host generation 0
a=end-of-candidates

SIP/2.0 200 OK
Via: SIP/2.0/WSS 172.16.224.39:7443;branch=z9hG4bKa6857vymUrcmS
To: sip:[email protected];transport=ws;tag=0lfcgmc4uc
From: "02510680" sip:[email protected];tag=ye37ZmQp6j90p
Call-ID: 1d5c20ad-63bc-123f-4fb2-f316a3ee9a8c
CSeq: 109193968 INVITE
Contact: sip:[email protected];transport=ws
Session-Expires: 120;refresher=uac
Supported: timer,ice,replaces,outbound
Content-Type: application/sdp
Content-Length: 2512

v=0
o=- 8283930169363115044 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS 3793c5e5-a100-42bf-b8b0-90e237025b20
m=audio 63062 RTP/SAVPF 8 0 101
c=IN IP4 172.16.224.39
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2799159767 1 udp 2122260223 172.16.224.39 63062 typ host generation 0 network-id 1
a=candidate:2325476998 1 udp 2122194687 192.168.101.1 63063 typ host generation 0 network-id 2
a=candidate:1303313734 1 udp 2122129151 192.168.58.1 63064 typ host generation 0 network-id 3
a=candidate:1484594499 1 tcp 1518280447 172.16.224.39 9 typ host tcptype active generation 0 network-id 1
a=candidate:1949377042 1 tcp 1518214911 192.168.101.1 9 typ host tcptype active generation 0 network-id 2
a=candidate:3003394514 1 tcp 1518149375 192.168.58.1 9 typ host tcptype active generation 0 network-id 3
a=ice-ufrag:UnPU
a=ice-pwd:vMnAXqexj74uEed5cCeRRORo
a=ice-options:trickle
a=fingerprint:sha-256 54:ED:AB:00:6A:40:EE:26:24:DC:07:2C:F2:D9:02:D1:7E:6D:A1:28:92:97:60:82:38:D3:81:F0:E5:DF:2E:4F
a=setup:active
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=ssrc:1715740301 cname:4OF++gIYcLY7g3iS
a=ssrc:1715740301 msid:3793c5e5-a100-42bf-b8b0-90e237025b20 d5f92580-f56d-4052-8eae-ccebc492f0e4
m=video 63065 RTP/SAVPF 106
c=IN IP4 172.16.224.39
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2799159767 1 udp 2122260223 172.16.224.39 63065 typ host generation 0 network-id 1
a=candidate:2325476998 1 udp 2122194687 192.168.101.1 63066 typ host generation 0 network-id 2
a=candidate:1303313734 1 udp 2122129151 192.168.58.1 63067 typ host generation 0 network-id 3
a=candidate:1484594499 1 tcp 1518280447 172.16.224.39 9 typ host tcptype active generation 0 network-id 1
a=candidate:1949377042 1 tcp 1518214911 192.168.101.1 9 typ host tcptype active generation 0 network-id 2
a=candidate:3003394514 1 tcp 1518149375 192.168.58.1 9 typ host tcptype active generation 0 network-id 3
a=ice-ufrag:C9hC
a=ice-pwd:O143LKdzcraMX1OfHbEgE7+s
a=ice-options:trickle
a=fingerprint:sha-256 54:ED:AB:00:6A:40:EE:26:24:DC:07:2C:F2:D9:02:D1:7E:6D:A1:28:92:97:60:82:38:D3:81:F0:E5:DF:2E:4F
a=setup:active
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtpmap:106 H264/90000
a=rtcp-fb:106 ccm fir
a=rtcp-fb:106 nack
a=rtcp-fb:106 nack pli
a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=420016
a=ssrc:3602945272 cname:4OF++gIYcLY7g3iS
a=ssrc:3602945272 msid:3793c5e5-a100-42bf-b8b0-90e237025b20 684335da-89d9-4ee6-9757-98fd85c83936

what should i do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions