I tried this (and some variations) to no avail:
request_route {
insert_hf("Contact: $fu\r\n");
...
...
I see the Contact header inserted but after receiving the first SIP INVITE (ie
too late). Is there a way I can instruct the DIALOG module to use a value of
Contact that’s been computed d
Hello Daniel,
we will manage to commit an initial version of the module which some work in
progress still open to the repository by the end of this month.
Thanks,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
> -Original Message-
> F
Hi List
Via sql_xquery I get a stacked xavp aka array.
I would like to store that stacked xavp into a hash table for later usage in
other transactions. Is this
possible?
Via xarp_parameters explode or implode does not work as that would stringy the
same key multiple times.
Mit freundlichen Gr
Hi Gang
I would like to set a variable specific to the branch. Is there a way?
append_branch($var(aor1));
$(branch(dst_uri)[-1]) = $var($dst1)
$(branch(want_plus)[-1]) = 1;
append_branch($var(aor2));
$(branch(dst_uri)[-1]) = $var($dst2)
$(branch(want_plus)[-1]) = 0;
t_on_branch("BR_T");
branch
> On 25 Jan 2024, at 03:35, Unai Rodriguez via sr-users
> wrote:
>
> I tried this (and some variations) to no avail:
>
> request_route {
> insert_hf("Contact: $fu\r\n");
> ...
> ...
>
> I see the Contact header inserted but after receiving the first SIP INVITE
> (ie too late). Is ther
> On 25 Jan 2024, at 06:34, Benoit Panizzon via sr-users
> wrote:
>
> Hi List
>
> Via sql_xquery I get a stacked xavp aka array.
>
> I would like to store that stacked xavp into a hash table for later usage in
> other transactions. Is this
> possible?
You can always iterate through the XA
Hi Alex
> sql_xquery("db", "SELECT ...", "stuff");
>
> $var(i) = 0;
>
> while(defined $xavp(stuff[$var(i)])) {
> $sht(tbl=>$xavp(stuff[$var(i)]=>id)) =
> $xavp(stuff[$var(i)]=>otherval); $var(i) = $var(i) + 1;
> }
>
> etc.
Thank you. So there is no 'direct' way I missed
Hi
I have come across an issue with the usrloc database on kamailio 5.6 and 5.7
Jan 26 07:19:45 dev-cpereg01 kamailio[2708456]: ERROR: [db_query.c:244]:
db_do_insert_cmd(): error while submitting query
Jan 26 07:19:45 dev-cpereg01 kamailio[2708456]: ERROR: usrloc [ucontact.c:686]:
db_insert_uc