hello
calls are reaching to the freepbx…as seen in the sngrep, but calls are not processed further as per the dial plan…and forwarded to the gateway.
extension to extension calling is working.
inbound calls from the gateway are coming on freepbx and IVR is played.
2023/03/05 00:26:39.896903 192.168.1.99:65265 -> 192.168.1.81:5160
INVITE sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.99:65265;rport;branch=z9hG4bKPjd69fdb41e42c40638e4e2e9eb80e7786
Max-Forwards: 70
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>
Contact: <sip:[email protected]:65265;ob>
Call-ID: f7901c8c2e664794a57597dbab8f078c
CSeq: 18227 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: MicroSIP/3.21.3
Content-Type: application/sdp
Content-Length: 342
v=0
o=- 3886964793 3886964793 IN IP4 192.168.1.99
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 10018 RTP/AVP 8 0 101
c=IN IP4 192.168.1.99
b=TIAS:64000
a=rtcp:10019 IN IP4 192.168.1.99
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:1306596301 cname:0a5e3dd676d41b58
2023/03/05 00:26:39.898574 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPjd69fdb41e42c40638e4e2e9eb80e7786
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=z9hG4bKPjd69fdb41e42c40638e4e2e9eb80e7786
CSeq: 18227 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1677956199/7fcb74151473e5e6d30f3073e22e951a",opaque="7e2a565b5ebd76f8",algorithm=MD5,qop="auth"
Server: FPBX-16.0.33(18.16.0)
Content-Length: 0
2023/03/05 00:26:39.899047 192.168.1.99:65265 -> 192.168.1.81:5160
ACK sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.99:65265;rport;branch=z9hG4bKPjd69fdb41e42c40638e4e2e9eb80e7786
Max-Forwards: 70
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=z9hG4bKPjd69fdb41e42c40638e4e2e9eb80e7786
Call-ID: f7901c8c2e664794a57597dbab8f078c
CSeq: 18227 ACK
Content-Length: 0
2023/03/05 00:26:39.899082 192.168.1.99:65265 -> 192.168.1.81:5160
INVITE sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.99:65265;rport;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Max-Forwards: 70
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>
Contact: <sip:[email protected]:65265;ob>
Call-ID: f7901c8c2e664794a57597dbab8f078c
CSeq: 18228 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: MicroSIP/3.21.3
Authorization: Digest username="999", realm="asterisk", nonce="1677956199/7fcb74151473e5e6d30f3073e22e951a", uri="sip:[email protected]:5160", response="fd3dcb433777d4a4fc8ced3945c83deb", algorithm=MD5, cnonce="b273995d00c9437193f0d67b11bf45bf", opaque="7e2a565b5ebd76f8", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length: 342
v=0
o=- 3886964793 3886964793 IN IP4 192.168.1.99
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 10018 RTP/AVP 8 0 101
c=IN IP4 192.168.1.99
b=TIAS:64000
a=rtcp:10019 IN IP4 192.168.1.99
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:1306596301 cname:0a5e3dd676d41b58
2023/03/05 00:26:39.901516 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>
CSeq: 18228 INVITE
Server: FPBX-16.0.33(18.16.0)
Content-Length: 0
2023/03/05 00:26:39.939401 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
CSeq: 18228 INVITE
Server: FPBX-16.0.33(18.16.0)
Contact: <sip:192.168.1.81:5160>
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Content-Type: application/sdp
Content-Length: 261
v=0
o=- 3886964793 3886964795 IN IP4 192.168.1.81
s=Asterisk
c=IN IP4 192.168.1.81
t=0 0
m=audio 13422 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
2023/03/05 00:26:39.948403 192.168.1.99:65265 -> 192.168.1.81:5160
UPDATE sip:192.168.1.81:5160 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.99:65265;rport;branch=z9hG4bKPjcdd1d69f6a2c4c47a04c0693fe55e638
Max-Forwards: 70
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
Contact: <sip:[email protected]:65265;ob>
Call-ID: f7901c8c2e664794a57597dbab8f078c
CSeq: 18229 UPDATE
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length: 318
v=0
o=- 3886964793 3886964794 IN IP4 192.168.1.99
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 10018 RTP/AVP 0 101
c=IN IP4 192.168.1.99
b=TIAS:64000
a=rtcp:10019 IN IP4 192.168.1.99
a=ssrc:1306596301 cname:0a5e3dd676d41b58
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
2023/03/05 00:26:39.951101 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPjcdd1d69f6a2c4c47a04c0693fe55e638
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
CSeq: 18229 UPDATE
Session-Expires: 1800;refresher=uac
Require: timer
Contact: <sip:192.168.1.81:5160>
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Server: FPBX-16.0.33(18.16.0)
Content-Type: application/sdp
Content-Length: 237
v=0
o=- 3886964793 3886964796 IN IP4 192.168.1.81
s=Asterisk
c=IN IP4 192.168.1.81
t=0 0
m=audio 13422 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
2023/03/05 00:26:39.980278 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
CSeq: 18228 INVITE
Server: FPBX-16.0.33(18.16.0)
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Contact: <sip:192.168.1.81:5160>
Content-Type: application/sdp
Content-Length: 261
v=0
o=- 3886964793 3886964795 IN IP4 192.168.1.81
s=Asterisk
c=IN IP4 192.168.1.81
t=0 0
m=audio 13422 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
2023/03/05 00:26:39.986591 192.168.1.99:65265 -> 192.168.1.81:5160
UPDATE sip:192.168.1.81:5160 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.99:65265;rport;branch=z9hG4bKPjd3083a5c706f41ffa213a232cccc98f3
Max-Forwards: 70
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
Contact: <sip:[email protected]:65265;ob>
Call-ID: f7901c8c2e664794a57597dbab8f078c
CSeq: 18230 UPDATE
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800;refresher=uac
Min-SE: 90
Content-Type: application/sdp
Content-Length: 318
v=0
o=- 3886964793 3886964796 IN IP4 192.168.1.99
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 10018 RTP/AVP 0 101
c=IN IP4 192.168.1.99
b=TIAS:64000
a=rtcp:10019 IN IP4 192.168.1.99
a=ssrc:1306596301 cname:0a5e3dd676d41b58
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
2023/03/05 00:26:39.987882 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPjd3083a5c706f41ffa213a232cccc98f3
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]8.1.81>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
CSeq: 18230 UPDATE
Session-Expires: 1800;refresher=uac
Require: timer
Contact: <sip:192.168.1.81:5160>
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Server: FPBX-16.0.33(18.16.0)
Content-Type: application/sdp
Content-Length: 237
v=0
o=- 3886964793 3886964797 IN IP4 192.168.1.81
s=Asterisk
c=IN IP4 192.168.1.81
t=0 0
m=audio 13422 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
2023/03/05 00:26:46.826659 192.168.1.99:65265 -> 192.168.1.81:5160
CANCEL sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.99:65265;rport;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Max-Forwards: 70
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>
Call-ID: f7901c8c2e664794a57597dbab8f078c
CSeq: 18228 CANCEL
User-Agent: MicroSIP/3.21.3
Content-Length: 0
2023/03/05 00:26:46.827463 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
CSeq: 18228 CANCEL
Server: FPBX-16.0.33(18.16.0)
Content-Length: 0
2023/03/05 00:26:46.827659 192.168.1.81:5160 -> 192.168.1.99:65265
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.1.99:65265;rport=65265;received=192.168.1.99;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Call-ID: f7901c8c2e664794a57597dbab8f078c
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
CSeq: 18228 INVITE
Server: FPBX-16.0.33(18.16.0)
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Content-Length: 0
2023/03/05 00:26:46.828152 192.168.1.99:65265 -> 192.168.1.81:5160
ACK sip:[email protected]:5160 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.99:65265;rport;branch=z9hG4bKPje03b2fd5e68744b08643901e965e38d2
Max-Forwards: 70
From: <sip:[email protected]>;tag=5d93182319b24c35905dace78f6632a3
To: <sip:[email protected]>;tag=34ac5464-76c6-4efe-95ed-7c97cba8b676
Call-ID: f7901c8c2e664794a57597dbab8f078c
CSeq: 18228 ACK
Content-Length: 0
2023/03/05 00:26:51.436964 192.168.1.81:5160 -> 192.168.1.99:65265
OPTIONS sip:[email protected]:65265;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.1.81:5160;rport;branch=z9hG4bKPjbf5b89e6-1190-4be8-acca-89cc2b185a00
From: <sip:[email protected]>;tag=042c27e0-fc85-4e9b-88bd-0dc2e34c74bf
To: <sip:[email protected];ob>
Contact: <sip:[email protected]:5160>
Call-ID: 9d275f38-c7e6-4309-9332-fcd6528230c3
CSeq: 42696 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-16.0.33(18.16.0)
Content-Length: 0
2023/03/05 00:26:51.437833 192.168.1.99:65265 -> 192.168.1.81:5160
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.81:5160;rport=5160;received=192.168.1.81;branch=z9hG4bKPjbf5b89e6-1190-4be8-acca-89cc2b185a00
Call-ID: 9d275f38-c7e6-4309-9332-fcd6528230c3
From: <sip:[email protected]>;tag=042c27e0-fc85-4e9b-88bd-0dc2e34c74bf
To: <sip:[email protected];ob>;tag=z9hG4bKPjbf5b89e6-1190-4be8-acca-89cc2b185a00
CSeq: 42696 OPTIONS
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/simple-message-summary, message/sipfrag;version=2.0, application/im-iscomposing+xml, text/plain
Supported: replaces, 100rel, timer, norefersub, trickle-ice
Allow-Events: presence, message-summary, refer
User-Agent: MicroSIP/3.21.3
Content-Length: 0