Hi,
I have the following setup
PBX Station Aastra MXOne as main phone station. IP is 172.23.1.233
There I created an extension 200.
Set up a freepbx box (172.23.1.42)
Created a pjsip trunk using credentials from MXOne Extension called “MXOne200”
Then I created 2 extensions in freepbx (88888 and 77777) for testing.
I use softphones (phoner.exe) on 88888 and 77777 and did some internal testing → works fine
Created an inbound route any to 88888.
I call from my normal phone (MXOne extension 172) to 200 → softphone 88888 rings and speech is working fine in all directions.
Then I created an outbound route “Outbound 200”
trunk sequence MXOne200 and that’s it. The dial patterns are I think my problem… I want to call the 172 from my 88888 phone, so dial pattern ZXX (als the first digit for internal callings is 1-9, all others 0-9. three digits in total, nothing else)
I always get “The number you have dialed is not in service, please check the number and try again later”
A dial pattern of . is not changing anything
phoner.exe IP is 172.23.1.67
I am missing something, but I cannot see it.
Any hint would be appreciated
thanks in advance from Germany
André
Here’s the pjsip log of the call
PJSIP Logging enabled
<--- Received SIP request (1145 bytes) from UDP:172.23.1.67:5060 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.23.1.67:5060;branch=z9hG4bK80f434ba3ab8ed11896694d592ba3f90;rport
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]:5060;gr=005075B2-3AB8-ED11-895C-94D592BA3F90>
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Max-Forwards: 70
Supported: 100rel, replaces, from-change, gruu
User-Agent: phoner 3.23
P-Preferred-Identity: <sip:[email protected]>
Content-Length: 513
v=0
o=- 2335364209 1 IN IP4 172.23.1.67
s=phoner 3.23
c=IN IP4 172.23.1.67
t=0 0
m=audio 5062 RTP/AVP 8 0 2 3 97 9 18 111 112 113 114 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:111 speex/16000
a=rtpmap:112 G726-16/8000
a=rtpmap:113 G726-24/8000
a=rtpmap:114 G726-40/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:320634361
a=sendrecv
<--- Transmitting SIP response (531 bytes) to UDP:172.23.1.67:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.23.1.67:5060;rport=5060;received=172.23.1.67;branch=z9hG4bK80f434ba3ab8ed11896694d592ba3f90
Call-ID: [email protected]
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>;tag=z9hG4bK80f434ba3ab8ed11896694d592ba3f90
CSeq: 1 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1677852589/468832aa37ffd92587c8966aa365cb52",opaque="1fa699a209e33b61",algorithm=MD5,qop="auth"
Server: FPBX-16.0.33(16.30.0)
Content-Length: 0
<--- Received SIP request (331 bytes) from UDP:172.23.1.67:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.23.1.67:5060;branch=z9hG4bK80f434ba3ab8ed11896694d592ba3f90;rport
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>;tag=z9hG4bK80f434ba3ab8ed11896694d592ba3f90
Call-ID: [email protected]
CSeq: 1 ACK
Content-Length: 0
<--- Received SIP request (1436 bytes) from UDP:172.23.1.67:5060 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.23.1.67:5060;branch=z9hG4bK80f434ba3ab8ed11896894d592ba3f90;rport
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 INVITE
Contact: <sip:[email protected]:5060;gr=005075B2-3AB8-ED11-895C-94D592BA3F90>
Authorization: Digest username="88888", realm="asterisk", nonce="1677852589/468832aa37ffd92587c8966aa365cb52", uri="sip:[email protected]", response="d2da75aaffbbd3153cda9fd9bb70da73", algorithm=MD5, cnonce="80f434ba3ab8ed11896794d592ba3f90", opaque="1fa699a209e33b61", qop=auth, nc=00000001
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK
Max-Forwards: 70
Supported: 100rel, replaces, from-change, gruu
User-Agent: phoner 3.23
P-Preferred-Identity: <sip:[email protected]>
Content-Length: 513
v=0
o=- 2335364209 1 IN IP4 172.23.1.67
s=phoner 3.23
c=IN IP4 172.23.1.67
t=0 0
m=audio 5062 RTP/AVP 8 0 2 3 97 9 18 111 112 113 114 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:111 speex/16000
a=rtpmap:112 G726-16/8000
a=rtpmap:113 G726-24/8000
a=rtpmap:114 G726-40/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:320634361
a=sendrecv
<--- Transmitting SIP response (335 bytes) to UDP:172.23.1.67:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.23.1.67:5060;rport=5060;received=172.23.1.67;branch=z9hG4bK80f434ba3ab8ed11896894d592ba3f90
Call-ID: [email protected]
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>
CSeq: 2 INVITE
Server: FPBX-16.0.33(16.30.0)
Content-Length: 0
<--- Transmitting SIP response (888 bytes) to UDP:172.23.1.67:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 172.23.1.67:5060;rport=5060;received=172.23.1.67;branch=z9hG4bK80f434ba3ab8ed11896894d592ba3f90
Call-ID: [email protected]
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>;tag=e093cf34-e19f-4cbb-a159-1cf55f917240
CSeq: 2 INVITE
Server: FPBX-16.0.33(16.30.0)
Contact: <sip:172.23.1.42:5060>
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Content-Type: application/sdp
Content-Length: 324
v=0
o=- 2335364209 3 IN IP4 172.23.1.42
s=Asterisk
c=IN IP4 172.23.1.42
t=0 0
m=audio 14976 RTP/AVP 0 8 3 2 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
[2023-03-03 14:09:51] ERROR[72189]: res_pjsip_header_funcs.c:670 remove_header: No headers had been previously added to this session.
<--- Transmitting SIP request (1000 bytes) to UDP:172.23.1.233:5060 --->
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 172.23.1.42:5060;rport;branch=z9hG4bKPjfaed3553-d38c-4127-bbed-c756db902c0e
From: <sip:[email protected]>;tag=e4f4a92b-6691-4b30-bce7-d0b4fc512535
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: ac769527-08fa-4dc3-a920-67d3e49a5dc2
CSeq: 2410 INVITE
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.33(16.30.0)
Content-Type: application/sdp
Content-Length: 337
v=0
o=- 2097015622 2097015622 IN IP4 172.23.1.42
s=Asterisk
c=IN IP4 172.23.1.42
t=0 0
m=audio 10764 RTP/AVP 0 8 3 111 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
<--- Received SIP response (369 bytes) from UDP:172.23.1.233:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 172.23.1.42:5060;rport=5060;branch=z9hG4bKPjfaed3553-d38c-4127-bbed-c756db902c0e
To: <sip:[email protected]>;tag=3c7cf35c
From: <sip:[email protected]>;tag=e4f4a92b-6691-4b30-bce7-d0b4fc512535
Call-ID: ac769527-08fa-4dc3-a920-67d3e49a5dc2
CSeq: 2410 INVITE
User-Agent: Aastra MX-ONE SN/17.4.0.1.5
Content-Length: 0
<--- Transmitting SIP request (390 bytes) to UDP:172.23.1.233:5060 --->
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 172.23.1.42:5060;rport;branch=z9hG4bKPjfaed3553-d38c-4127-bbed-c756db902c0e
From: <sip:[email protected]>;tag=e4f4a92b-6691-4b30-bce7-d0b4fc512535
To: <sip:[email protected]>;tag=3c7cf35c
Call-ID: ac769527-08fa-4dc3-a920-67d3e49a5dc2
CSeq: 2410 ACK
Max-Forwards: 70
User-Agent: FPBX-16.0.33(16.30.0)
Content-Length: 0
<--- Transmitting SIP response (950 bytes) to UDP:172.23.1.67:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 172.23.1.67:5060;rport=5060;received=172.23.1.67;branch=z9hG4bK80f434ba3ab8ed11896894d592ba3f90
Call-ID: [email protected]
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>;tag=e093cf34-e19f-4cbb-a159-1cf55f917240
CSeq: 2 INVITE
Server: FPBX-16.0.33(16.30.0)
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Contact: <sip:172.23.1.42:5060>
P-Asserted-Identity: "CID:03841254200" <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 324
v=0
o=- 2335364209 3 IN IP4 172.23.1.42
s=Asterisk
c=IN IP4 172.23.1.42
t=0 0
m=audio 14976 RTP/AVP 0 8 3 2 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
<--- Transmitting SIP response (576 bytes) to UDP:172.23.1.67:5060 --->
SIP/2.0 486 Busy Here
Via: SIP/2.0/UDP 172.23.1.67:5060;rport=5060;received=172.23.1.67;branch=z9hG4bK80f434ba3ab8ed11896894d592ba3f90
Call-ID: [email protected]
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>;tag=e093cf34-e19f-4cbb-a159-1cf55f917240
CSeq: 2 INVITE
Server: FPBX-16.0.33(16.30.0)
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
Reason: Q.850;cause=17
P-Asserted-Identity: "CID:03841254200" <sip:[email protected]>
Content-Length: 0
<--- Received SIP request (619 bytes) from UDP:172.23.1.67:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.23.1.67:5060;branch=z9hG4bK80f434ba3ab8ed11896894d592ba3f90;rport
From: <sip:[email protected]>;tag=2436471351
To: <sip:[email protected]>;tag=e093cf34-e19f-4cbb-a159-1cf55f917240
Call-ID: [email protected]
CSeq: 2 ACK
Authorization: Digest username="88888", realm="asterisk", nonce="1677852589/468832aa37ffd92587c8966aa365cb52", uri="sip:[email protected]", response="d2da75aaffbbd3153cda9fd9bb70da73", algorithm=MD5, cnonce="80f434ba3ab8ed11896794d592ba3f90", opaque="1fa699a209e33b61", qop=auth, nc=00000001
Content-Length: 0
pbx*CLI> pjsip set logger off
PJSIP Logging disabled
pbx*CLI>