OVH Community, votre nouvel espace communautaire.

probleme connection sip ?


Gaston_Phone
09/09/2014, 07h58
Merci hfritz2cat pour ce lien, mais je n'ai pas du tout l'intention de me lancer dans une solution Asterisk et Obélix.

J'ai simplement voulu aider en montrant, avec ZOIPER, que le problème n'était pas chez OVH.

fritz2cat
09/09/2014, 07h40
@Gaston, si tu as envie de réagir, va plutôt voir la page http://www.voip-info.org/wiki/view/A...tallation+tips et tu vas comprendre quelque chose.

Gaston_Phone
01/09/2014, 21h17
Essaie avec sip.ovh.fr:5962

sylvain123
01/09/2014, 20h02
Alors que moi j'envoie mes requettes sip vers sip.ovh.fr:5060, d'aprés mon routeur, ovh me réponds depuis le port 5962 vers mon port 49154 est-ce normal ?

[LAN access from remote] from 91.121.129.20:5962 to 192.168.0.35:49154, Monday, September 01,2014 17:45:19
[LAN access from remote] from 91.121.129.20:5962 to 192.168.0.35:49154, Monday, September 01,2014 17:45:15
[LAN access from remote] from 91.121.129.20:5962 to 192.168.0.35:49154, Monday, September 01,2014 17:45:11
[LAN access from remote] from 91.121.129.20:5962 to 192.168.0.35:49154, Monday, September 01,2014 17:45:07

( 192.168.0.35 est mon DMZ sur lequel se trouve mon serveur freepbx)

sylvain123
29/08/2014, 18h27
Personne n'a d"idée pour mon problème ?

Merci.

Gaston_Phone
28/08/2014, 00h04
Citation Envoyé par sylvain123
mais pour enlever le s et envoyer Contact: je sais pas comment faire !
Désolé, je n'ai pas d'asterisk et ne peux pas t'aider plus.

sylvain123
27/08/2014, 23h51
--> Ma réponse en #6

Gaston_Phone
27/08/2014, 23h50
--> Ma réponse en #5

sylvain123
27/08/2014, 23h48
Oui ça je sais bien.

J'aurais juste voulu comprendre ce que j'envoyais de mal à ovh pour pouvoir le corriger dans mon asterisk/freepbx !

Quelqu'un a une idée ?

mise à jour

j'ai bien essayé d'envoyer vers 5962 au lieu 5060 ca ne marche pas non plus.
mais pour enlever le s et envoyer Contact: je sais pas comment faire !

Gaston_Phone
27/08/2014, 23h47
Donc un problème de de paramétrage de ton asterisk/freepbx.

- - - Mise à jour - - -

Qu'est-ce que Contact:

As-tu essayé avec Contact: ?

sylvain123
27/08/2014, 23h42
Je viens de tester avec zoipper et ca fonctionne parfaitement.

Mais toujours pas avec mon asterisk/freepbx

sylvain123
27/08/2014, 23h40
Citation Envoyé par Gaston_Phone
As-tu essayé avec ZOIPER (SIP, Zoiper PORTABLE et OVH) ?
Je viens d'essayer avec ZOIPER, ca fonctionne parfaitement

Gaston_Phone
27/08/2014, 23h30
As-tu essayé avec ZOIPER (SIP, Zoiper PORTABLE et OVH) ?

sylvain123
27/08/2014, 23h11
je viens de retester et voici le résultat :

Je compte sur vous

Code:
localhost*CLI> sip debug on

localhost*CLI> 
No such command 'sip debug on' (type 'core show help sip debug on' for other possible commands)

localhost*CLI> sip debug on set debug on

localhost*CLI> 
SIP Debugging enabled

localhost*CLI> 
Retransmitting #7 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK3548ab4e;rport

Max-Forwards: 70

From: ;tag=as254b1943

To: 

Call-ID: 1a3938112a0921984374d5ab687b9200@[::1]

CSeq: 106 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 106 REGISTER
From: ;tag=as254b1943
To: ;tag=00-08105-29caee29-7b8e469b6
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK3548ab4e
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29cae986286cd65c7f19a6da73002878",opaque="29c82f4a616660d",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> 
REGISTER 11 headers, 0 lines
Reliably Transmitting (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ac88076;rport

Max-Forwards: 70

From: ;tag=as254b1943

To: 

Call-ID: 1a3938112a0921984374d5ab687b9200@[::1]

CSeq: 107 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---
[2014-08-27 23:08:15] NOTICE[2218]: chan_sip.c:15358 sip_reg_timeout:    -- Registration for '0033972xxxxxx@sip.ovh.fr' timed out, trying again (Attempt #6)
Really destroying SIP dialog '1a3938112a0921984374d5ab687b9200@[::1]' Method: REGISTER

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 100 Trying
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 107 REGISTER
From: ;tag=as254b1943
To: 
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ac88076
Content-Length: 0

<------------->

localhost*CLI> 
--- (7 headers 0 lines) ---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 107 REGISTER
From: ;tag=as254b1943
To: ;tag=00-08136-29caf7dd-2313770e7
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ac88076
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29caf43802381d231a1dcbce1bbfb473",opaque="29c82f4a616660d",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> 
Retransmitting #1 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ac88076;rport

Max-Forwards: 70

From: ;tag=as254b1943

To: 

Call-ID: 1a3938112a0921984374d5ab687b9200@[::1]

CSeq: 107 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 107 REGISTER
From: ;tag=as254b1943
To: ;tag=00-08136-29caf7dd-2313770e7
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ac88076
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29caf43802381d231a1dcbce1bbfb473",opaque="29c82f4a616660d",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> 
Retransmitting #2 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ac88076;rport

Max-Forwards: 70

From: ;tag=as254b1943

To: 

Call-ID: 1a3938112a0921984374d5ab687b9200@[::1]

CSeq: 107 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 107 REGISTER
From: ;tag=as254b1943
To: ;tag=00-08136-29caf7dd-2313770e7
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ac88076
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29caf43802381d231a1dcbce1bbfb473",opaque="29c82f4a616660d",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> 
Retransmitting #3 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ac88076;rport

Max-Forwards: 70

From: ;tag=as254b1943

To: 

Call-ID: 1a3938112a0921984374d5ab687b9200@[::1]

CSeq: 107 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 107 REGISTER
From: ;tag=as254b1943
To: ;tag=00-08136-29caf7dd-2313770e7
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ac88076
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29caf43802381d231a1dcbce1bbfb473",opaque="29c82f4a616660d",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> 
Retransmitting #4 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ac88076;rport

Max-Forwards: 70

From: ;tag=as254b1943

To: 

Call-ID: 1a3938112a0921984374d5ab687b9200@[::1]

CSeq: 107 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 107 REGISTER
From: ;tag=as254b1943
To: ;tag=00-08136-29caf7dd-2313770e7
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ac88076
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29caf43802381d231a1dcbce1bbfb473",opaque="29c82f4a616660d",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> 
Retransmitting #5 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ac88076;rport

Max-Forwards: 70

From: ;tag=as254b1943

To: 

Call-ID: 1a3938112a0921984374d5ab687b9200@[::1]

CSeq: 107 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 1a3938112a0921984374d5ab687b9200@[0:0:0:0:0:0:0:1]
CSeq: 107 REGISTER
From: ;tag=as254b1943
To: ;tag=00-08136-29caf7dd-2313770e7
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ac88076
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29caf43802381d231a1dcbce1bbfb473",opaque="29c82f4a616660d",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> sip set debug onff

localhost*CLI> 
SIP Debugging Disabled

localhost*CLI>

sylvain123
27/08/2014, 22h56
Salut.

Quelqu'un peut il me donner un tuyau ?

j'essaye de connecter un serveur asterisk/freepbx à ovh et j'ai sans arrêt des erreurs 401 Unauthorized

Quelqu'un a t il une idée du probleme ?

Voici les traces :

Le port sip de mon serveur est 5061
xx.xxx.xxx.xxx est l'adresse publique de mon réseau local
0033972xxxxxx est le login de mon compte sip ovh

Code:
Retransmitting #1 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ca442ea;rport

Max-Forwards: 70

From: ;tag=as0e72efe6

To: 

Call-ID: 22f1e2610f153ab17cfa322760abd44f@[::1]

CSeq: 102 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 501 Not Implemented
Call-ID: 7f8762e635a8c1c7580d3c7c18599c0f@xx.xxx.xxx.xxx:5061
CSeq: 102 OPTIONS
From: "Unknown" ;tag=as44879419
To: ;tag=00-31363-3ceed287-205264ef6
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK32cf51eb
Content-Length: 0

<------------->
--- (7 headers 0 lines) ---

localhost*CLI> 
[2014-08-27 21:56:57] NOTICE[2218]: chan_sip.c:24122 handle_response_peerpoke: Peer 'ovh5' is now Reachable. (957ms / 2000ms)
Really destroying SIP dialog '7f8762e635a8c1c7580d3c7c18599c0f@xx.xxx.xxx.xxx:5061' Method: OPTIONS

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 100 Trying
Call-ID: 22f1e2610f153ab17cfa322760abd44f@[0:0:0:0:0:0:0:1]
CSeq: 102 REGISTER
From: ;tag=as0e72efe6
To: 
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ca442ea
Content-Length: 0

<------------->

localhost*CLI> 
--- (7 headers 0 lines) ---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 22f1e2610f153ab17cfa322760abd44f@[0:0:0:0:0:0:0:1]
CSeq: 102 REGISTER
From: ;tag=as0e72efe6
To: ;tag=00-08098-29c40f35-18449b423
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ca442ea
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29c40bfa38abb3cc4651d83128adfa8b",opaque="29c2633f611911a",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

<------------->

localhost*CLI> 
--- (9 headers 0 lines) ---

localhost*CLI> 
Retransmitting #2 (NAT) to 91.121.129.20:5060:
REGISTER sip:sip.ovh.fr SIP/2.0

Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;branch=z9hG4bK2ca442ea;rport

Max-Forwards: 70

From: ;tag=as0e72efe6

To: 

Call-ID: 22f1e2610f153ab17cfa322760abd44f@[::1]

CSeq: 102 REGISTER

Supported: replaces, timer

User-Agent: FPBX-12.0.1beta34(12.3.2)

Expires: 120

Contact: 

Content-Length: 0




---

localhost*CLI> 

<--- SIP read from UDP:91.121.129.20:5060 --->
SIP/2.0 401 Unauthorized
Call-ID: 22f1e2610f153ab17cfa322760abd44f@[0:0:0:0:0:0:0:1]
CSeq: 102 REGISTER
From: ;tag=as0e72efe6
To: ;tag=00-08098-29c40f35-18449b423
Via: SIP/2.0/UDP xx.xxx.xxx.xxx:5061;received=xx.xxx.xxx.xxx;rport=5061;branch=z9hG4bK2ca442ea
WWW-Authenticate: Digest realm="sip.ovh.fr",nonce="29c40bfa38abb3cc4651d83128adfa8b",opaque="29c2633f611911a",stale=false,algorithm=MD5
Server: Cirpack/v4.56 (gw_sip)
Content-Length: 0

Merci de votre aide.