I was just checking to make sure that there wasn't an easy and obvious solution
I was overlooking.
Depending on the depth of the data I can use xavp_implode() or jansson. The
structures I'm working with should be predictable enough to do this. I think
the "solution to simplify serialization" l
I have extensively invented this kind of serialisation scheme over the years,
and it's just very tedious. Turn-key nonscalar support would be a lot easier.
> On Sep 22, 2023, at 12:16 PM, David Villasmil via sr-users
> wrote:
>
> Why not just use a hash and separate fields by ; ? You can then
Why not just use a hash and separate fields by ; ? You can then just join
or split as you set or get?
On Fri, 22 Sep 2023 at 08:20, Ben Kaufman via sr-users <
sr-users@lists.kamailio.org> wrote:
> Thank you. I’ll look into that!
>
>
>
> Kaufman
> _
So, forgive the silly question, but why do you need to do anything except to
engage RTPEngine? Why rewrite any other SIP headers?
> On Sep 22, 2023, at 5:11 AM, Markus via sr-users
> wrote:
>
> Hi Alex,
>
> I'm trying to replace the Asterisk box with an instance of Kamailio+RTPEngine
> becau
Thank you. I'll look into that!
Kaufman
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
Hello all
we are seeing these kind of logs in a Debian GNU/Linux 11 using kamailio
5.5.6
Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155702]:
ERROR: [core/forward.c:183]: get_out_socket(): no corresponding
socket found for(udp:164.152.22.248:5060)
Sep 21 17:41:13 lax-dedge-1 /
Hello all
we are seeing these kind of logs in a Debian GNU/Linux 11 using kamailio
5.5.6
Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155702]:
ERROR: [core/forward.c:183]: get_out_socket(): no corresponding
socket found for(udp:164.152.22.248:5060)
Sep 21 17:41:13 lax-dedge-1 /
Hmm, try to use: subst_hf() then:
3.15. subst_hf(hf, subexp, flags)
Perl-like substitutions in the body of a header field.
Meaning of the parameters is as follows:
* hf - header field name.
* subexp - substitution expression in the same format as of the 'subst'
function parameter.
textops.so was already loaded. Now added textopsx.so too but the error
remains the same.
Is $cU a pseudo-variable that should be available within Kamailio by
default? I can't find it here:
https://www.kamailio.org/wiki/cookbooks/5.5.x/pseudovariables
Is it maybe $ct or something else? :)
"$
I should have mentioned, please load the following modules:
loadmodule "textops.so"
loadmodule "textopsx.so"
then restart Kamailio.
From: Markus
Sent: Friday, September 22, 2023 5:58 PM
To: sr-users@lists.kamailio.org
Cc: Shah Hussain Khattak
Subject: Re: [SR-
Hello,
just to add one possible option, there is a small module "matrix" that provides
a data structure that might be handy in this case.
https://www.kamailio.org/docs/modules/devel/modules/matrix.html
Of course it can be also done by serializing the data in a htable or similar.
Cheers,
Henni
Wow, cool, thanks! I added this snippet in the
request_route {
part, I hope that's correct. When I try to start Kamailio I get:
kamailio: Not starting : invalid configuration file!
kamailio: 0(2371) ERROR: [pvapi.c:828]: pv_parse_spec2(): error
searching pvar "cU"
kamailio: 0(2371) ERROR: [p
Hi Alex,
I'm trying to replace the Asterisk box with an instance of
Kamailio+RTPEngine because the Asterisk box is heavily overloaded and
calls that are passing through this box are encountering packet loss.
The idea behind it is that the bundle of Kamailio+RTPEngine will be less
CPU-intense
Hello,
there has been no feedback regarding this change, so the setting was done some
minutes ago.
In case of unforeseen issues, just follow up on the sr-users lists for further
discussions.
Thanks,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa
Hi
> When I make a call through two Sipp devices ,kamailio in between as
> sip server , the rtp traffic is flowing directly through the
> endpoints instead of flowing through kamailio .
>
> Is this how it works? Else , am I committing any mistake?
Yes, this is how it works. Kamailio does SIP si
You can start with the following:
# Change URI(s)
$ru = "sip:" + $rU + "@3.3.3.3";
$tu = "sip:" + $tU + "@3.3.3.3";
$fu = "sip:" + $fU + "@2.2.2.2";
$var(contact_username) = $cU;
# Remove existing Contact header
remove_hf("Contact");
# I
When I make a call through two Sipp devices ,kamailio in between as sip server , the rtp traffic is flowing directly through the endpoints instead of flowing through kamailio . Is this how it works? Else , am I committing any mistake?Help please! Thanks ,shravan
Hi Team
Could anyone point me in the direction where I could find out more
what's going wrong and what could be the cause of messages like:
Sep 22 07:32:29 dev-core02 kamailio[915066]: CRITICAL: dialog
[dlg_timer.c:129]: insert_dlg_timer(): Trying to insert a bogus dlg
tl=0x7f9617d967b0 tl->nex
18 matches
Mail list logo