PDA

Voir la version complète : Perte enregistrement de téléphone



tanguyd
15/06/2014, 18h12
Bonjour

J'ai un asterisk sur un vps et des téléphones dans plusieurs endroits.

Depuis vendredi soir, sans changement connu, les téléphones d'un des sites se déconnectent pendant 3 minutes après avoir été enregistrés pendant une heure.

[Jun 15 06:27:19] VERBOSE[1839] chan_sip.c: -- Unregistered SIP '6414'



REGISTER sip:fqdn-serveur-sip.com SIP/2.0
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-d4fd4380
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=bd05fe1787722f13o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32692 REGISTER
Max-Forwards: 70
Authorization: Digest username="6414",realm="asterisk",nonce="70902bbe",uri="sip:fqdn-serveur-sip.com",algorithm=MD5,response="ec6eebf25ad2abdf23f74c35427dfd7c"
Contact: "Mathieu" <sip:6414@217.128.x.x:1026>;expires=0
User-Agent: Cisco/SPA504G-7.4.7
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE
Supported: replaces

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-d4fd4380;received=217.128.x.x
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=bd05fe1787722f13o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=as02c1eb72
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32692 REGISTER
Server: FPBX-2.9.0(1.6.2.9)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2cc91a5a"
Content-Length: 0

REGISTER sip:fqdn-serveur-sip.com SIP/2.0
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-29721775
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=bd05fe1787722f13o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32693 REGISTER
Max-Forwards: 70
Authorization: Digest username="6414",realm="asterisk",nonce="2cc91a5a",uri="sip:fqdn-serveur-sip.com",algorithm=MD5,response="d4fbfccc9c9d78f76addf6b1910d02f1"
Contact: "Mathieu" <sip:6414@217.128.x.x:1026>;expires=0
User-Agent: Cisco/SPA504G-7.4.7
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE
Supported: replaces

SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-29721775;received=217.128.x.x
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=bd05fe1787722f13o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=as02c1eb72
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32693 REGISTER
Server: FPBX-2.9.0(1.6.2.9)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 0
Date: Sun, 15 Jun 2014 04:27:19 GMT
Content-Length: 0




La on voit que asterisk lui a répondu OK, le téléphone continue a apparaitre déconnecté. Plus aucun échange pendant 3 minutes


[Jun 15 06:30:04] VERBOSE[1839] chan_sip.c: -- Registered SIP '6414' at 217.128.x.x port 1026
Enfin le téléphone se connecte, Je remarque la seconde fois, le téléphone envoie un paquet "options"


REGISTER sip:fqdn-serveur-sip.com SIP/2.0
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-621c6599
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=1da66474e9564a3o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32694 REGISTER
Max-Forwards: 70
Contact: "Mathieu" <sip:6414@217.128.x.x:1026>;expires=3600
User-Agent: Cisco/SPA504G-7.4.7
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE
Supported: replaces

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-621c6599;received=217.128.x.x
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=1da66474e9564a3o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=as7634a540
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32694 REGISTER
Server: FPBX-2.9.0(1.6.2.9)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="439b5223"
Content-Length: 0

REGISTER sip:fqdn-serveur-sip.com SIP/2.0
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-f5ff24f2
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=1da66474e9564a3o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32695 REGISTER
Max-Forwards: 70
Authorization: Digest username="6414",realm="asterisk",nonce="439b5223",uri="sip:fqdn-serveur-sip.com",algorithm=MD5,response="df6f4b412f015b9c7eb997c868a450f0"
Contact: "Mathieu" <sip:6414@217.128.x.x:1026>;expires=3600
User-Agent: Cisco/SPA504G-7.4.7
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE
Supported: replaces

OPTIONS sip:6414@217.128.x.x:1026 SIP/2.0
Via: SIP/2.0/UDP 94.125.x.x:5060;branch=z9hG4bK668565d1;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@94.125.x.x>;tag=as7d15a24a
To: <sip:6414@217.128.x.x:1026>
Contact: <sip:Unknown@94.125.x.x>
Call-ID: 7fca854a5b2f83d87a075de82f05a91d@94.125.x.x
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.9)
Date: Sun, 15 Jun 2014 04:30:04 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.128.x.x:1026;branch=z9hG4bK-f5ff24f2;received=217.128.x.x
From: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=1da66474e9564a3o0
To: "Mathieu" <sip:6414@fqdn-serveur-sip.com>;tag=as7634a540
Call-ID: 77a4f165-dcefef9a@172.17.13.154
CSeq: 32695 REGISTER
Server: FPBX-2.9.0(1.6.2.9)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 3600
Contact: <sip:6414@217.128.x.x:1026>;expires=3600
Date: Sun, 15 Jun 2014 04:30:04 GMT
Content-Length: 0

SIP/2.0 200 OK
To: <sip:6414@217.128.x.x:1026>;tag=6442f2173639cb13i0
From: "Unknown" <sip:Unknown@94.125.x.x>;tag=as7d15a24a
Call-ID: 7fca854a5b2f83d87a075de82f05a91d@94.125.x.x
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 94.125.x.x:5060;branch=z9hG4bK668565d1
Server: Cisco/SPA504G-7.4.7
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER, UPDATE
Supported: replaces



Et sa recommence au bout d'une heure

[Jun 15 07:30:03] VERBOSE[1839] chan_sip.c: -- Unregistered SIP '6414'
[Jun 15 07:32:48] VERBOSE[1839] chan_sip.c: -- Registered SIP '6414' at 217.128.x.x port 1026

Je précise que je n'ai pas pour le moment pas la main sur la conf téléphone/routeurs coté client ( j’espère que je pourrais l'avoir demain ). Le routeur est une livebox pro et SIP ALG est actif ( il ne m'a pas posé de problèmes jusqu’à présent )

Avez vous cependant une idée de se qui peut se passer ?

tanguyd
16/06/2014, 13h10
Je n'ai pas encore le fin mot de l'histoire, mais visiblement il y aurait des soucis avec la livebox du client, même des services de base tel "dhcp" poseraient problème.