Hi,
I'm not getting the $b2b_logic.entity(id) in B2B [reply_route]. The log shows
Is this variable not available in the B2B [reply_route]?
route[b2b_announce_response] {
if ($rs != 500)
{
xlog("B2B REPLY: [$rs $rm] from entity: $b2b_logic.entity(id)\n");
b2b_handle_rep
Thanks. I actually wondered about that behaviour after I sent my
initial email, tested it and found that it did that, but it's good to
know that it's deliberate behaviour.
Sorry to spam the list, I'm getting quite embarrassed about all of my
emails :(
Cheers,
Kingsley.
On Tue, 2021-04-27 at 16:1
On 27.04.2021 15:42, Kingsley Tart wrote:
$var(paramstr) = "h=BT1;dir=in;dprulesRX=1,2,3;dprulesTX=4,100";
xlog("PARAMSTR='$var(paramstr)'\n");
xlog("PARAMCOUNT='$(var(paramstr){param.count})'\n");
...
Is this deliberate behaviour? OpenSIPS 3.1, FWIW.
Hi,
Yes, that is
BTW, I noticed it's OK if I wrap double quotes around the CSV, eg:
$var(paramstr) = "h=BT1;dir=in;dprulesRX=\"1,2,3\";dprulesTX=\"4,100\"";
(getting a bit embarrassed with the number of emails I'm submitting to
this list, sorry).
Cheers,
Kingsley.
On Tue, 2021-04-27 at 13:42 +0100, Kingsley
Hi,
firstly apologies if this is a dumb question; I'm still pretty new to
OpenSIPS and some aspects of SIP itself.
Is a comma supposed to mark the end of a parameter list?
Eg, if I do this, the param transformation is treating the first comma
as the end of the string:
$var(paramstr) = "
OK, thanks. It was working without it but I've added \n to my xlog
lines now.
Cheers,
Kingsley.
On Tue, 2021-04-27 at 14:00 +0300, Bogdan-Andrei Iancu wrote:
> The '\n' at the end of the xlog lines is a must.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>https://
Rob,
The module is still on the "TODO" list, not 100% sure it will make it
for the 3.2 release as we have several other items (with higher
priority) under work; see
https://www.opensips.org/Development/Opensips-3-2-Planning
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http
The '\n' at the end of the xlog lines is a must.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Bootcamp 2021 online
https://opensips.org/training/OpenSIPS_eBootcamp_2021/
On 4/27/21 1:24 PM, Kingsley Tart wrote:
Hi,
If I use xlog(
Hi,
If I use xlog() to log a single line, it does what I expect even if I
don't end the log string with \n, so what is the reason I see people
putting \n at the end of xlog strings?
--
Cheers,
Kingsley.
___
Users mailing list
Users@lists.opensips.org