Just wondering if, perhaps, the script return a line terminated with
\r\n instead of just \n ? Or perhaps even just a \n is being pulled into
the variable?
Perhaps try a {s.trim} transformation?
On 2023-11-15 13:27, Bogdan-Andrei Iancu wrote:
Out of curiosity, if you replace the:
$branch
Hi,
Ideally you should provide a network capture (pcap) from the OpenSIPS
server, covering both incoming and outgoing traffic - this is the only
way to understand what is wrong with the call.
As attachments are limited to 40K here, consider using some pastebin or
other file sharing service.
Hi Alain,
IF receiving the 487 reply from callee side, you should end up in the
failure route - and there do the t_check_status() and a t_reply(404)
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 11/15/23 1:00
Out of curiosity, if you replace the:
$branch = $var(out);
with
$ru = $var(out)
is the reply properly formed ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 11/15/23 12:19 PM, Ben Bliss wrote:
HI Bogdan,
forward to a self defined route and change it there.
route[404to487]
{
}
onreply_route
{
route(404to487);
}
Op wo 15 nov 2023 om 12:04 schreef Alain Bieuzent :
> Hi All,
>
>
>
> I have a case where I need to terminate an early state dialog but not with
> a 487 but by a 404.
>
>
>
>
Hi All,
I have a case where I need to terminate an early state dialog but not with a
487 but by a 404.
t_check_status() on onreply_route didn’t match, and it’s not allowed to use
t_check_status() on local_route
what is the best way to do it ?
thanks
HI Bogdan,
Thanks for the reply.
I was using 3.2.13, so I have now patched this to 3.2.15, which is the latest
version on the 3.2 branch. I repeated the test and got the same behaviour.
Please see the below information as requested...
Script...
if ( $si == '10.10.14.71' &&
Hi Bogdan,
yes.
Thanks
On Mon, 13 Nov 2023 at 20:43, Bogdan-Andrei Iancu
wrote:
> Hi Jason,
>
> you say the failover (inside the group) works ok when using REDIS, but not
> with MemCached ?
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>