<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>So, I've been playing around with the permissions module.<br>It's working ok, except...<br><br>I am sending calls from Asterisk to OpenSER, and then onto an ITSP.<br>Calls only flow in this outbound direction. There are NO inbound calls.<br><br>I put the IP addresses of the Asterisk servers into the address table and used allow_source_address() to confirm the calls where allowed. However, I found that I also had to put the IP's of the ITSP's in the address table or otherwise when the remote end hangs up and sends a BYE message the call to allow_source_address() returns false.<br><br>This isn't that big a deal, but it seems messy. It also means that the ITSP, being in the address list, could send calls to us, and we don't want that.<br><br>How do I work around this? Do I do:<br><br>if (
 allow_source_address("1")&nbsp; || method=="BYE" ) {<br>...<br>}<br><br>What about CANCEL? I haven't tried that.<br><br>The same thing goes for putting IP's in the trusted table and using if_trusted(). <br><br>Douglas.<br><br><br><br></div></div><br>



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>

</body></html>