[OpenSER-Users] logging 'uri' and myself from openser.cfg

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Oct 29 17:36:34 CET 2007


Hello,

On 10/29/07 18:22, Gregorio wrote:
>
> Hi all.
>
> I am having some trouble with the sentence ‘if (uri==myself) ’ in the 
> config script. The REGISTER request URI is ‘sip:mydomain’ and 
> ‘mydomain’ is in my ‘hosts’ file and in the database table (‘domain’ 
> table) but in the log I can see that ‘(uri==myself)’ is false.
>
> Someone can guess what is wrong?
>
> Is it possible to log the values of ‘uri’ and ‘myself’ with xlog?
>
the best is to add the domain as alias in the config file. Using DNS 
might be dangerous, because of DNS poisoning.
http://openser.org/dokuwiki/doku.php/core-cookbook:1.2.x#alias

If you use domain table, then you have to use the functions from domain 
module.

Cheers,
Daniel

> Thanks and best regards.
>
> Gregorio.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list