[OpenSIPS-Users] Inbound PSTN connection failure
Barry O. Williams
barryo.williams at gmail.com
Wed Dec 7 19:29:51 UTC 2022
Hi John,
I modified the configuration script by adding "&&" and it throws a parse
error, bad config file error when trying to restart Opensips.
The script in my configuration is the Residential script I generated.
On Wed, Dec 7, 2022 at 1:08 PM John Quick <john.quick at smartvox.co.uk> wrote:
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221207/d200361c/attachment.html>
More information about the Users
mailing list