Qualifying Gateway Vega 50 BRI with asterisk > 1.4

Hello !

I have a Vega 50 BRI sip gateway what is responding ok at qualifying with asterisk 1.4.

When i install any other version of fresh FreePBX (asterisk 1.8 & uppers), this qualify failed with UNREACHABLE message. I install another fresh install in a virtual machine with asterisk 1.4, and the response is ok.

The asterisk server & gateway are in the same network/switch

This is the sip dialog with asterisk 1.4 at qualifying (OK response):

Reliably Transmitting (no NAT) to 192.168.0.10:5060:
OPTIONS sip:192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.254:5060;branch=z9hG4bK1da1ac1a;rport
From: “Unknown” ;tag=as2c1d6fce
To:
Contact:
Call-ID: 69385ddf6455138f7392f8056ba4ee4d@192.168.0.254
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 21 Oct 2014 20:38:31 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0

elastix*CLI>
<— SIP read from 192.168.0.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.254:5060;branch=z9hG4bK1da1ac1a;rport
From: “Unknown” ;tag=as2c1d6fce
To: ;tag=0012-0167-47E5B035
Call-ID: 69385ddf6455138f7392f8056ba4ee4d@192.168.0.254
CSeq: 102 OPTIONS
Contact:
Allow: INVITE,ACK,BYE,CANCEL,INFO,NOTIFY,OPTIONS,REFER,PRACK
Supported: 100rel, replaces
Accept: application/sdp, application/none
Accept-Language: en
User-Agent: VEGABRIS/06.02.06xS019
Content-Length: 0

<------------->
— (13 headers 0 lines) —
Really destroying SIP dialog ‘69385ddf6455138f7392f8056ba4ee4d@192.168.0.254’ Method: OPTIONS

This is the sip dialog (the same with all asterisk versions) with asterisk 1.6, 1.8, 11, 12 or 13beta: (UNREACHABLE)

Reliably Transmitting (no NAT) to 192.168.0.10:5060:
OPTIONS sip:192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
Max-Forwards: 70
From: “Unknown” ;tag=as2d56b434
To:
Contact:
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.13.1)
Date: Tue, 21 Oct 2014 15:23:54 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

<— SIP read from UDP:192.168.0.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
From: “Unknown” ;tag=as2d56b434
To: ;tag=0013-044E-4A394683
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150
CSeq: 102 OPTIONS
Contact:
Allow: INVITE,ACK,BYE,CANCEL,INFO,NOTIFY,OPTIONS,REFER,PRACK
Supported: 100rel, replaces
Accept: application/sdp, application/none
Accept-Language: en
User-Agent: VEGABRIS/06.02.06xS019
Content-Length: 0

<------------->
— (13 headers 0 lines) —
Retransmitting #1 (no NAT) to 192.168.0.10:5060:
OPTIONS sip:192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
Max-Forwards: 70
From: “Unknown” ;tag=as2d56b434
To:
Contact:
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.13.1)
Date: Tue, 21 Oct 2014 15:23:54 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

<— SIP read from UDP:192.168.0.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
From: “Unknown” ;tag=as2d56b434
To: ;tag=0013-044E-4A394683
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150
CSeq: 102 OPTIONS
Contact:
Allow: INVITE,ACK,BYE,CANCEL,INFO,NOTIFY,OPTIONS,REFER,PRACK
Supported: 100rel, replaces
Accept: application/sdp, application/none
Accept-Language: en
User-Agent: VEGABRIS/06.02.06xS019
Content-Length: 0

<------------->
— (13 headers 0 lines) —
Retransmitting #2 (no NAT) to 192.168.0.10:5060:
OPTIONS sip:192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
Max-Forwards: 70
From: “Unknown” ;tag=as2d56b434
To:
Contact:
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.13.1)
Date: Tue, 21 Oct 2014 15:23:54 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

<— SIP read from UDP:192.168.0.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
From: “Unknown” ;tag=as2d56b434
To: ;tag=0013-044E-4A394683
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150
CSeq: 102 OPTIONS
Contact:
Allow: INVITE,ACK,BYE,CANCEL,INFO,NOTIFY,OPTIONS,REFER,PRACK
Supported: 100rel, replaces
Accept: application/sdp, application/none
Accept-Language: en
User-Agent: VEGABRIS/06.02.06xS019
Content-Length: 0

<------------->
— (13 headers 0 lines) —
Retransmitting #3 (no NAT) to 192.168.0.10:5060:
OPTIONS sip:192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
Max-Forwards: 70
From: “Unknown” ;tag=as2d56b434
To:
Contact:
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.13.1)
Date: Tue, 21 Oct 2014 15:23:54 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

<— SIP read from UDP:192.168.0.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
From: “Unknown” ;tag=as2d56b434
To: ;tag=0013-044E-4A394683
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150
CSeq: 102 OPTIONS
Contact:
Allow: INVITE,ACK,BYE,CANCEL,INFO,NOTIFY,OPTIONS,REFER,PRACK
Supported: 100rel, replaces
Accept: application/sdp, application/none
Accept-Language: en
User-Agent: VEGABRIS/06.02.06xS019
Content-Length: 0

<------------->
— (13 headers 0 lines) —
Retransmitting #4 (no NAT) to 192.168.0.10:5060:
OPTIONS sip:192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
Max-Forwards: 70
From: “Unknown” ;tag=as2d56b434
To:
Contact:
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.13.1)
Date: Tue, 21 Oct 2014 15:23:54 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0

Really destroying SIP dialog ‘264cacc8499f6bc52ef6c53a5f073194@192.168.0.150:5060’ Method: OPTIONS

<— SIP read from UDP:192.168.0.10:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.150:5060;branch=z9hG4bK73f201b4
From: “Unknown” ;tag=as2d56b434
To: ;tag=0013-044E-4A394683
Call-ID: 264cacc8499f6bc52ef6c53a5f073194@192.168.0.150
CSeq: 102 OPTIONS
Contact:
Allow: INVITE,ACK,BYE,CANCEL,INFO,NOTIFY,OPTIONS,REFER,PRACK
Supported: 100rel, replaces
Accept: application/sdp, application/none
Accept-Language: en
User-Agent: VEGABRIS/06.02.06xS019
Content-Length: 0

<------------->
— (13 headers 0 lines) —

Can anyone understand this and help me ?

Thank’s for all,
Berrigorri.

The device is illegally modifying the call-ID, by deleting the :5060. That results in a different call-ID.