PDA

Voir la version complète : Configuration d'un Adaptateur Patton SmartLink M-ATA



Yann60
13/11/2015, 18h36
Bonjour à tous !

Cela fait plusieurs jour que j'essai de relier mon adaptateur Analogique vers IP M-ATA de Patton.

Application Code Version: SIP version 4.02.0A1 MS VR CS (0015)
Downloader Code Version: 3.1 EN (OEMA 011103)


Apparemment pas grand chose à configurer dessus mais ça m’échappe et je m'arrache les cheveux.

C'est comme si l'enregistrement n’était pas complet.

202/202 172.16.205.117 D Yes Yes A 5060 UNREACHABLE

Est ce quelqu'un a déjà configuré cet adaptateur la? Et si quelqu'un pouvait me montrer un exemple de conf coté M-ATA et Coté Asterisk?

Merci à tous ;)

J'utilise Freepbx Distro. Asterisk version 11
FreePBX 12.0.76.2 'VoIP Server'
Asterisk (Ver. 11.19.0)

C'est un environnement de test pour le moment.
Tout est en réseau local.
J'ai 2 Snome 870 :301 et 302

1 Gateway Patton avec 2 trunks + 2 T0


Le M-ATA porte l'extention 202

Au niveau des logs j'en suis la :


<------------->
--- (14 headers 0 lines) ---
Really destroying SIP dialog '002c07fb68bee576157001f13346ccf0@172.16.205.112:5 060' Method: OPTIONS
Reliably Transmitting (NAT) to 172.16.205.117:5060:
OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK47bd1558;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as701ea888
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 05b6df3a504f6b570063113c58f8350a@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Fri, 13 Nov 2015 16:29:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #1 (NAT) to 172.16.205.117:5060:
OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK47bd1558;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as701ea888
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 05b6df3a504f6b570063113c58f8350a@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Fri, 13 Nov 2015 16:29:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #2 (NAT) to 172.16.205.117:5060:
OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK47bd1558;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as701ea888
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 05b6df3a504f6b570063113c58f8350a@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Fri, 13 Nov 2015 16:29:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #3 (NAT) to 172.16.205.117:5060:
OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK47bd1558;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as701ea888
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 05b6df3a504f6b570063113c58f8350a@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Fri, 13 Nov 2015 16:29:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---
Retransmitting #4 (NAT) to 172.16.205.117:5060:
OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK47bd1558;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as701ea888
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 05b6df3a504f6b570063113c58f8350a@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Fri, 13 Nov 2015 16:29:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---
Really destroying SIP dialog '05b6df3a504f6b570063113c58f8350a@172.16.205.112:5 060' Method: OPTIONS
asterisk*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
101/101 172.16.205.115 D Yes Yes 5060 Unmonitored
202/202 172.16.205.117 D Yes Yes A 5060 UNREACHABLE
301/301 172.16.205.121 D Yes Yes A 3072 OK (39 ms)
302/302 172.16.205.122 D Yes Yes A 3072 OK (38 ms)
patton1/101 172.16.205.115 D Yes Yes 5060 OK (17 ms)
patton2/101 172.16.205.115 D Yes Yes A 5060 OK (19 ms)
6 sip peers [Monitored: 4 online, 1 offline Unmonitored: 1 online, 0 offline]
asterisk*CLI> !

jean
13/11/2015, 23h02
patton est un peu prise de tete à configurer, et autant en numeris, j'adore en dépit de çan autant en analogique, ca serait pas mon premier choix....

essaie de pomper les confs sur les patton numériques - y'en a dans ce forum, à mon avis, ca doit pas etre trop différent

Yann60
14/11/2015, 11h00
Ah merci du conseil :)

J ai comme code d erreur request time out : error 408 depuis le statut sur l'interface web

J'ai désactivé ip-tables pour vérifier si l'appareil était bloqué.
Mais mes autres appareils se connectent très bien :P

En tout cas quand on change l'ip du M-ATA, on voit bien le changement dans les peers sip.

Promis je vous mettrait ma conf fonctionnel quand ça fonctionnera.

olppp
16/11/2015, 11h00
Bonjour,

Pourquoi du NAT ? ta passerelle et ton serveur étant sur le même sous-réseau, c'est peut-être la source du problème.

Yann60
16/11/2015, 11h58
Bonjour,

Pourquoi du NAT ? ta passerelle et ton serveur étant sur le même sous-réseau, c'est peut-être la source du problème.

Oui en effet je l'ai désactivé entre temps.

Pas de meilleur résultat.

202/202 172.16.205.117 D No No A 5060 UNREACHABLE

Je me demande si je n'ai pas un problème avec le port 5060 sur ce matériel la.


[202]
deny=0.0.0.0/0.0.0.0
secret=*********
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
mediaencryption=no
sendrpid=pai
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=Auto
avpf=no
force_avp=no
icesupport=no
encryption=no
callgroup=
pickupgroup=
dial=SIP/202
permit=0.0.0.0/0.0.0.0
callerid=202 <202>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic

Je vais lancer un Wireshark.

Ce truc est intéressant mais qu'est ce que je galère.

Yann60
16/11/2015, 12h19
Voici un peu de blabla réseau avec wireshark.

Je vous ai mis une partie du dialogue si ça peut aiguiller.


SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as39889fd7
To: sip:202@172.16.205.117
Call-ID: 13f0606f455b2e954ca0516b55cea226@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK33d3d874
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK33d3d874
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as39889fd7
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 13f0606f455b2e954ca0516b55cea226@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:49:48 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as39889fd7
To: sip:202@172.16.205.117
Call-ID: 13f0606f455b2e954ca0516b55cea226@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK33d3d874
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

Yann60
16/11/2015, 12h20
Un petit extrait de ce qui ressort.



OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

OPTIONS sip:202@172.16.205.117:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Max-Forwards: 70
From: "Unknown" <sip:Unknown@172.16.205.112>;tag=as05fbba13
To: <sip:202@172.16.205.117:5060>
Contact: <sip:Unknown@172.16.205.112:5060>
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
User-Agent: FPBX-12.0.76.2(11.19.0)
Date: Mon, 16 Nov 2015 09:50:02 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

SIP/2.0 200 OK
From: Unknown<sip:Unknown@172.16.205.112>;tag=as05fbba13
To: sip:202@172.16.205.117
Call-ID: 54562958110177bd2ce6a05e2594ce4d@172.16.205.112:50 60
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 172.16.205.112:5060;branch=z9hG4bK44a3e454
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE, REFER
Supported: timer,replaces
User-Agent: Patton Smartlink MATA <4.02.0A1 MS VR CS (0015)><00a0ba0a19ae>
Accept: application/sdp
Content-Length: 0

olppp
16/11/2015, 13h19
pourquoi un deny puis permit dans ta configuration, un permit avec l'adresse de la passerelle devrait suffire

Yann60
16/11/2015, 13h45
pourquoi un deny puis permit dans ta configuration, un permit avec l'adresse de la passerelle devrait suffire

Merci, je vient de faire la modification.

Toujours le même resultat.

ça s'arette à Request: Options sip:202@172.16.205.117:5060

olppp
16/11/2015, 15h19
pas de trace de requêtes depuis la passerelle ? Peux-tu poster la config. de la Patton ?

Yann60
16/11/2015, 15h35
pas de trace de requêtes depuis la passerelle ? Peux-tu poster la config. de la Patton ?

Oui bien sure.

C'est très sympa de m'aider.

S'il manque des infos vous pouvez me le demander.
485
488
489
487

jean
16/11/2015, 16h09
je vois pas de truc bizarre, peut etre le domain à laisser vide - peux tu aussi essayer avec une conf sip basique!

[202]
type=friend
host=dynamic
qualify=no
nat=no
disallow=all
allow=alaw,g729
context=everybody

et lancer les traces sip ?

Yann60
16/11/2015, 16h38
je vois pas de truc bizarre, peut etre le domain à laisser vide - peux tu aussi essayer avec une conf sip basique!

[202]
type=friend
host=dynamic
qualify=no
nat=no
disallow=all
allow=alaw,g729
context=everybody

et lancer les traces sip ?
Merci pour l'astuce, du coup j'ai reussi à le faire sonner pendant 30seconde (du mieux)
Puis j'ai perdue la connexion et plus possible de le refaire sonné.

C'est très capricieux comme produit.
Une fois la conf trouvé je l'encadre et je l’accroche à mon mur.

J'essai de recup des traces.

olppp
16/11/2015, 16h47
d'accord pour le domain à laisser vide. Le port 5060 udp est-il ouvert sur le serveur ?

jean
16/11/2015, 16h54
y'a un timer à 30 sec qui claque quand y'a des erreurs & retransmissions...

pi
https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions

olppp
16/11/2015, 17h17
Je vois dans la config de la Patton un mode router : Il y a-t-il d'autres modes ?

Yann60
16/11/2015, 17h29
Ok je regarde dans ce sens.

Oui le port est ouvert.

Yann60
16/11/2015, 17h31
Je vois dans la config de la Patton un mode router : Il y a-t-il d'autres modes ?

Il y a un mode bridge.

olppp
16/11/2015, 17h31
bizarre d'ailleurs, ça ne correspond pas avec la doc. sur le site Patton :pt1cable:

jean
16/11/2015, 17h32
routeur/bridge influe sur la gestion des ports lan de la patton

olppp
16/11/2015, 17h34
qui ne mentionne pas cette fonction : This version of the User Manual is based on
firmware revision (1026)
tu as quel version ?
essaies le mode bridge !?!

olppp
16/11/2015, 17h37
1 seul port réseau sur cette équipement, pas de commut. ?

Yann60
16/11/2015, 18h29
qui ne mentionne pas cette fonction : This version of the User Manual is based on
firmware revision (1026)
tu as quel version ?
essaies le mode bridge !?!

C'est celui la :
http://www.ipandgo.com/694-large_leoelec/patton-m-ata-1-e.jpg

Il y a 1 port Lan et 1 port fxs.

Application Code Version: SIP version 4.02.0A1 MS VR CS (0015)

Si je n'y arrive pas, avez vous un adaptateur autre que celui la à me conseiller?

Yann60
16/11/2015, 19h17
C'est celui la :
http://www.ipandgo.com/694-large_leoelec/patton-m-ata-1-e.jpg

Il y a 1 port Lan et 1 port fxs.

Application Code Version: SIP version 4.02.0A1 MS VR CS (0015)

Si je n'y arrive pas, avez vous un adaptateur autre que celui la à me conseiller?

Juste pour vous apporter du nouveau

J'ai retrouvé des anciens modèles de M-ATA-1
des M-ATA-1/E

Celui que j'arrive pas a faire fonctionner c'est un M-ATA-1A/EUI

Je vous tien au courant si j'ai le même résultat.

Yann60
16/11/2015, 19h41
Juste pour vous apporter du nouveau

J'ai retrouvé des ancien modèle de M-ATA-1
des M-ATA-1/E

Celui que j'arrive pas a faire fonctionner c'est un M-ATA-1A/EUI

Je vous tien au courant si j'ai le meme résultat.

ça fonctionne avec le modèle M-ATA-1/E

Configuration toute bête.

Évitez le M-ATA-1A/EUI a moins qu'il ai un défaut de fabrique.

Merci à tous !

Yann60
16/11/2015, 19h51
Comme promis.

Voici ma conf

Configuration patton

490
491
492
493
494

Configuration via freepbx, resultat sur sip_additional.conf

[203]
deny=
secret=***********
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
mediaencryption=no
sendrpid=pai
type=friend
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp,tcp,tls
avpf=no
force_avp=no
icesupport=no
encryption=no
callgroup=
pickupgroup=
dial=SIP/203
permit=
callerid=203 <203>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic

olppp
17/11/2015, 12h20
Bravo et merci pour le suivi.
Les doc. constructeurs et les sous-versions :fou::gratgrat:

Yann60
19/11/2015, 21h55
Bravo et merci pour le suivi.
Les doc. constructeurs et les sous-versions :fou::gratgrat:

Hehe et maintenant je suis en pleine configuration FAX avec :P

L'envoie impeccable. Mais la réception ça fonctionne 1 coup sur 5.
Correction (ECM) désactivé sur le Gateway patton et asterisk.
En cours de recherche et de résolution.

olppp
20/11/2015, 15h52
Cette doc n'est pas pour Asterisk, mais je pense que la partie M-ATA doit-être semblable http://www.patton.com/support/kb_art.asp?art=336&

olppp
20/11/2015, 15h58
regarde aussi /etc/asterisk/udptl.conf et le paramétrage t38pt_udptl dans sip.conf pour le compte de ta Patton