I think there may be a simpler explanation - the logic looks incorrect in
this line:
if ( !(is_method("REGISTER")  || is_from_gw() ) ) {

That will result in a "false" result if the request came from a known
gateway. I'm not certain what the test is meant to do, but shouldn't it be
more like this:
if ( !is_method("REGISTER")  && is_from_gw()  ) {

John Quick
Smartvox Limited
Web: www.smartvox.co.uk



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to