[Users] What does this mean?
nick
nick at mobilia.it
Mon Apr 2 16:11:23 CEST 2007
Andreas Granig wrote:
> Hi,
>
> I guess it has something to do with "use_domain" being "1". Does it work
> when you change it to "0"?
>
> Regards,
> Andreas
>
> nick wrote:
>> I'm attaching my config file with the hopes that someone can point out
>> where I'm going wrong:
>>
>> I have problems registering with X-Lite and several ATAs, while
>> Grandstream Budget Tone 200 phones have no problems at all...
>>
>> The only difference I have found is that Grandstream Phones don't have
>> a Domain field like The ATAs and X-Lite does (just a proxy and sip
>> server field), I've tried changing the domain in X-Lite to be the same
>> as the proxy without any luck, and I really need to figure this out.
>>
>> I have a config that works just fine with X-Lite and the ATAs but it
>> won't work with the Grandstreams (it has other problems though). I'd
>> really prefer not to have an either/or situation here.
>>
>>
>> nick wrote:
>>> pre_auth(): Credentials with given realm not found
>>>
>>> After looking around google it seems to be based on the fact that the
>>> first sip: value doesn't contain the userid (if I understand
>>> correctly...)
>>>
>>> I can't figure out exactly why the RURI is coming in this fashion..
>>>
>>> Should I be changing something in the clients, or my config??
>>>
>>> These worked on an older config, now with this section, they just
>>> don't get accepted. I've tried it with and without
>>> sipserver.mobilia.it in the realm.
>> -----------------------------------------------------------------------
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: New request
>>> - M=REGISTER RURI=sip:mobilia.it F=sip:rice at mobilia.it
>>> T=sip:rice at mobilia.it IP=x.x.x.105 ID=fmq-17240 at x.x.x.105
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> parse_headers: flags=100
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> get_hdr_field: cseq <CSeq>: <100> <REGISTER>
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> DEBUG:maxfwd:is_maxfwd_present: value = 70
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> parse_headers: flags=200
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: DEBUG:
>>> get_hdr_body : content_length=0
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: found end
>>> of header
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> find_first_route: No Route headers found
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> loose_route: There is no Route HF
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> parse_headers: flags=ffffffffffffffff
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> check_via_address(x.x.x.105, x.x.x.105, 0)
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> parse_headers: flags=4000
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: pre_auth():
>>> Credentials with given realm not found
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: Register
>>> authentication failed - M=REGISTER RURI=sip:mobilia.it
>>> F=sip:rice at mobilia.it T=sip:rice at mobilia.it IP=x.x.x.105
>>> ID=fmq-17240 at x.x.x.105
>>> Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]:
>>> build_auth_hf(): 'WWW-Authenticate: Digest realm="mobilia.it",
>>> nonce="460b9118a6a044d8837a01f924be2a9a3b7e0271", qop="auth"^M '
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>
Took out the config for the moment.
With or without the use_domain set to 1 in userloc, auth_db and
registrar module, I get the same error.
If I try to get the server to use the realm provided by the client (a
domain in the domain table mind you) or I define it by hand in the
www_challenge parameter, I continue to get the "pre_auth(): Credentials
with given realm not found" error.
There is only one database on the server, with my old config these
logins work just fine, with the new one, I only get errors.
I really can't see much difference between the two configs (except that
my old one left a lot more parameters to their default).
I'm open to any sorts of suggestions...
I've tried creating new users, thinking that the way nonces were
generated might have changed between 1.1.0 and 1.1.1. That wasn't it.
Just as an example, I'm going to list the values I put into my X-Lite
client that now fails:
Display Name: Nick Warr
User Name: nick2 *
Password: password
Authorization user name: nick2
Domain: mobilia.it (this is how X-Lite adds @domain to the user)
Domain Proxy
send outbound via:
Proxy Address: sipserver.mobilia.it
* This is a new user I created just to test, as my other user was on a
different domain, and I thought the domain might have been the issue at
first..
More information about the sr-users
mailing list