Hello,
I am setting up a new extension of my Asterisk server in a fiber network using the FXS port of an ONT equipment. Almost everythings are working well, exception to make calls. I can register the telephone and receive calls, but when I dial for a number we got errors as the debug bellow:
<--- Received SIP request (654 bytes) from UDP:X.97.Y.X:48972 --->
REGISTER sip:sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK443859299
From: <sip:19001014@sip.sol123.com>;tag=770904516
To: <sip:19001014@sip.sol123.com>
Call-ID: 233514486
CSeq: 37 REGISTER
Contact: <sip:19001014@X.97.Y.X:48972>
Authorization: Digest username="19001014", realm="asterisk", nonce="1581711475/c3d9d43eb190d4eeddf3df4797be9b61", uri="sip:sip.sol123.com", response="56d4ccdf4543f44a7144ed89ba2052c1", algorithm=MD5, cnonce="0a4f113b", opaque="13dd2bf25c81e760", qop=auth, nc=00000002
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Expires: 90
Content-Length: 0
<--- Transmitting SIP response (495 bytes) to UDP:X.97.Y.X:48972 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP X.97.Y.X:48972;rport=48972;received=X.97.Y.X;branch=z9hG4bK443859299
Call-ID: 233514486
From: <sip:19001014@sip.sol123.com>;tag=770904516
To: <sip:19001014@sip.sol123.com>;tag=z9hG4bK443859299
CSeq: 37 REGISTER
WWW-Authenticate: Digest realm="asterisk",nonce="1581711521/5b19d24e36d17805bbd282ca45bad1ef",opaque="20ffb50101e75963",stale=true,algorithm=md5,qop="auth"
Server: Asterisk PBX 13.21.1
Content-Length: 0
<--- Received SIP request (655 bytes) from UDP:X.97.Y.X:48972 --->
REGISTER sip:sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK1845400679
From: <sip:19001014@sip.sol123.com>;tag=770904516
To: <sip:19001014@sip.sol123.com>
Call-ID: 233514486
CSeq: 38 REGISTER
Contact: <sip:19001014@X.97.Y.X:48972>
Authorization: Digest username="19001014", realm="asterisk", nonce="1581711521/5b19d24e36d17805bbd282ca45bad1ef", uri="sip:sip.sol123.com", response="70dcb97cc1608609f0c2efe899359fd0", algorithm=MD5, cnonce="0a4f113b", opaque="20ffb50101e75963", qop=auth, nc=00000001
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Expires: 90
Content-Length: 0
<--- Transmitting SIP response (435 bytes) to UDP:X.97.Y.X:48972 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP X.97.Y.X:48972;rport=48972;received=X.97.Y.X;branch=z9hG4bK1845400679
Call-ID: 233514486
From: <sip:19001014@sip.sol123.com>;tag=770904516
To: <sip:19001014@sip.sol123.com>;tag=z9hG4bK1845400679
CSeq: 38 REGISTER
Date: Fri, 14 Feb 2020 20:18:42 GMT
Contact: <sip:19001014@Z.233.X.Y:48972>;expires=89
Expires: 90
Server: Asterisk PBX 13.21.1
Content-Length: 0
<--- Received SIP request (655 bytes) from UDP:X.97.Y.X:48972 --->
REGISTER sip:sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK1845400679
From: <sip:19001014@sip.sol123.com>;tag=770904516
To: <sip:19001014@sip.sol123.com>
Call-ID: 233514486
CSeq: 38 REGISTER
Contact: <sip:19001014@X.97.Y.X:48972>
Authorization: Digest username="19001014", realm="asterisk", nonce="1581711521/5b19d24e36d17805bbd282ca45bad1ef", uri="sip:sip.sol123.com", response="70dcb97cc1608609f0c2efe899359fd0", algorithm=MD5, cnonce="0a4f113b", opaque="20ffb50101e75963", qop=auth, nc=00000001
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Expires: 90
Content-Length: 0
<--- Transmitting SIP response (435 bytes) to UDP:X.97.Y.X:48972 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP X.97.Y.X:48972;rport=48972;received=X.97.Y.X;branch=z9hG4bK1845400679
Call-ID: 233514486
From: <sip:19001014@sip.sol123.com>;tag=770904516
To: <sip:19001014@sip.sol123.com>;tag=z9hG4bK1845400679
CSeq: 38 REGISTER
Date: Fri, 14 Feb 2020 20:18:42 GMT
Contact: <sip:19001014@Z.233.X.Y:48972>;expires=89
Expires: 90
Server: Asterisk PBX 13.21.1
Content-Length: 0
<--- Received SIP request (1077 bytes) from UDP:X.97.Y.X:48972 --->
INVITE sip:106@sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK1489422088
From: <sip:19001014@sip.sol123.com>;tag=1160585904
To: <sip:106@sip.sol123.com>
Call-ID: 7236567
CSeq: 20 INVITE
Contact: <sip:19001014@X.97.Y.X:48972>
Content-Type: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Session-Expires: 30
Min-SE: 90
Supported: eventlist, replaces, tdialog, timer
Allow-Events: dialog, message-summary, refer, reg, ua-profile
P-Preferred-Identity: sip:19001014@sip.sol123.com
Content-Length: 389
v=0
o=19001014 0000000001 0000000001 IN IP4 X.97.Y.X
s=A conversation
c=IN IP4 X.97.Y.X
t=0 0
m=audio 9000 RTP/AVP 18 106 105 104 103 8 0 4 9
a=rtpmap:18 G729/8000
a=rtpmap:106 G726-40/8000
a=rtpmap:105 G726-32/8000
a=rtpmap:104 G726-24/8000
a=rtpmap:103 G726-16/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=sendrecv
<--- Transmitting SIP response (478 bytes) to UDP:X.97.Y.X:48972 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP X.97.Y.X:48972;rport=48972;received=X.97.Y.X;branch=z9hG4bK1489422088
Call-ID: 7236567
From: <sip:19001014@sip.sol123.com>;tag=1160585904
To: <sip:106@sip.sol123.com>;tag=z9hG4bK1489422088
CSeq: 20 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1581711525/47f71dc67ae619abebc87d93d2aa276a",opaque="579a26a265984d1e",algorithm=md5,qop="auth"
Server: Asterisk PBX 13.21.1
Content-Length: 0
<--- Received SIP request (1077 bytes) from UDP:X.97.Y.X:48972 --->
INVITE sip:106@sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK1489422088
From: <sip:19001014@sip.sol123.com>;tag=1160585904
To: <sip:106@sip.sol123.com>
Call-ID: 7236567
CSeq: 20 INVITE
Contact: <sip:19001014@X.97.Y.X:48972>
Content-Type: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Session-Expires: 30
Min-SE: 90
Supported: eventlist, replaces, tdialog, timer
Allow-Events: dialog, message-summary, refer, reg, ua-profile
P-Preferred-Identity: sip:19001014@sip.sol123.com
Content-Length: 389
v=0
o=19001014 0000000001 0000000001 IN IP4 X.97.Y.X
s=A conversation
c=IN IP4 X.97.Y.X
t=0 0
m=audio 9000 RTP/AVP 18 106 105 104 103 8 0 4 9
a=rtpmap:18 G729/8000
a=rtpmap:106 G726-40/8000
a=rtpmap:105 G726-32/8000
a=rtpmap:104 G726-24/8000
a=rtpmap:103 G726-16/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=sendrecv
<--- Received SIP request (286 bytes) from UDP:X.97.Y.X:48972 --->
ACK sip:106@sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK1489422088
From: <sip:19001014@sip.sol123.com>;tag=1160585904
To: <sip:106@sip.sol123.com>;tag=z9hG4bK1489422088
Call-ID: 7236567
CSeq: 20 ACK
Content-Length: 0
<--- Transmitting SIP response (478 bytes) to UDP:X.97.Y.X:48972 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP X.97.Y.X:48972;rport=48972;received=X.97.Y.X;branch=z9hG4bK1489422088
Call-ID: 7236567
From: <sip:19001014@sip.sol123.com>;tag=1160585904
To: <sip:106@sip.sol123.com>;tag=z9hG4bK1489422088
CSeq: 20 INVITE
WWW-Authenticate: Digest realm="asterisk",nonce="1581711525/47f71dc67ae619abebc87d93d2aa276a",opaque="368ba70e565cc87c",algorithm=md5,qop="auth"
Server: Asterisk PBX 13.21.1
Content-Length: 0
<--- Received SIP request (1358 bytes) from UDP:X.97.Y.X:48972 --->
INVITE sip:106@sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK2093118050
From: <sip:19001014@sip.sol123.com>;tag=1160585904
To: <sip:106@sip.sol123.com>
Call-ID: 7236567
CSeq: 21 INVITE
Contact: <sip:19001014@X.97.Y.X:48972>
Authorization: Digest username="19001014", realm="asterisk", nonce="1581711525/47f71dc67ae619abebc87d93d2aa276a", uri="sip:106@sip.sol123.com", response="de48612c773895b78aff7a994a2b974c", algorithm=MD5, cnonce="0a4f113b", opaque="579a26a265984d1e", qop=auth, nc=00000001
Content-Type: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Session-Expires: 30
Min-SE: 90
Supported: eventlist, replaces, tdialog, timer
Allow-Events: dialog, message-summary, refer, reg, ua-profile
P-Preferred-Identity: sip:19001014@sip.sol123.com
Content-Length: 389
v=0
o=19001014 0000000001 0000000001 IN IP4 X.97.Y.X
s=A conversation
c=IN IP4 X.97.Y.X
t=0 0
m=audio 9000 RTP/AVP 18 106 105 104 103 8 0 4 9
a=rtpmap:18 G729/8000
a=rtpmap:106 G726-40/8000
a=rtpmap:105 G726-32/8000
a=rtpmap:104 G726-24/8000
a=rtpmap:103 G726-16/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=sendrecv
== Setting global variable 'SIPDOMAIN' to 'sip.sol123.com'
<--- Received SIP request (286 bytes) from UDP:X.97.Y.X:48972 --->
ACK sip:106@sip.sol123.com SIP/2.0
Via: SIP/2.0/UDP X.97.Y.X:48972;rport;branch=z9hG4bK1489422088
From: <sip:19001014@sip.sol123.com>;tag=1160585904
To: <sip:106@sip.sol123.com>;tag=z9hG4bK1489422088
Call-ID: 7236567
CSeq: 20 ACK
Content-Length: 0
Can anyone help me?