[Freeswitch-users] Reasons for call dropped/RFC2543 incompatible destination

Robert Fitzjohn rehfjo at gmail.com
Sat Dec 19 15:50:01 UTC 2020


Hello,
Replying to my own message in case it helps anyone else. Updated to FS
1.10.5 - issue persists.

Digging a little, it possibly looks like FS doesn't like the m=...SAVP
without any crypto lines? Not sure... I don't think it was related to the
RFC2543 warning.
setting rtp_secure_media_outbound=forbidden on the bridge call to the
gateway, meaning FS sends only RTP/AVP, I get back a more normal looking
183, and the call proceeds as normal.
I don't know enough about the SIP spec to be able to tell if my gateway
returning an m= ..SAVP line without any accompanying crypto lines is valid
or not - or even if this was the definite cause of the problem, but it's
solved.
Regards
RF.

On Fri, 11 Dec 2020 at 14:31, Robert Fitzjohn <rehfjo at gmail.com> wrote:

>
> Hello,
> FreeSwitch v. 1.6.20
> I'm calling my own mobile no. via my localphone gateway, and while this
> used to work when I last tested it a while ago, recently the call no longer
> goes through, with freeswitch dropping the call with the RFC2543 warning
> and then 'incompatible destination'. Codecs on both sides look good &
> calling other mobile numbers on other networks via the same gateway works
> fine, for what it's worth.
>
> The fuller/anonymized paste is at:
> https://pastebin.freeswitch.org/view/ddafee03 but the bits which I think
> matter are below.
> Could someone give me any hints as to whether this is a FS issue or
> whether the problem lies with my gateway or otherwise.
>
> Thanks
>
>
>    - recv 1205 bytes from udp/[94.0.0.0]:5060 at 10:21:18.751270:
>    -
>     ------------------------------------------------------------------------
>    -    SIP/2.0 183 Session Progress
>    -    Via: SIP/2.0/UDP 45.0.0.0:5080
>    ;rport=5080;branch=z9hG4bKHNUQK4208H7Br
>    -    Record-Route: <sip:95.0.0.0:5070
>    ;lr;ftag=lp-2k9-5ee88476-00002a55-0005d2b3R2d70439b.a>,<sip:94.1.1.1;lr=on>,<sip:94.0.0.0;lr=on;ftag=B3N7U1NHeem0F;an=YWJjREVENjg5JiUnPDkyE2laNj48LXtVYWEGaiYpXA-->
>    -    To: <sip:447970000000 at proxy.localphone.com
>    >;tag=lp-2k9-5ee88476-00002a55-0005d2b3R2d70439b.b
>    -    From: "Robert" <sip:1234567 at localphone.com>;tag=B3N7U1NHeem0F
>    -    Call-ID: 45818239-b574-1239-8a8e-5600002a6bbb
>    -    CSeq: 29244045 INVITE
>    -    Allow:
>    PUBLISH,MESSAGE,PRACK,SUBSCRIBE,REFER,INFO,NOTIFY,OPTIONS,BYE,INVITE,ACK,CANCEL
>    -    Contact: <sip:94.2.2.2;did=2d6.a9862935>
>    -    Content-Type: application/sdp
>    -    Content-Length: 474
>    -
>    -    v=0
>    -    o=UK1-SBC-15-1 70259913 70259914 IN IP4 0.0.0.0
>    -    s=sip call
>    -    c=IN IP4 0.0.0.0
>    -    t=0 0
>    -    m=audio 0 RTP/SAVP 18 8 0 101
>    -    a=rtpmap:18 G729/8000
>    -    a=fmtp:18 annexb=no
>    -    a=rtpmap:8 PCMA/8000
>    -    a=rtpmap:0 PCMU/8000
>    -    a=rtpmap:101 telephone-event/8000
>    -    a=fmtp:101 0-15
>    -    a=ptime:20
>    -    m=audio 0 RTP/AVP 18 8 0 101
>    -    a=rtpmap:18 G729/8000
>    -    a=fmtp:18 annexb=no
>    -    a=rtpmap:8 PCMA/8000
>    -    a=rtpmap:0 PCMU/8000
>    -    a=rtpmap:101 telephone-event/8000
>    -    a=fmtp:101 0-15
>    -    a=ptime:20
>    -    a=nortpproxy:yes
>    -
>     ------------------------------------------------------------------------
>    - 2020-12-10 10:21:18.738771 [DEBUG] sofia.c:7084 Channel
>    sofia/external/447970000000 entering state [proceeding][183]
>    - 2020-12-10 10:21:18.738771 [NOTICE] sofia.c:7192 Ring-Ready
>    sofia/external/447970000000!
>    - 2020-12-10 10:21:18.738771 [DEBUG] switch_channel.c:3346
>    (sofia/external/447970000000) Callstate Change DOWN -> RINGING
>    - 2020-12-10 10:21:18.738771 [DEBUG] sofia.c:7084 Channel
>    sofia/external/447970000000 entering state [proceeding][183]
>    - 2020-12-10 10:21:18.738771 [DEBUG] sofia.c:7094 Remote SDP:
>    - v=0
>
>    - o=UK1-SBC-15-1 70259913 70259914 IN IP4 0.0.0.0
>
>    - s=sip call
>    - c=IN IP4 0.0.0.0
>    - t=0 0
>
>    - m=audio 0 RTP/SAVP 18 8 0 101
>    - m=audio 0 RTP/AVP 18 8 0 101
>
>
>
>    -
>    - 2020-12-10 10:21:18.738771 [WARNING] switch_core_media.c:3951
>    RFC2543 from March 1999 called; They want their 0.0.0.0 hold method
>    back.....
>    - 2020-12-10 10:21:18.738771 [NOTICE] sofia.c:7273 Hangup
>    sofia/external/447970000000 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]
>    - 2020-12-10 10:21:18.738771 [DEBUG] switch_core_state_machine.c:584
>    (sofia/external/447970000000) Running State Change CS_HANGUP (Cur 4 Tot 65)
>    - 2020-12-10 10:21:18.738771 [DEBUG] switch_core_state_machine.c:850
>    (sofia/external/447970000000) Callstate Change RINGING -> HANGUP
>    - 2020-12-10 10:21:18.738771 [DEBUG] switch_core_state_machine.c:852
>    (sofia/external/447970000000) State HANGUP
>    - 2020-12-10 10:21:18.738771 [DEBUG] mod_sofia.c:438 Channel
>    sofia/external/447970000000 hanging up, cause: INCOMPATIBLE_DESTINATION
>
>
>
>
>
>

-- 
Robert Fitzjohn
+44 7971 291 238
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201219/179dd1d3/attachment-0001.html>


More information about the FreeSWITCH-users mailing list