Hi David,
When I’m using any others UA and dial *077777 it works, there is apparently no protocol violation, see below a trace when I dial this number from Counterpath Bria, but when I dial from Avaya phone until I put “sip set debug peer 46044” I see no information into Asterisk in debug and verbose mode call doesn’t try to go to “s” extension if it was the case it would easy to sort out:
Call made from Counterpath Bria:
<--- SIP read from UDP:10.147.116.67:16230 --->
INVITE sip:*077777@telecom.test.fr;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.147.116.67:16230;branch=z9hG4bK-d8754z-4199f1ad77974d00-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:46000@10.147.116.67:16230;transport=udp>
To: <sip:*077777@telecom.test.fr>
From: "Cyril <40075>"<sip:46000@telecom.test.fr>;tag=e79476ea
Call-ID: Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
Supported: replaces
User-Agent: Bria 3 release 3.4.3 stamp 68291
Content-Length: 289
v=0
o=- 12996148229839844 1 IN IP4 10.147.116.67
s=CounterPath Bria 3.3
c=IN IP4 10.147.116.67
t=0 0
m=audio 15524 RTP/AVP 8 0 9 97 105 98 101
a=rtpmap:97 SPEEX/8000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
--- (13 headers 12 lines) ---
Sending to 10.147.116.67:16230 (NAT)
Using INVITE request as basis request - Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU
Found peer '46000' for '46000' from 10.147.116.67:16230
<--- Reliably Transmitting (no NAT) to 10.147.116.67:16230 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.67:16230;branch=z9hG4bK-d8754z-4199f1ad77974d00-1---d8754z-;received=10.147.116.67;rport=16230
From: "Cyril <40075>"<sip:46000@telecom.test.fr>;tag=e79476ea
To: <sip:*077777@telecom.test.fr>;tag=as794e3dc2
Call-ID: Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU
CSeq: 1 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
upported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2dd67708"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU' in 6400 ms (Method: INVITE)
<--- SIP read from UDP:10.147.116.67:16230 --->
ACK sip:*077777@telecom.test.fr;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.147.116.67:16230;branch=z9hG4bK-d8754z-4199f1ad77974d00-1---d8754z-;rport
Max-Forwards: 70
To: <sip:*077777@telecom.test.fr>;tag=as794e3dc2
From: "Cyril <40075>"<sip:46000@telecom.test.fr>;tag=e79476ea
Call-ID: Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU
CSeq: 1 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:10.147.116.67:16230 --->
INVITE sip:*077777@telecom.test.fr;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.147.116.67:16230;branch=z9hG4bK-d8754z-2b80360fc9bc167d-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:46000@10.147.116.67:16230;transport=udp>
To: <sip:*077777@telecom.test.fr>
From: "Cyril <40075>"<sip:46000@telecom.test.fr>;tag=e79476ea
Call-ID: Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
Supported: replaces
User-Agent: Bria 3 release 3.4.3 stamp 68291
Authorization: Digest username="46000",realm="asterisk",nonce="2dd67708",uri="sip:*077777@telecom.test.fr;transport=udp",response="edaecb460b5a512a19b5d4fbe1f42f4f",algorithm=MD5
Content-Length: 289
v=0
o=- 12996148229839844 1 IN IP4 10.147.116.67
s=CounterPath Bria 3.3
c=IN IP4 10.147.116.67
t=0 0
m=audio 15524 RTP/AVP 8 0 9 97 105 98 101
a=rtpmap:97 SPEEX/8000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
--- (14 headers 12 lines) ---
Sending to 10.147.116.67:16230 (no NAT)
Using INVITE request as basis request - Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU
Found peer '46000' for '46000' from 10.147.116.67:16230
== Using SIP RTP CoS mark 5
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 9
Found RTP audio format 97
Found RTP audio format 105
Found RTP audio format 98
Found RTP audio format 101
Found audio description format SPEEX for ID 97
Found unknown media description format SPEEX-FEC for ID 105
Found audio description format iLBC for ID 98
Found audio description format telephone-event for ID 101
Capabilities: us - 0x38160c (ulaw|alaw|speex|ilbc|g722|h263|h263p|h264), peer - audio=0x160c (ulaw|alaw|speex|ilbc|g722)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x160c (ulaw|alaw|speex|ilbc|g722)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 10.147.116.67:15524
Peer doesn't provide video
Looking for *077777 in from-sip (domain telecom.test.fr)
list_route: hop: <sip:46000@10.147.116.67:16230;transport=udp>
<--- Transmitting (no NAT) to 10.147.116.67:16230 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.147.116.67:16230;branch=z9hG4bK-d8754z-2b80360fc9bc167d-1---d8754z-;received=10.147.116.67;rport=16230
From: "Cyril <40075>"<sip:46000@telecom.test.fr>;tag=e79476ea
To: <sip:*077777@telecom.test.fr>
Call-ID: Mzg4ZTEyOGJiZDVhNDZlMzlhODYzMzM5ZWI5ZDIxYjU
CSeq: 2 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:*077777@10.147.113.73:5060>
Content-Length: 0
<------------>
-- Executing [*077777@from-sip:1] SIPDtmfMode("SIP/46000-000028ca", "info") in new stack
-- Executing [*077777@from-sip:2] Dial("SIP/46000-000028ca", "OOH323/*077777@Avaya") in new stack
-- Called OOH323/*077777@Avaya
-- OOH323/Avaya-11917 is ringing
Call made from Avaya phone with complete traces:
<--- SIP read from UDP:10.147.116.240:5060 --->
INVITE sip:*077777 SIP/2.0
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9
Max-Forwards: 70
Content-Length: 267
To: *077777 <sip:*077777>
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Route: <sip:10.147.113.73;lr>
Supported: timer
Allow: NOTIFY
Allow: REFER
Allow: OPTIONS
Allow: INVITE
Allow: ACK
Allow: CANCEL
Allow: BYE
Content-Type: application/sdp
Contact: 46044 <sip:46044@10.147.116.240:5060>
Supported: replaces
User-Agent: Avaya SIP R2.2 Endpoint Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26
v=0
o=MxSIP 0 613651292 IN IP4 10.147.116.240
s=SIP Call
c=IN IP4 10.147.116.240
t=0 0
m=audio 34008 RTP/AVP 0 8 18 2 127
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:127 telephone-event/8000
a=ptime:20
<------------->
--- (21 headers 12 lines) ---
Sending to 10.147.116.240:5060 (NAT)
Using INVITE request as basis request - 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
Found peer '46044' for '46044' from 10.147.116.240:5060
<--- Reliably Transmitting (no NAT) to 10.147.116.240:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9;received=10.147.116.240
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
To: *077777 <sip:*077777>;tag=as052ba87a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="157b6ce6"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '282e644180cf8640790ee437a0d3c0bc@10.147.116.240' in 6400 ms (Method: INVITE)
Retransmitting #1 (no NAT) to 10.147.116.240:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9;received=10.147.116.240
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
To: *077777 <sip:*077777>;tag=as052ba87a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="157b6ce6"
Content-Length: 0
---
Retransmitting #2 (no NAT) to 10.147.116.240:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9;received=10.147.116.240
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
To: *077777 <sip:*077777>;tag=as052ba87a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="157b6ce6"
Content-Length: 0
---
<--- SIP read from UDP:10.147.116.240:5060 --->
INVITE sip:*077777 SIP/2.0
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9
Max-Forwards: 70
Content-Length: 267
To: *077777 <sip:*077777>
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Route: <sip:10.147.113.73;lr>
Supported: timer
Allow: NOTIFY
Allow: REFER
Allow: OPTIONS
Allow: INVITE
Allow: ACK
Allow: CANCEL
Allow: BYE
Content-Type: application/sdp
Contact: 46044 <sip:46044@10.147.116.240:5060>
Supported: replaces
User-Agent: Avaya SIP R2.2 Endpoint Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26
v=0
o=MxSIP 0 613651292 IN IP4 10.147.116.240
s=SIP Call
c=IN IP4 10.147.116.240
t=0 0
m=audio 34008 RTP/AVP 0 8 18 2 127
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:127 telephone-event/8000
a=ptime:20
<------------->
--- (21 headers 12 lines) ---
Ignoring this INVITE request
Retransmitting #3 (no NAT) to 10.147.116.240:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9;received=10.147.116.240
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
To: *077777 <sip:*077777>;tag=as052ba87a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="157b6ce6"
Content-Length: 0
---
Retransmitting #4 (no NAT) to 10.147.116.240:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9;received=10.147.116.240
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
To: *077777 <sip:*077777>;tag=as052ba87a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="157b6ce6"
Content-Length: 0
---
<--- SIP read from UDP:10.147.116.240:5060 --->
INVITE sip:*077777 SIP/2.0
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9
Max-Forwards: 70
Content-Length: 267
To: *077777 <sip:*077777>
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Route: <sip:10.147.113.73;lr>
Supported: timer
Allow: NOTIFY
Allow: REFER
Allow: OPTIONS
Allow: INVITE
Allow: ACK
Allow: CANCEL
Allow: BYE
Content-Type: application/sdp
Contact: 46044 <sip:46044@10.147.116.240:5060>
Supported: replaces
User-Agent: Avaya SIP R2.2 Endpoint Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26
v=0
o=MxSIP 0 613651292 IN IP4 10.147.116.240
s=SIP Call
c=IN IP4 10.147.116.240
t=0 0
m=audio 34008 RTP/AVP 0 8 18 2 127
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:127 telephone-event/8000
a=ptime:20
<------------->
--- (21 headers 12 lines) ---
Ignoring this INVITE request
Retransmitting #5 (no NAT) to 10.147.116.240:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9;received=10.147.116.240
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
To: *077777 <sip:*077777>;tag=as052ba87a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="157b6ce6"
Content-Length: 0
---
<--- SIP read from UDP:10.147.116.240:5060 --->
INVITE sip:*077777 SIP/2.0
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9
Max-Forwards: 70
Content-Length: 267
To: *077777 <sip:*077777>
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Route: <sip:10.147.113.73;lr>
Supported: timer
Allow: NOTIFY
Allow: REFER
Allow: OPTIONS
Allow: INVITE
Allow: ACK
Allow: CANCEL
Allow: BYE
Content-Type: application/sdp
Contact: 46044 <sip:46044@10.147.116.240:5060>
Supported: replaces
User-Agent: Avaya SIP R2.2 Endpoint Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26
v=0
o=MxSIP 0 613651292 IN IP4 10.147.116.240
s=SIP Call
c=IN IP4 10.147.116.240
t=0 0
m=audio 34008 RTP/AVP 0 8 18 2 127
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:127 telephone-event/8000
a=ptime:20
<------------->
--- (21 headers 12 lines) ---
Ignoring this INVITE request
Really destroying SIP dialog '67ce24ad67a14a6d0359c2ea8987c7e9@10.147.116.240' Method: INVITE
Retransmitting #6 (no NAT) to 10.147.116.240:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.147.116.240:5060;branch=z9hG4bK70b2cf7b9;received=10.147.116.240
From: 46044 <sip:46044@telecom.test.fr>;tag=ca0acd93a05f67a
To: *077777 <sip:*077777>;tag=as052ba87a
Call-ID: 282e644180cf8640790ee437a0d3c0bc@10.147.116.240
CSeq: 561178912 INVITE
Server: DTC
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="157b6ce6"
Content-Length: 0
Thanks for your advice.
Best Regards