Am 09.11.2010 09:39, schrieb David Becker:
> Am 09.11.2010 08:50, schrieb Worley, Dale R (Dale):
>> ________________________________________
>> From: [email protected]
>> [[email protected]] On Behalf Of David Becker
>> [[email protected]]
>>
>> Hm, closer inspection reveals that the Siemens phone doesn't send an
>> algorithm=md5 parameter. Also the contact address is doubled, is that
>> problematic?
>>
>> Am 20.10.2010 10:53, schrieb David Becker:
>>> I found this in the sipstatus.log:
>>> "2010-10-20T08:46:36.635044Z":756:AUTH:DEBUG:test.voip.ikt-bs.de:SubscribeServerThread:B6D61B90:SipStatus:"SubscribeServerThread::isAuthenticated()
>>> - No Credentials for
>>> mailboxUrl=\"<sip:[email protected]:5060>;transport=udp\",
>>> reqRealm=\"test.voip.ikt-bs.de\", reqUser=\"203\""
>>>
>>> Does that mean the credentials are wrong or that it's not supplying the
>>> parts it needs for an MWI subscription?
>> ________________________________________
>>
>> I haven't checked, but I'm 99% certain that algorithm=md5 is the default.
>> But I see that the supposed mailboxUrl is
>> "<sip:[email protected]:5060>;transport=udp", which isn't a URI, so
>> there's a good chance that the SUBSCRIBE being sent by the phone is
>> incorrect.
>>
>> Dale
>> _______________________________________________
>> sipx-users mailing list
>> [email protected]
>> List Archive: http://list.sipfoundry.org/archive/sipx-users/
> I'm getting a successful subscription from a Snom phone that seems to
> add ;user=phone to its URI:
>
> "2010-11-08T14:47:43.096240Z":334:SIP:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"SipNonceDb::nonceSignature:
> callId='3c26701f7d14-puh7mpgk8d95' fromTag='z7uvhhdv6o'
> realm='development.voip.ikt.de' timestamp='4cd80d8f'"
> "2010-11-08T14:47:43.096274Z":335:LOG:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"UtlString::findToken:
> built regexp '(^|,)\\s*auth\\s*(,|$)' to find 'auth' with delimiter ','
> suffix '(null)'"
> "2010-11-08T14:47:43.096303Z":336:LOG:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"UtlString::findToken:
> 'auth' with delimiter ',' found in 'auth':"
> "2010-11-08T14:47:43.096384Z":337:SIP:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"SipMessage::parseQopValue
> - qop='auth' is \"auth\""
> "2010-11-08T14:47:43.096480Z":338:HTTP:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"HttpMessage::verifyMd5Authorization
> password = 'ea4fabc90c7833810c7bd7003b865499', nonce =
> '8efcf5cbc2ae369f14137f08912b7e334cd80d8f', method = 'SUBSCRIBE', uri =
> 'sip:[email protected];user=phone', cnonce='6f1ef8b6',
> nonceCount='00000001', qop='auth', referenceHash =
> '926b2326842fd44a1d9d5bae5ac3dabd'"
> "2010-11-08T14:47:43.096515Z":339:HTTP:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"HttpMessage::verifyMd5Authorization
> msgDigestHash = '926b2326842fd44a1d9d5bae5ac3dabd'"
> "2010-11-08T14:47:43.096528Z":340:AUTH:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"SubscribeServerThread::isAuthenticated()
> - request is AUTHENTICATED"
> "2010-11-08T14:47:43.096802Z":341:SUPERVISOR:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"PermissionDB::_
> users = 3, mTableLoaded = 1"
> "2010-11-08T14:47:43.096835Z":342:SUPERVISOR:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"PermissionDB::_
> rows in table = 88"
> "2010-11-08T14:47:43.097024Z":343:AUTH:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"SubscribeServerThread::isAuthorized()
> - All permissions matched - request is AUTHORIZED"
> "2010-11-08T14:47:43.097164Z":344:SIP:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"SubscribeServerThread::addSubscription
> getting to-tag, return 0, value ''"
> "2010-11-08T14:47:43.097201Z":345:SIP:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"SubscribeServerThread::addSubscription
> generated to-tag 'aU8N7C'"
> "2010-11-08T14:47:43.097229Z":346:SIP:DEBUG:development.voip.ikt.de:SubscribeServerThread:B6079B90:sipstatus:"SubscribeServerThread::addSubscription
> - Adding/updating subscription for URI
> '<sip:[email protected];user=phone>' event type key
> 'message-summary' duration 2315 to
> '<sip:[email protected]:5060;line=dp8rmoqd;x-sipX-nonat>;reg-id=1'"
>
>
> (this log is from a different VM but the same happens with both VMs)
> Also the OpenStage phone manages to register by sending the same URI it
> sends for subscribing.
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
Okay, by the looks of it it doesn't send the algorithm=MD5 property for
the authentication when dealing with SipX, it does send thatwhen dealing
with Asterisk (where the auth succeeds). The message from Asterisk also
differs there, the server includes algorithm=MD5 while the SipX 401
Unauthorized message doesn't.
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/