<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2>I installed SER a few days ago and I am following the
document "SER - Getting Started" to familiarize with SER and understand how it
works.</FONT></SPAN></DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New" size=2>I've managed
to run the first "hello world" application as well as including authentication
through mysql. </FONT></SPAN><SPAN class=083185007-30052007><FONT
face="Courier New" size=2>However, understanding ser.cfg has become more
difficult than I thought. </FONT></SPAN></DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New" size=2>To help
understand the main route script, I have inserted into the ser.cfg script
several calls to xlog function to display information. Although the information
displayed is very useful, I don't understand the result of the following
sentence:</FONT></SPAN><SPAN class=083185007-30052007><FONT face="Courier New"
size=2></FONT></SPAN></DIV>
<DIV><SPAN
class=083185007-30052007>
<FONT face="Courier New" size=2>if (uri!=myself) {</FONT></SPAN></DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2>
.....</FONT></SPAN></DIV>
<DIV><SPAN
class=083185007-30052007>
<FONT face="Courier New" size=2>}</FONT></SPAN></DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New" size=2>I mean, uri
is the request uri, for intance, sip:1001@192.168.1.10, and 'myself' is,
according to the document, the sip proxy itself, so it can't be the same as uri.
However, when the main route processes an INVITE message, the 'if'
statement seems to return false because it doesn't execute the instrucion inside
the 'if' block. And that would mean that uri is equal to
'myself'.</FONT></SPAN></DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=083185007-30052007>I am
sure that I don't undertand what the value of 'myself'
is......</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=083185007-30052007></SPAN></FONT></FONT> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=083185007-30052007></SPAN></FONT></FONT> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=083185007-30052007>Thanks
in advance</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=083185007-30052007></SPAN></FONT></FONT> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=083185007-30052007></SPAN></FONT></FONT> </DIV>
<DIV><SPAN class=083185007-30052007><FONT face="Courier New"
size=2></FONT></SPAN> </DIV></BODY></HTML>