Bonjour,
J'ai un serveur freepbx avec asterisk 1.6 qui tourne depuis pas loin de 2 ans sur sip.ovh.net sans soucis.
J'ai 2 connexions adsl, une orange (ip dynamique) et une OVH (ip fixe)
Depuis maintenant 1 mois, plus de connexion à sip.ovh.net, timeout à l'enregistrement.
Je n'arrivait d’ailleurs plus à pinger sip.ovh.net du tout, que ce soit depuis orange ou OVH
J'ouvre un ticket, on me suggère en 1er lieu de passer sur sip.ovh.fr, meilleur serveur, mieux sécurisé, plus d'options...
Je m’exécute, je constate que je ping bien sip.ovh.fr, que ce soit depuis orange ou OVH, donc rassuré, je modifie ma config... et aucun enregistrement...
Par défaut la voip est sur orange, je test sur OVH, et là bim, ça fonctionne, je repasse sur orange, timeout...
Je n'ai mis en place aucune protection particulière, j'ai simplement changé de serveur sip.
Le service technique ne semble pas prendre en compte mon problème et m'envoie un message bateau et inutile tous les 2 jours...
un extrait de trame SIP :
---
[Nov 4 09:31:56] NOTICE[23919] chan_sip.c: -- Registration for 'MON_NUMERO@sip.ovh.fr' timed out, trying again (Attempt #15899)
[Nov 4 09:31:56] VERBOSE[23919] chan_sip.c: REGISTER 11 headers, 0 lines
[Nov 4 09:31:56] VERBOSE[23919] chan_sip.c: Reliably Transmitting (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK4361b7ca;rpo rt
Max-Forwards: 70
From: ;tag=as0ee3f332
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16001 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:31:56] VERBOSE[23919] chan_sip.c: Really destroying SIP dialog '28952f44389e1cac4f7693816a1812c4@127.0.0.1' Method: REGISTER
[Nov 4 09:31:57] VERBOSE[23919] chan_sip.c: Retransmitting #1 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK4361b7ca;rpo rt
Max-Forwards: 70
From: ;tag=as0ee3f332
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16001 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:31:57] VERBOSE[23919] chan_sip.c: Reliably Transmitting (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK19468cca;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as1b07133c
To:
Contact:
Call-ID: 3b5031c6491ece1038d301be735ff2be@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:31:57 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:31:58] VERBOSE[23919] chan_sip.c: Retransmitting #2 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK4361b7ca;rpo rt
Max-Forwards: 70
From: ;tag=as0ee3f332
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16001 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:31:58] VERBOSE[23919] chan_sip.c: Retransmitting #1 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK19468cca;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as1b07133c
To:
Contact:
Call-ID: 3b5031c6491ece1038d301be735ff2be@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:31:57 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:31:59] VERBOSE[23919] chan_sip.c: Retransmitting #2 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK19468cca;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as1b07133c
To:
Contact:
Call-ID: 3b5031c6491ece1038d301be735ff2be@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:31:57 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:00] VERBOSE[23919] chan_sip.c: Retransmitting #3 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK4361b7ca;rpo rt
Max-Forwards: 70
From: ;tag=as0ee3f332
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16001 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:32:00] VERBOSE[23919] chan_sip.c: Retransmitting #3 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK19468cca;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as1b07133c
To:
Contact:
Call-ID: 3b5031c6491ece1038d301be735ff2be@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:31:57 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:01] VERBOSE[23919] chan_sip.c: Retransmitting #4 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK19468cca;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as1b07133c
To:
Contact:
Call-ID: 3b5031c6491ece1038d301be735ff2be@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:31:57 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:01] VERBOSE[23919] chan_sip.c: Really destroying SIP dialog '3b5031c6491ece1038d301be735ff2be@IP_PUBLIQUE_ORAN GE' Method: OPTIONS
[Nov 4 09:32:04] VERBOSE[23919] chan_sip.c: Retransmitting #4 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK4361b7ca;rpo rt
Max-Forwards: 70
From: ;tag=as0ee3f332
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16001 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:32:08] VERBOSE[23919] chan_sip.c: Retransmitting #5 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK4361b7ca;rpo rt
Max-Forwards: 70
From: ;tag=as0ee3f332
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16001 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:32:11] VERBOSE[23919] chan_sip.c: Reliably Transmitting (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2434d5d7;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as0fb23234
To:
Contact:
Call-ID: 2f5f463748f072223ca5cf1f1f186ac4@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:32:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:12] VERBOSE[23919] chan_sip.c: Retransmitting #6 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK4361b7ca;rpo rt
Max-Forwards: 70
From: ;tag=as0ee3f332
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16001 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:32:12] VERBOSE[23919] chan_sip.c: Retransmitting #1 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2434d5d7;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as0fb23234
To:
Contact:
Call-ID: 2f5f463748f072223ca5cf1f1f186ac4@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:32:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:13] VERBOSE[23919] chan_sip.c: Retransmitting #2 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2434d5d7;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as0fb23234
To:
Contact:
Call-ID: 2f5f463748f072223ca5cf1f1f186ac4@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:32:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:14] VERBOSE[23919] chan_sip.c: Retransmitting #3 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2434d5d7;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as0fb23234
To:
Contact:
Call-ID: 2f5f463748f072223ca5cf1f1f186ac4@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:32:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:15] VERBOSE[23919] chan_sip.c: Retransmitting #4 (NAT) to 91.121.129.20:5060:
OPTIONS sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2434d5d7;rpo rt
Max-Forwards: 70
From: "Unknown" ;tag=as0fb23234
To:
Contact:
Call-ID: 2f5f463748f072223ca5cf1f1f186ac4@IP_PUBLIQUE_ORANG E
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.6)
Date: Mon, 04 Nov 2013 08:32:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
---
[Nov 4 09:32:15] VERBOSE[23919] chan_sip.c: Really destroying SIP dialog '2f5f463748f072223ca5cf1f1f186ac4@IP_PUBLIQUE_ORAN GE' Method: OPTIONS
[Nov 4 09:32:16] NOTICE[23919] chan_sip.c: -- Registration for 'MON_NUMERO@sip.ovh.fr' timed out, trying again (Attempt #15900)
[Nov 4 09:32:16] VERBOSE[23919] chan_sip.c: REGISTER 11 headers, 0 lines
[Nov 4 09:32:16] VERBOSE[23919] chan_sip.c: Reliably Transmitting (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2a7ae256;rpo rt
Max-Forwards: 70
From: ;tag=as47c6e21b
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16002 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:32:16] VERBOSE[23919] chan_sip.c: Really destroying SIP dialog '28952f44389e1cac4f7693816a1812c4@127.0.0.1' Method: REGISTER
[Nov 4 09:32:17] VERBOSE[23919] chan_sip.c: Retransmitting #1 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2a7ae256;rpo rt
Max-Forwards: 70
From: ;tag=as47c6e21b
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16002 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:32:18] VERBOSE[23919] chan_sip.c: Retransmitting #2 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2a7ae256;rpo rt
Max-Forwards: 70
From: ;tag=as47c6e21b
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16002 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
[Nov 4 09:32:20] VERBOSE[23919] chan_sip.c: Retransmitting #3 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0
Via: SIP/2.0/UDP IP_PUBLIQUE_ORANGE:5060;branch=z9hG4bK2a7ae256;rpo rt
Max-Forwards: 70
From: ;tag=as47c6e21b
To:
Call-ID: 28952f44389e1cac4f7693816a1812c4@127.0.0.1
CSeq: 16002 REGISTER
User-Agent: FPBX-2.9.0(1.6.2.6)
Expires: 120
Contact:
Content-Length: 0
---
J'ai tenté de jouer avec les "minexpiry" d'après
cette discussion sans résultat.
Puisque ça marchait très bien jusque là je ne sais pas trop où regarder...
Pour info, la config du trunk :
type=peer
qualify=yes
host=sip.ovh.fr
language=fr
insecure=very
defaultuser=MON_NUMERO
secret=MON_MOT_DE_PASSE
nat=yes
canreinvite=no
dtmfmode=auto
video=no
context=custom-get-did-ovh
J'avais le paramètre "insecure = port,invite" précédemment sans résultat
Puisque ça fonctionne depuis mon adresse IP OVH, la différence vient soit de mon routeur qui gère différemment les 2 liens adsl (ça marchait avant, je n'ai constaté aucune différence) soit du comportement du serveur vis à vis des 2 adresses différentes. Y a-t-il une restriction en place par défaut qui ne laisserait passer que les adresse OVH ? (si c'était le cas j'espère que le support me l'aurais dit dès le départ...)
J'ai tenté de mettre mon ip orange dans les adresses de confiance pour al restriction, aucune différence de comportement, j'ai toujours un timeout, comme si le serveur refusait de répondre sur ces IP
Comme asterisk est "hors contrat" vis à vis d'OVH, pouvez-vous m'aider pour ceux qui ont le même type de configuration que moi ?