Some more info.
Ignoring Homer for the moment. I have used the raw logs to
see the problem. The MWI server is not ignoring the request
it is issuing a 401 unauthorized to the Aastra handsets.
Below is a transaction from the Polycom, followed by a
transaction from the Aastra. The Polycom appends its mac
address to its username, whereas the Aastra doesn't. Apart
from that I can't see why the Aastra would be failing.
WORKING POLYCOM
"Read SIP message:
----Local Host:192.168.50.21---- Port: 5060----
----Remote Host:192.168.56.152---- Port: 5060----
SUBSCRIBE sip:mailto:***@datamerge.local SIP/2.0
Via: SIP/2.0/UDP
192.168.56.152;branch=z9hG4bKb988fa90CE813B91
From: \"Test User\"
<sip:mailto:***@datamerge.local>;tag=6674813C-8323CAED
To:
<sip:mailto:***@datamerge.local>
CSeq: 2 SUBSCRIBE
Call-ID: mailto:89813cc5-b8abfb1a-***@192.168.56.152
Contact: <sip:mailto:***@192.168.56.152>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE,
SUBSCRIBE,
NOTIFY, PRACK, UPDATE, REFER
Event: message-summary
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.3.1734
Accept-Language: en
Accept: application/simple-message-summary
Authorization: Digest username=\"204/0004f21b8818\",
realm=\"datamerge.local\",
nonce=\"adb0ab5772cadad9ab6653dd5d9e8d46501273e6\",
qop=auth, cnonce=\"2nEnJrlKI/N1k4e\", nc=00000001,
uri=\"sip:mailto:***@datamerge.local\", response=\"0d332
f1a74436efcf70cbb7f09b30133\", algorithm=MD5
Max-Forwards: 70
Expires: 3600
Content-Length: 0
====================END====================
sent message:
----Local Host:192.168.50.21---- Port: -1-
---
----Remote Host:192.168.50.21---- Port: 5110----
SUBSCRIBE sip:mailto:***@datamerge.local SIP/2.0
Record-Route: <sip:192.168.50.21:5060;lr>
Route: <sip:mwi.sipxecs.datamerge.local;transport=tcp;lr>
Via
: SIP/2.0/TCP
192.168.50.21;branch=z9hG4bK-XX-068bpK5Z87eTwHi7`klyIcKIYA
Via: SIP/2.0/UDP
192.168.56.152;branch=z9hG4bKb988fa90CE813B91
From: \"Test User\"
<sip:mailto:***@datamerge.local>;tag=6674813C-8323CAED
To: <sip:mailto:***@datamerge.local>
Cseq: 2 SUBSCRIBE
Call-Id: mailto:89813cc5-b8abfb1a-***@192.168.56.152
Contact: <sip:mailto:***@192.168.56.152;x-sipX-nonat>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO,
MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
Event: message-summary
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.3.1734
Accept-Language: en
Accept: application/simple-message-summary
Aut
horization: Digest username=\"204/0004f21b8818\",
realm=\"datamerge.local\",
nonce=\"adb0ab5772cadad9ab6653dd5d9e8d46501273e6\",
qop=auth, cnonce=\"2nEnJrlKI/N1k4e\", nc=00000001,
uri=\"sip:mailto:***@datamerge.local
\", response=\"0d332f1a74436efcf70cbb7f09b30133\",
algorithm=MD5
Max-Forwards: 20
Expires: 3600
Content-Length: 0
Date: Fri, 27 Jul 2012 10:56:38 GMT
--------------------END--------------------
Read SIP message:
----Local Host:192.168.50.21---- Port: 5060----
----Remote Host:192.168.50.21---- Port: 55111----
SIP/2.0 202 Accepted
From: \"Test User\"
<sip:mailto:***@datamerge.local>;tag=6674813C-8323CAED
To: <sip:mailto:***@datamerge.local>;tag=g2nCJD
Call-Id: mailto:89813cc5-b8abfb1a-***@192.168.56
.152
Cseq: 2 SUBSCRIBE
Via: SIP/2.0/TCP
192.168.50.21;branch=z9hG4bK-XX-068bpK5Z87eTwHi7`klyIcKIYA
Via: SIP/2.0/UDP
192.168.56.152;branch=z9hG4bKb988fa90CE813B91
Record-Route: <sip:192.168.50.21:50
60;lr>
Expires: 2660
Contact: sip:mailto:***@datamerge.local
User-Agent: sipXecs/4.6.0 sipXecs/publisher (Linux)
Date: Fri, 27 Jul 2012 10:56:38 GMT
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOT
IFY, SUBSCRIBE
Accept-Language: en
Supported: sip-cc-01, timer
Content-Length: 0
====================END====================
Agent sent message:
----Local Host:192.168.50.21---- Port: -1----
----Remote Host:192.168.50.21---- Port: 5110----
SUBSCRIBE sip:mailto:***@datamerge.local SIP/2.0
Record-Route: <sip:192.168.50.21:5060;lr>
Route: <sip:mwi.sipxecs.datamerge.local;transport=tcp;lr>
Via: SIP/2.0/TCP
192.168.50.21;branch=z9hG4bK-XX-068bpK5Z87eTwHi7`klyIcKIYA
Via: SIP/2.0/UDP
192.168.56.152;branch=z9hG4bKb988fa90CE813B91
From: \"Test User\"
<sip:mailto:***@datamerge.local>;tag=6674813C-8323CAED
To: <sip:mailto:***@datamerge.local>
Cseq: 2 SUBSCRIBE
Call-Id: mailto:89813cc5-b8abfb1a-***@192.168.56.152
Contact: <sip:mailto:***@192.168.56.152;x-sipX-nonat>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INF
O, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
Event: message-summary
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.3.1734
Accept-Language: en
Accept: application/simple-message-summary
A
uthorization: Digest username=\"204/0004f21b8818\",
realm=\"datamerge.local\",
nonce=\"adb0ab5772cadad9ab6653dd5d9e8d46501273e6\",
qop=auth, cnonce=\"2nEnJrlKI/N1k4e\", nc=00000001,
uri=\"sip:mailto:***@datamerge.loc
al\", response=\"0d332f1a74436efcf70cbb7f09b30133\",
algorithm=MD5
Max-Forwards: 20
Expires: 3600
Content-Length: 0
Date: Fri, 27 Jul 2012 10:56:38 GMT
--------------------END--------------------
Agent sent message:
----Local Host:192.168.50.21---- Port:5060----
----Remote Host:192.168.56.152---- Port: 5060----
SIP/2.0 202 Accepted
Record-Route: <sip:192.168.50.21:5060;lr;x-sipX-done>
From: \"Test User\"
<sip:mailto:***@datamerge.local>;tag=6674813C-8323CAED
To: <sip:mailto:***@datamerge.local>;tag=g2nCJD
Call-Id: mailto:89813cc5-b8abfb1a-***@192.168.56.152
Cseq: 2 SUBSCRIBE
Via: SIP/2.0/UDP
192.168.56.152;branch=z9hG4bKb988fa90CE813B91
Expires: 2660
Con
tact: sip:mailto:***@datamerge.local
User-Agent: sipXecs/4.6.0 sipXecs/publisher (Linux)
Date: Fri, 27 Jul 2012 10:56:38 GMT
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY,
SUBSCRIBE
Accept-Langu
age: en
Supported: sip-cc-01, timer
Content-Length: 0
--------------------END--------------------
Read SIP message:
----Local Host:192.168.50.21---- Port: 5060----
----Remote Host:192.168.50.21---- Port: 55111----
SIP/2.0 202 Accepted
From: \"Test User\"
<sip:mailto:***@datamerge.local>;tag=6674813C-8323CAED
To: <sip:mailto:***@datamerge.local>;tag=g2nCJD
Call-Id: mailto:89813cc5-b8abfb1a-***@192.168.56
.152
Cseq: 2 SUBSCRIBE
Via: SIP/2.0/TCP
192.168.50.21;branch=z9hG4bK-XX-068bpK5Z87eTwHi7`klyIcKIYA
Via: SIP/2.0/UDP
192.168.56.152;branch=z9hG4bKb988fa90CE813B91
Record-Route: <sip:192.168.50.21:50
60;lr>
Expires: 2660
Contact: sip:mailto:***@datamerge.local
User-Agent: sipXecs/4.6.0 sipXecs/publisher (Linux)
Date: Fri, 27 Jul 2012 10:56:38 GMT
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOT
IFY, SUBSCRIBE
Accept-Language: en
Supported: sip-cc-01, timer
Content-Length: 0
FAILING AASTRA
Read SIP message:
----Local Host:192.168.50.21---- Port: 5060----
----Remote Host:192.168.56.154---- Port: 5060----
SUBSCRIBE sip:mailto:***@datamerge.local:5060 SIP/2.0
Via: SIP/2.0/UDP
192.168.56.154;branch=z9hG4bKd465e501703804931
Route: <sip:sipxecs.datamerge.local:5060;lr>
Max-Forwards: 70
From: \"Daisy Duck\"
<sip:mailto:***@datamerge.local:5060>;tag=40f6f273a1
To: <sip:mailto:***@datamerge.local:5060>
Call-ID: c4745a4f2119bbe7
CSeq: 25131 SUBSCRIBE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS,
UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest
username=\"202\",realm=\"datamerge.local\",nonce=\"326e5737c8d28bb15f7789b31ad492f550179217\
",uri=\"sip:mailto:***@datamerge.local:5060\",response=\"d9120e21a4a03a6c5165c01575364a24\",qop=auth,cnonce=\
"5942873c\",nc=00000001
Contact: \"Daisy Duck\"
<sip:mailto:***@192.168.56.154:5060;transport=udp>
Event: message-summary
Expires: 3600
Supported: path
User-Agent: Aastra 53i/3.2.2.2044
Content-Length: 0
====================END====================
Agent sent message:
----Local Host:192.168.50.21---- Port: -1----
----Remote Host:192.168.50.21---- Port: 5110----
SUBSCRIBE sip:mailto:***@datamerge.local:5060 SIP/2.0
Record-Route: <sip:192.168.50.21:5060;lr>
Route: <sip:mwi.sipxecs.datamerge.local;transport=tcp;lr>
Via: SIP/2.0/TCP
192.168.50.21;branch=z9hG4bK-XX-61ddiyE9YCfNyZpQzMIX40v_6w
Via: SIP/2.0/UDP
192.168.56.154;branch=z9hG4bKd465e501703804931
Max-Forwards: 20
From: \"Daisy Duck\"
<sip:mailto:***@datamerge.local:5060>;tag=40f6f273a1
To: <sip:mailto:***@datamerge.local:5060>
Call-Id: c4745a4f2119bbe7
Cseq: 25131 SUBSCRIBE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS,
UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference, LocalModeStatus
Authorization: Digest
username=\"202\",realm=\"datamerge.local\",nonce=\"326e5737c8d28bb15f7789b31ad492f550179217\
",uri=\"sip:mailto:***@datamerge.local:5060\",response=\"d9120e21a4a03a6c5165c01575364a24\",qop=auth,cnonce=\
"5942873c\",nc=00000001
Contact: \"Daisy
Duck\"<sip:mailto:***@192.168.56.154:5060;transport=udp;x-sipX-nonat>
Event: message-summary
Expires: 3600
Supported: path
User-Agent: Aastra 53i/3.2.2.2044
Content-Length: 0
Date: Tue, 31 Jul 2012 08:07:17 GMT
--------------------END--------------------
Read SIP message:
----Local Host:192.168.50.21---- Port: 5060----
----Remote Host:192.168.50.21---- Port: 60970----
SIP/2.0 401 Unauthorized
From: \"Daisy Duck\"
<sip:mailto:***@datamerge.local:5060>;tag=40f6f273a1
To: <sip:mailto:***@datamerge.local:5060>;tag=nCiis0
Call-Id: c4745a4f2119bbe7
Cseq: 25131 SUBSCRIBE
Via: SIP/2.0/TCP
192.168.50.21;branch=z9hG4bK-XX-61ddiyE9YCfNyZpQzMIX40v_6w
Via: SIP/2.0/UDP
192.168.56.154;branch=z9hG4bKd465e501703804931
Record-Route: <sip:192.168.50.21:5060;lr>
Www-Authenticate: Digest realm=\"datamerge.local\",
nonce=\"549b49d93349f93273dd11917fbf77d150179235\",
qop=\"auth\"
User-Agent: sipXecs/4.6.0 sipXecs/publisher (Linux)
Date: Tue, 31 Jul 2012 08:07:17 GMT
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY,
SUBSCRIBE
Accept-Language: en
Supported: sip-cc-01, timer
Content-Length: 0
====================END====================
Agent sent message:
----Local Host:192.168.50.21---- Port: 5060----
----Remote Host:192.168.56.154---- Port: 5060----
SIP/2.0 401 Unauthorized
Record-Route: <sip:192.168.50.21:5060;lr;x-sipX-done>
From: \"Daisy Duck\"
<sip:mailto:***@datamerge.local:5060>;tag=40f6f273a1
To: <sip:mailto:***@datamerge.local:5060>;tag=nCiis0
Call-Id: c4745a4f2119bbe7
Cseq: 25131 SUBSCRIBE
Via: SIP/2.0/UDP
192.168.56.154;branch=z9hG4bKd465e501703804931
Www-Authenticate: Digest realm=\"datamerge.local\",
nonce=\"549b49d93349f93273dd11917fbf77d150179235\",
qop=\"auth\"
User-Agent: sipXecs/4.6.0 sipXecs/publisher (Linux)
Date: Tue, 31 Jul 2012 08:07:17 GMT
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY,
SUBSCRIBE
Accept-Language: en
Supported: sip-cc-01, timer
Content-Length: 0
--------------------END--------------------
--
Regards
Mark Dutton