[Kamailio-Users] load_credentials problem
Dubravko Caric
dubravko_caric at yahoo.com
Fri Feb 5 08:46:09 CET 2010
Hi Daniel,
> ----- Original Message ----
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: Dubravko Caric <dubravko_caric at yahoo.com>
> Cc: Klaus Darilion <klaus.mailinglists at pernau.at>; Alex Balashov <abalashov at evaristesys.com>; users at lists.kamailio.org
> Sent: Thu, February 4, 2010 6:48:11 PM
> Subject: Re: [Kamailio-Users] load_credentials problem
>> On 2/4/10 6:09 PM, Dubravko Caric wrote:
>> Thanks a lot guys,
>>
>> this was my problem:
>>
>> if (is_method("REGISTER")) {
>> ...
>>
>> } else {
>>
>> - if (from_uri==myself)
>> + if (is_uri_host_local())
>>
> are you sure you do it right now? You test if the destination domain is
> local and authenticate the user. In some cases, if you allow calls from
> people registered to other servers (e.g., fwd.com) to your users, then
> you try to authenticate them.
> If you have multi-domains, is_from_local() can be used to test if caller
> is using a local domain in URI.
yes, I understand that, but as this configuration was just a quick testing configuration made from default cfg and I was using multi-domain setup I actually never get to proxy_authorize for other methods to access the AVPs. i didn't use ngrep to actually see what was happening, my mistake and i apologize to all of you that read and replied to this email
Thanks
Dubravko
More information about the Users
mailing list