[OpenSIPS-Users] Inbound PSTN connection failure

John Quick john.quick at smartvox.co.uk
Wed Dec 7 18:08:27 UTC 2022


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





More information about the Users mailing list