Estimados,
Tenemos inconvenientes con un trunk de Telecom Arg. es un trunk que basado en autenticacion por ip el cual va sin autenticacion de usuario ni contraseña, utiliza una ruta estática hacia un gateway del proveedor y a la vez en la central se configura una segunda placa de red con una ip que nos da el proveedor y un gateway que es el que permite llegar al gateway sip pero tenemos retransmisiones de este trunk todo el tiempo.
Cual puede ser el inconveniente? Ya probamos con varias configuraciones en la parte de trunk y ninguna resulta, a los gateways con ping tanto para la subred de la segunda placa de red como para el gateway sip se llega bien.
Telecom Arg. dice que el problema es un tema de conmutación de nuestra central issabel. Ya que ven “401 UNAUTHORIZED”
PEER Details:
host=190.224.166.135
type=peer
dtmfmode=rfc2833
disallow=all
allow=g729&alaw&ulaw
Log sngrep en RAW . La comunicación se desgloza en 2 mensajes:
2020/05/20 23:42:11.470155 172.27.160.47:5060 -> 192.168.20.15:5060
INVITE sip:51991206@192.168.20.15 SIP/2.0
Call-ID: 3464fd28fc60286694f9267e59b55eba@0:0:0:0:0:0:0:0
CSeq: 1 INVITE
From: "501" <sip:501@192.168.20.15>;tag=5d2a3669
To: <sip:51991206@192.168.20.15>
Via: SIP/2.0/UDP 172.27.160.47:5060;branch=z9hG4bK-393230-94d71105ce79dc8f78c8846daedccc48
Max-Forwards: 70
Contact: "501" <sip:501@172.27.160.47:5060;transport=udp;registering_acc=192_168_20_15>
User-Agent: Jitsi2.10.5550Linux
Content-Type: application/sdp
Content-Length: 289
v=0
o=501-jitsi.org 0 0 IN IP4 172.27.160.47
s=-
c=IN IP4 172.27.160.47
t=0 0
m=audio 5103 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=rtcp-xr:voip-metrics
2020/05/20 23:42:11.470579 192.168.20.15:5060 -> 172.27.160.47:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.27.160.47:5060;branch=z9hG4bK-393230-94d71105ce79dc8f78c8846daedccc48;received=172.27.160.47
From: "501" <sip:501@192.168.20.15>;tag=5d2a3669
To: <sip:51991206@192.168.20.15>;tag=as6ce89ea0
Call-ID: 3464fd28fc60286694f9267e59b55eba@0:0:0:0:0:0:0:0
CSeq: 1 INVITE
Server: IPBX-2.11.0.47(11.25.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3209b2df"
Content-Length: 0
2020/05/20 23:42:11.493055 172.27.160.47:5060 -> 192.168.20.15:5060
ACK sip:51991206@192.168.20.15 SIP/2.0
Call-ID: 3464fd28fc60286694f9267e59b55eba@0:0:0:0:0:0:0:0
Max-Forwards: 70
From: "501" <sip:501@192.168.20.15>;tag=5d2a3669
To: <sip:51991206@192.168.20.15>;tag=as6ce89ea0
Via: SIP/2.0/UDP 172.27.160.47:5060;branch=z9hG4bK-393230-94d71105ce79dc8f78c8846daedccc48
CSeq: 1 ACK
Content-Length: 0
2020/05/20 23:42:11.493072 172.27.160.47:5060 -> 192.168.20.15:5060
INVITE sip:51991206@192.168.20.15 SIP/2.0
Call-ID: 3464fd28fc60286694f9267e59b55eba@0:0:0:0:0:0:0:0
CSeq: 2 INVITE
From: "501" <sip:501@192.168.20.15>;tag=5d2a3669
To: <sip:51991206@192.168.20.15>
Max-Forwards: 70
Contact: "501" <sip:501@172.27.160.47:5060;transport=udp;registering_acc=192_168_20_15>
User-Agent: Jitsi2.10.5550Linux
Content-Type: application/sdp
Via: SIP/2.0/UDP 172.27.160.47:5060;branch=z9hG4bK-393230-df0d9cf46cdc8e6cdb29ccf9011526df
Authorization: Digest username="501",realm="asterisk",nonce="3209b2df",uri="sip:51991206@192.168.20.15",response="a5460a5df9a3364b51ae15b4d59437ce",algorithm=MD5
Content-Length: 289
v=0
o=501-jitsi.org 0 0 IN IP4 172.27.160.47
s=-
c=IN IP4 172.27.160.47
t=0 0
m=audio 5103 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=rtcp-xr:voip-metrics
2020/05/20 23:42:11.495936 192.168.20.15:5060 -> 172.27.160.47:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.27.160.47:5060;branch=z9hG4bK-393230-df0d9cf46cdc8e6cdb29ccf9011526df;received=172.27.160.47
From: "501" <sip:501@192.168.20.15>;tag=5d2a3669
To: <sip:51991206@192.168.20.15>
Call-ID: 3464fd28fc60286694f9267e59b55eba@0:0:0:0:0:0:0:0
CSeq: 2 INVITE
Server: IPBX-2.11.0.47(11.25.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:51991206@192.168.20.15:5060>
Content-Length: 0
2020/05/20 23:42:11.804648 193.168.1.2:5060 -> 190.224.166.135:5060
INVITE sip:51991206@190.224.166.135 SIP/2.0
Via: SIP/2.0/UDP 190.224.166.135:5060;branch=z9hG4bK376536b4
Max-Forwards: 70
From: <sip:541156281700@190.224.166.135>;tag=as2eb35c37
To: <sip:51991206@190.224.166.135>
Contact: <sip:541156281700@190.224.166.135:5060>
Call-ID: 544cd1a71b912d0a4db755d2344a823e@190.224.166.135:5060
CSeq: 102 INVITE
User-Agent: IPBX-2.11.0.47(11.25.3)
Date: Thu, 21 May 2020 02:42:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 313
v=0
o=root 1477741087 1477741087 IN IP4 190.224.166.135
s=Asterisk PBX 11.25.3
c=IN IP4 190.224.166.135
t=0 0
m=audio 40490 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2020/05/20 23:42:12.304524 193.168.1.2:5060 -> 190.224.166.135:5060
INVITE sip:51991206@190.224.166.135 SIP/2.0
Via: SIP/2.0/UDP 190.224.166.135:5060;branch=z9hG4bK376536b4
Max-Forwards: 70
From: <sip:541156281700@190.224.166.135>;tag=as2eb35c37
To: <sip:51991206@190.224.166.135>
Contact: <sip:541156281700@190.224.166.135:5060>
Call-ID: 544cd1a71b912d0a4db755d2344a823e@190.224.166.135:5060
CSeq: 102 INVITE
User-Agent: IPBX-2.11.0.47(11.25.3)
Date: Thu, 21 May 2020 02:42:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 313
v=0
o=root 1477741087 1477741087 IN IP4 190.224.166.135
s=Asterisk PBX 11.25.3
c=IN IP4 190.224.166.135
t=0 0
m=audio 40490 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2020/05/20 23:42:13.305027 193.168.1.2:5060 -> 190.224.166.135:5060
INVITE sip:51991206@190.224.166.135 SIP/2.0
Via: SIP/2.0/UDP 190.224.166.135:5060;branch=z9hG4bK376536b4
Max-Forwards: 70
From: <sip:541156281700@190.224.166.135>;tag=as2eb35c37
To: <sip:51991206@190.224.166.135>
Contact: <sip:541156281700@190.224.166.135:5060>
Call-ID: 544cd1a71b912d0a4db755d2344a823e@190.224.166.135:5060
CSeq: 102 INVITE
User-Agent: IPBX-2.11.0.47(11.25.3)
Date: Thu, 21 May 2020 02:42:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 313
v=0
o=root 1477741087 1477741087 IN IP4 190.224.166.135
s=Asterisk PBX 11.25.3
c=IN IP4 190.224.166.135
t=0 0
m=audio 40490 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2020/05/20 23:42:15.305290 193.168.1.2:5060 -> 190.224.166.135:5060
INVITE sip:51991206@190.224.166.135 SIP/2.0
Via: SIP/2.0/UDP 190.224.166.135:5060;branch=z9hG4bK376536b4
Max-Forwards: 70
From: <sip:541156281700@190.224.166.135>;tag=as2eb35c37
To: <sip:51991206@190.224.166.135>
Contact: <sip:541156281700@190.224.166.135:5060>
Call-ID: 544cd1a71b912d0a4db755d2344a823e@190.224.166.135:5060
CSeq: 102 INVITE
User-Agent: IPBX-2.11.0.47(11.25.3)
Date: Thu, 21 May 2020 02:42:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 313
v=0
o=root 1477741087 1477741087 IN IP4 190.224.166.135
s=Asterisk PBX 11.25.3
c=IN IP4 190.224.166.135
t=0 0
m=audio 40490 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2020/05/20 23:42:19.305240 193.168.1.2:5060 -> 190.224.166.135:5060
INVITE sip:51991206@190.224.166.135 SIP/2.0
Via: SIP/2.0/UDP 190.224.166.135:5060;branch=z9hG4bK376536b4
Max-Forwards: 70
From: <sip:541156281700@190.224.166.135>;tag=as2eb35c37
To: <sip:51991206@190.224.166.135>
Contact: <sip:541156281700@190.224.166.135:5060>
Call-ID: 544cd1a71b912d0a4db755d2344a823e@190.224.166.135:5060
CSeq: 102 INVITE
User-Agent: IPBX-2.11.0.47(11.25.3)
Date: Thu, 21 May 2020 02:42:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 313
v=0
o=root 1477741087 1477741087 IN IP4 190.224.166.135
s=Asterisk PBX 11.25.3
c=IN IP4 190.224.166.135
t=0 0
m=audio 40490 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv