<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Thanks Marc, so in the following module what happens if either 1 or -1 is returned?<br><br><span style="font-weight: bold;">#!ifdef WITH_PSTN<br>route[FROMPSTN] {<br>        if($si==$sel(cfg_get.pstn.gw_ip))<br>                return 1;<br>        return -1;<br>}<br>#!endif</span><br><div><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Thank you,</span></div><div style="color: rgb(0,
 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>A<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Marc Soda <msoda@coredial.com><br> <b><span style="font-weight: bold;">To:</span></b> arun Jayaprakash <jayaprakasharun@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, August 26, 2013 2:36 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] What does this mean...<br> </font> </div> <div class="y_msg_container"><br><div id="yiv4927808588"><div dir="ltr">It's checking the
 source of the current message.  If the source address of the message equals the variable pstn.gw_ip, return 1, otherwise return -1;</div><div class="yiv4927808588gmail_extra"><br><br><div class="yiv4927808588gmail_quote">
On Mon, Aug 26, 2013 at 3:33 PM, arun Jayaprakash <span dir="ltr"><<a rel="nofollow" ymailto="mailto:jayaprakasharun@yahoo.com" target="_blank" href="mailto:jayaprakasharun@yahoo.com">jayaprakasharun@yahoo.com</a>></span> wrote:<br><blockquote class="yiv4927808588gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div>This is a very basic question, but can someone let me know what this line means?</div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<span style="font-weight:bold;">if($si==$sel(cfg_get.pstn.gw_ip))<br>                return 1;<br>        return -1;</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
Thank you,</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">A<br></div></div></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a rel="nofollow" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div>Marc Soda, Sr. Systems Engineer</div><div><b><font color="#000099">CoreDial, LLC</font></b> | <a rel="nofollow" target="_blank" href="http://www.coredial.com/">www.coredial.com</a></div>
<div><br></div><div>1787 Sentry Parkway West, Building 16, Suite 100, Blue Bell, PA 19422</div><div>Office: (215) 297-4400 x203 | Fax: (215) 297-4401 | Email: <a rel="nofollow" ymailto="mailto:msoda@coredial.com" target="_blank" href="mailto:msoda@coredial.com">msoda@coredial.com</a></div>
<div><br></div><div>- - - - -</div><div><br></div><div>The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission,  dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.</div>

</div></div><br><br></div> </div> </div>  </div></body></html>