Jump to content

Impossible d'envoyer et de recevoir des appels


Albert

Recommended Posts

Bonjour à tous,

 

J'ai des comptes SIP OVH que j'ai paramétré sur un SnomONE. L'enregistrement des comptes est bonne : status =200 ok. Mais malheureusement lorsque j'essaie d'appeler un numéro extéreiur c'est impossible. Le poste marque "Interdit".

Je suis sur des éléments suivants :

- Plan de numérotation est très simple : patron = * et remplacement = *, en utilisant l'utilitaire -> pas de problème il me route sur la ligne adéquate

- Le système OVH fonctionne puisse que j'ai installé un compte sip sur un poste et à partir de ce poste je peux appeler et recevoir des appels

- Les postes en interne fonctionne puissequ'ils peuvent s'appeler en eux

 

Avec Wireshark, j'ai tracé l'appel et visiblement il y a un problème d'enregistrement. En effet avant de fermer l'appel qui n'a pas abouti, j'ai : sip/2.0 403 not registered - Pourquoi

 

Si quelqu'un a une idée ! - merci

 

************

trace sip

 

 

INVITE sip:04xxxxxxxx@192.168.1.200:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-4b49fc76e62d1b30-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:41@192.168.1.21:57416;rinstance=21ef008e1d2b627b>

To: <sip:04xxxxxxxx@192.168.1.200:5060>

Froalbert: "albert"<sip:41@192.168.1.200:5060>;tag=2f70f003

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlALBERTzdmYWIxYWZlYmRlNTU.

CSeq: 1 INVITE

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Content-Type: application/sdp

Supported: replaces

User-Agent: 3CXPhone 6.0.20943.0

Content-Length: 405

 

v=0

o=3cxVCE 298366305 116512110 IN IP4 192.168.1.21

s=3cxVCE Audio Call

c=IN IP4 192.168.1.21

t=0 0

m=audio 49212 RTP/AVP 0 8 3 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:3 GSM/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

 

a=sendrecv

m=video 49210 RTP/AVP 34

c=IN IP4 192.168.1.21

a=rtpmap:34 H263/90000

a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1;

a=sendrecv

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-4b49fc76e62d1b30-1---d8754z-;rport=57416

From: "albert" <sip:41@192.168.1.200:5060>;tag=2f70f003

To: <sip:04xxxxxxxx@192.168.1.200:5060>;tag=dfb6ba3e86

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 1 INVITE

Content-Length: 0

 

SIP/2.0 401 Authentication Required

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-4b49fc76e62d1b30-1---d8754z-;rport=57416

From: "albert" <sip:41@192.168.1.200:5060>;tag=2f70f003

To: <sip:04xxxxxxxx@192.168.1.200:5060>;tag=dfb6ba3e86

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 1 INVITE

User-Agent: snom-PBX/2011-4.3.0.5021

 

WWW-Authenticate: Digest realm="192.168.1.200",nonce="af12e0850982bbf172e07d726f86302d",domain="sip:04xxxxxxxx@192.168.1.200:5060",algorithm=MD5

Content-Length: 0

ACK sip:04xxxxxxxx@192.168.1.200:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-4b49fc76e62d1b30-1---d8754z-;rport

Max-Forwards: 70

To: <sip:04xxxxxxxx@192.168.1.200:5060>;tag=dfb6ba3e86

From: "Albert"<sip:41@192.168.1.200:5060>;tag=2f70f003

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 1 ACK

Content-Length: 0

 

 

 

INVITE sip:04xxxxxxxx@192.168.1.200:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-a964817bad0f777e-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:41@192.168.1.21:57416;rinstance=21ef008e1d2b627b>

To: <sip:04xxxxxxxx@192.168.1.200:5060>

From: "albert"<sip:41@192.168.1.200:5060>;tag=2f70f003

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 2 INVITE

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Content-Type: application/sdp

Supported: replaces

User-Agent: 3CXPhone 6.0.20943.0

Authorization: Digest username="41",realm="192.168.1.200",nonce="af12e0850982bbf172e07d726f86302d",uri="sip:04xxxxxxxx@192.168.1.200:5060",response="2875876c909515426db949b252b01fcf",algorithm=MD5

Content-Length: 405

 

 

v=0

o=3cxVCE 298366305 116512110 IN IP4 192.168.1.21

s=3cxVCE Audio Call

c=IN IP4 192.168.1.21

t=0 0

m=audio 49212 RTP/AVP 0 8 3 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:3 GSM/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

a=sendrecv

m=video 49210 RTP/AVP 34

c=IN IP4 192.168.1.21

a=rtpmap:34 H263/90000

a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1;

a=sendrecv

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-a964817bad0f777e-1---d8754z-;rport=57416

From: "albert" <sip:41@192.168.1.200:5060>;tag=2f70f003

To: <sip:04xxxxxxxx@192.168.1.200:5060>;tag=dfb6ba3e86

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 2 INVITE

Content-Length: 0

 

 

SIP/2.0 183 Session Progress

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-a964817bad0f777e-1---d8754z-;rport=57416

From: "albert" <sip:41@192.168.1.200:5060>;tag=2f70f003

To: <sip:04xxxxxxxx@192.168.1.200:5060>;tag=dfb6ba3e86

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 2 INVITE

Contact: <sip:41@192.168.1.200:5060>

Supported: 100rel, replaces, norefersub

Allow-Events: refer

Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE

Accept: application/sdp

User-Agent: snom-PBX/2011-4.3.0.5021

Content-Type: application/sdp

Content-Length: 300

 

 

v=0

o=- 1192740662 1192740662 IN IP4 192.168.1.200

s=-

 

c=IN IP4 192.168.1.200

t=0 0

m=audio 57226 RTP/AVP 0 8 3 101

a=rtpmap:0 pcmu/8000

a=rtpmap:8 pcma/8000

a=rtpmap:3 gsm/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=ptime:20

a=rtcp-xr:rcvr-rtt=all voip-metrics

a=sendrecv

SIP/2.0 403 not registered

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-a964817bad0f777e-1---d8754z-;rport=57416

From: "albert" <sip:41@192.168.1.200:5060>;tag=2f70f003

To: <sip:04xxxxxxxx@192.168.1.200:5060>;tag=dfb6ba3e86

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 2 INVITE

Contact: <sip:41@192.168.1.200:5060>

Supported: 100rel, replaces, norefersub

Allow-Events: refer

Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE

Accept: application/sdp

User-Agent: snom-PBX/2011-4.3.0.5021

Content-Length: 0

 

ACK sip:04xxxxxxxx@192.168.1.200:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.21:57416;branch=z9hG4bK-d8754z-a964817bad0f777e-1---d8754z-;rport

Max-Forwards: 70

To: <sip:04xxxxxxxx@192.168.1.200:5060>;tag=dfb6ba3e86

From: "albert"<sip:41@192.168.1.200:5060>;tag=2f70f003

Call-ID: YjcwZWY4N2E3MGFjNDE0NWJlMzdmYWIxYWZlYmRlNTU.

CSeq: 2 ACK

Content-Length: 0

Link to comment
Share on other sites

Bonjour,

 

Difficile à dire.

Peux tu poster la config de ton trunk s'il te plait ?

 

Merci d'avance.

 

Essaye deja ca.

Le type doit etre : sip registration.

Proxy adresse : sip:sip.ovh.fr:5060;transport=udp

Remote Party/Privacy Indication: no indication

 

Ne pas selectionner des codecs

Link to comment
Share on other sites

Bonjour jldinfo,

 

Excuse-moi pour la lecture tardive de ta réponse, mais tu as vu juste. J'ai changé les paramètres et maintenant je peux envoyer et recevoir des appels. Après investigation, le paramètre qui posait problème est la zone "Remote Party/Privacy Indication" qui par défaut est sur RFC3325 P-asserted-Itendity), c'est effectivement "no indication" qu'il faut mettre. J'ai regarder la documentation pour en savoir plus mais pour moi ce n'est pas très clair. Peux-tu me donner quelques explications succintes sur les différents choix ?

 

Merci encore pour ta réponse ca

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...