[SR-Users] Re: Issues matching regex

2023-02-11 Thread Ovidiu Sas
This will do it: if ($rU=~"^(\+?1)?(8(00|44|55|66|77|88))[2-9][0-9][0-9][0-9][0-9][0-9][0-9]$") { xlog("L_INFO", "Tollfree call: $rU"); } -ovidiu On Sat, Feb 11, 2023 at 12:37 PM Nathan Stratton wrote: > > I am having an issue matching toll-free. I tested my regex on regex101.com, >

[SR-Users] Issues matching regex

2023-02-11 Thread Nathan Stratton
I am having an issue matching toll-free. I tested my regex on regex101.com, and it looks good, but it does not match my if statement. Am I doing something wrong? if (method=="INVITE") { xlog("L_INFO", "Checking Routes $rU"); if

[SR-Users] Re: SCA Presence : Record-Route Filed Not Update in sca_subscriptions Table

2023-02-11 Thread Henning Westerholt
Hello, any errors in the log related to the module? Maybe you can also checkout the sca module code, there might be an issue related to this. Why do you get a new record-route header after rebooting the device? I’d think that the record-route header is inserted from the Kamailio. Cheers,

[SR-Users] Re: kemi equivalent config

2023-02-11 Thread Henning Westerholt
Hello, you can find some example KEMI configuration in the “misc/examples” directory, and probably also linked in the KEMI tutorials. This should give you some hints. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com