Gregorio,
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.
'myself' is not a script variable but a language construct and therefor
cannot be logged with xlog. You should use the 'alias' core paremeter
(http://www.openser.org/dokuwiki/doku.php/core-cookbook:1.2.x#alias) to
add SIP domain aliases for your server. 'myself' does not look at the
'domain' table.
The list of aliases is printed to stdout when you start openser.
/Christian
Someone can guess what is wrong?
Is it possible to log the values of ‘uri’ and ‘myself’ with xlog?
Thanks and best regards.
Gregorio.
Users mailing list
Users@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users