no ringing on forwarded calls

Status
Not open for further replies.

vespaman

Member
Jul 28, 2017
49
2
8
Kia Ora,

I have a small FPBX server on a site,

4.5.9
1.10.1 (64bit)
debian 9.11

I'm using 5060 and UDP for sip.

The sip trunk is in a call flow that sends the call to an internal extension that is then forwarded to an answer service at night.

When you ring the number externally sometimes it goes through to the answer service.

Other times there is no ringing and the call doesn't seem to go anywhere. Using the active calls on the GUI you can see the call is in progress but you cant hear anything.

If you call the forwarded extn internally from an extension it works fine.

I couldn't attach the pcap file for some reason so just copied it out as below. It looks to me like the diverted call is trying to use port 5080 but I'm a bit lost.

appreciate any help.


INVITE sip:gw+935d8d7b-783c-42f6-8776-6ce935f0b2cb@Y.Y.Y.Y:5080;transport=udp;gw=935d8d7b-783c-42f6-8776-6ce935f0b2cb SIP/2.0
Max-Forwards: 33
To: "6432144529" <sip:6432144529@X.X.X.X:5080>
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bK239954147
From: "64272950445" <sip:XXXXXXXX@XXXXXX.co.nz>;tag=279976047
CSeq: 6750300 INVITE
User-Agent: DCOMFS/2.0
Contact: <sip:64272950445@X.X.X.X:5060>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:28 GMT
Content-Type: application/sdp
Content-Length: 277

v=0
o=dcom 1576472788 1576472788 IN IP4 X.X.X.X
s=SIP Call
c=IN IP4 X.X.X.X
t=0 0
m=audio 15016 RTP/AVP 8 0 18 101
a=silenceSupp:eek:ff - - - -
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;rport=5060;branch=z9hG4bK239954147
From: "64272950445" <sip:XXXXXXXX@X.X.X.X>;tag=279976047
To: "6432144529" <sip:6432144529@Y.Y.Y.Y:5080>
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
CSeq: 6750300 INVITE
User-Agent: FreeSWITCH
Content-Length: 0

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP X.X.X.X:5060;rport=5060;branch=z9hG4bK239954147
From: "64272950445" <sip:XXXXXXXX@X.X.X.X>;tag=279976047
To: "6432144529" <sip:6432144529@Y.Y.Y.Y:5080>;tag=jSB770Uc4ZQDp
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
CSeq: 6750300 INVITE
Contact: <sip:6432144529@Y.Y.Y.Y:5080;transport=udp>
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Length: 0
Remote-Party-ID: "6432144529" <sip:6432144529@Y.Y.Y.Y>;party=calling;privacy=off;screen=no

SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP X.X.X.X:5060;rport=5060;branch=z9hG4bK239954147
From: "64272950445" <sip:XXXXXXXX@X.X.X.X>;tag=279976047
To: "6432144529" <sip:6432144529@Y.Y.Y.Y:5080>;tag=jSB770Uc4ZQDp
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
CSeq: 6750300 INVITE
Contact: <sip:6432144529@Y.Y.Y.Y:5080;transport=udp>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 222
Remote-Party-ID: "6432144529" <sip:6432144529@Y.Y.Y.Y>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1576446920 1576446921 IN IP4 Y.Y.Y.Y
s=FreeSWITCH
c=IN IP4 Y.Y.Y.Y
t=0 0
m=audio 25868 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
SIP/2.0 200 OK
Via: SIP/2.0/UDP X.X.X.X:5060;rport=5060;branch=z9hG4bK239954147
From: "64272950445" <sip:XXXXXXXX@X.X.X.X>;tag=279976047
To: "6432144529" <sip:6432144529@Y.Y.Y.Y:5080>;tag=jSB770Uc4ZQDp
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
CSeq: 6750300 INVITE
Contact: <sip:6432144529@Y.Y.Y.Y:5080;transport=udp>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 222
Remote-Party-ID: "510" <sip:9026108219@Y.Y.Y.Y>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1576446920 1576446921 IN IP4 Y.Y.Y.Y
s=FreeSWITCH
c=IN IP4 Y.Y.Y.Y
t=0 0
m=audio 25868 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
ACK sip:6432144529@Y.Y.Y.Y:5080;transport=udp SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bK794198179
From: "64272950445" <sip:XXXXXXXX@XXXXXX.co.nz>;tag=279976047
To: "6432144529" <sip:6432144529@Y.Y.Y.Y:5080>;tag=jSB770Uc4ZQDp
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
CSeq: 6750300 ACK
Max-Forwards: 33
Contact: <sip:64272950445@X.X.X.X:5060>
User-Agent: DCOMFS/2.0
Content-Length: 0

BYE sip:6432144529@Y.Y.Y.Y:5080;transport=udp SIP/2.0
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
From: <sip:XXXXXXXX@X.X.X.X>;tag=279976047
To: <sip:6432144529@Y.Y.Y.Y:5080>;tag=jSB770Uc4ZQDp
Reason: SIP;text="Normal,unspecified error"
P-RTP-Stat: PS=692,OS=110720,PR=50,OR=8000,PL=0,JI=4,AV=19,4V=0
Via: SIP/2.0/UDPX.X.X.X:5060;rport;branch=z9hG4bK399683286
CSeq: 6750301 BYE
User-Agent: DCOMFS/2.0
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:42 GMT
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP X.X.X.X:5060;rport=5060;branch=z9hG4bK399683286
From: <sip:XXXXXXXX@X.X.X.X>;tag=279976047
To: <sip:6432144529@Y.Y.Y.Y:5080>;tag=jSB770Uc4ZQDp
Call-ID: ABD6F0F6-CEE3-4541-9A0B-DE6D1DE623C5
CSeq: 6750301 BYE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Content-Length: 0

sip:026108219@X.X.X.X:5060 SIP/2.0
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport;branch=z9hG4bK4S3BFt5K5gZag
Max-Forwards: 70
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682602 INVITE
Contact: <sip:gw+3bf48351-ed35-40c1-9e47-f2ae70be6b73@Y.Y.Y.Y:5080;transport=udp;gw=3bf48351-ed35-40c1-9e47-f2ae70be6b73>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 270
X-FS-Support: update_display,send_info
Remote-Party-ID: "64272950445" <sip:64272950445@Y.Y.Y.Y>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1576452684 1576452685 IN IP4 Y.Y.Y.Y
s=FreeSWITCH
c=IN IP4 Y.Y.Y.Y
t=0 0
m=audio 20104 RTP/AVP 8 0 101 13
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
SIP/2.0 100 Trying
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK4S3BFt5K5gZag;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1134529115
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682602 INVITE
Server: DCOMFS/2.0
Content-Length: 0

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK4S3BFt5K5gZag;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1134529115
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682602 INVITE
WWW-Authenticate: Digest realm="X.X.X.X", domain="Y.Y.Y.Y", nonce="1cb36a8493d755d3c450ace4d223a207.1576472788", stale=FALSE, algorithm=MD5
Server: DCOMFS/2.0
Contact: <sip:026108219@X.X.X.X:5060>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:28 GMT
Content-Length: 0

ACK sip:026108219@X.X.X.X:5060 SIP/2.0
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport;branch=z9hG4bK4S3BFt5K5gZag
Max-Forwards: 70
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1134529115
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682602 ACK
Content-Length: 0

INVITE sip:026108219@X.X.X.X:5060 SIP/2.0
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport;branch=z9hG4bK52v4gNpQ2SNXB
Max-Forwards: 70
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682603 INVITE
Contact: <sip:gw+3bf48351-ed35-40c1-9e47-f2ae70be6b73@Y.Y.Y.Y:5080;transport=udp;gw=3bf48351-ed35-40c1-9e47-f2ae70be6b73>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Authorization: Digest username="6432144556", realm="X.X.X.X", nonce="1cb36a8493d755d3c450ace4d223a207.1576472788", algorithm=MD5, uri="sip:026108219@X.X.X.X:5060", response="9c8cd420e908cfbd0bd005377428e7e7"
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 270
X-FS-Support: update_display,send_info
Remote-Party-ID: "64272950445" <sip:64272950445@Y.Y.Y.Y>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1576452684 1576452685 IN IP4 Y.Y.Y.Y
s=FreeSWITCH
c=IN IP4 Y.Y.Y.Y
t=0 0
m=audio 20104 RTP/AVP 8 0 101 13
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20
SIP/2.0 100 Trying
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK52v4gNpQ2SNXB;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682603 INVITE
Server: DCOMFS/2.0
Content-Length: 0

SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK52v4gNpQ2SNXB;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682603 INVITE
Server: DCOMFS/2.0
Contact: <sip:026108219@X.X.X.X:5060>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:29 GMT
Content-Type: application/sdp
Content-Length: 191

v=0
o=dcom 1576472789 1576472789 IN IP4 X.X.X.X
s=SIP Call
c=IN IP4 X.X.X.X
t=0 0
m=audio 15054 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK52v4gNpQ2SNXB;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682603 INVITE
Server: DCOMFS/2.0
Contact: <sip:026108219@X.X.X.X:5060>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:30 GMT
Content-Type: application/sdp
Content-Length: 191

v=0
o=dcom 1576472789 1576472790 IN IP4 X.X.X.X
s=SIP Call
c=IN IP4 X.X.X.X
t=0 0
m=audio 15054 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK52v4gNpQ2SNXB;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682603 INVITE
Server: DCOMFS/2.0
Contact: <sip:026108219@X.X.X.X:5060>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:30 GMT
Content-Type: application/sdp
Content-Length: 191

v=0
o=dcom 1576472789 1576472791 IN IP4 X.X.X.X
s=SIP Call
c=IN IP4 X.X.X.X
t=0 0
m=audio 15054 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
SIP/2.0 200 OK
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK52v4gNpQ2SNXB;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682603 INVITE
Server: DCOMFS/2.0
Contact: <sip:026108219@X.X.X.X:5060>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:30 GMT
Content-Type: application/sdp
Content-Length: 191

v=0
o=dcom 1576472789 1576472792 IN IP4 X.X.X.X
s=SIP Call
c=IN IP4 X.X.X.X
t=0 0
m=audio 15054 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
ACK sip:026108219@X.X.X.X:5060 SIP/2.0
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport;branch=z9hG4bK6BpXjg7tZ2BgQ
Max-Forwards: 70
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682603 ACK
Contact: <sip:gw+3bf48351-ed35-40c1-9e47-f2ae70be6b73@Y.Y.Y.Y:5080;transport=udp;gw=3bf48351-ed35-40c1-9e47-f2ae70be6b73>
Authorization: Digest username="6432144556", realm="X.X.X.X", nonce="1cb36a8493d755d3c450ace4d223a207.1576472788", algorithm=MD5, uri="sip:026108219@X.X.X.X:5060", response="9c8cd420e908cfbd0bd005377428e7e7"
Content-Length: 0

BYE sip:026108219@X.X.X.X:5060 SIP/2.0
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport;branch=z9hG4bK7mFpmBryvB22j
Max-Forwards: 70
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682604 BYE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Authorization: Digest username="6432144556", realm="X.X.X.X", nonce="1cb36a8493d755d3c450ace4d223a207.1576472788", algorithm=MD5, uri="sip:026108219@X.X.X.X:5060", response="382cdd0a7fdd4a8e27934df12f99aea4"
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP Y.Y.Y.Y:5080;rport=5080;branch=z9hG4bK7mFpmBryvB22j;received=Y.Y.Y.Y
From: "64272950445" <sip:64272950445@Y.Y.Y.Y>;tag=K24Z9Ucg18D0H
To: <sip:026108219@X.X.X.X:5060>;tag=1562513606
Call-ID: a8a3e687-9a64-1238-c1a5-002324493a22
CSeq: 13682604 BYE
P-RTP-Stat: PS=662,OS=105920,PR=0,OR=0,PL=0,JI=-2147483648,AV=-2147483648,4V=0
Server: DCOMFS/2.0
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE, NOTIFY
Date: Mon, 16 Dec 2019 05:06:42 GMT
Content-Length: 0
 
Last edited:
Status
Not open for further replies.