Hello,
if you work with large data records that you want to get via kamcmd,
then you have to increase the buffer sizes of ctl module -- see the
readme of that module to identify the parameters to adjust.
Cheers,
Daniel
On 11/01/16 20:22, Vik Killa wrote:
> It seems dialplan module does not work
Hello,
realoading is done in a separate structure, which is then swapped with
the old one and the old one is freed -- like you said, a change of the
pointer to the new structure.
Cheers,
Daniel
On 11/01/16 19:49, Vik Killa wrote:
> Hi Daniel,
> We are experimenting with the dialplan module.
> I
It seems dialplan module does not work with that many records (35326 records
to be exact)
After i increased memory to kamailio, the module could load the data
(kamcmd dialplan.reload), but is unable to 'dump'
# /usr/local/sbin/kamcmd dialplan.dump 1
error: 500 - Internal error root reply
On Mon
Hi Daniel,
We are experimenting with the dialplan module.
I have a question about the reload of records.
We will have 35326 rows in our dialplan table. I expect this would take a
while to load into memory. Does the reload interrupt routing? or does the
module save new data in a new hash and then ch
Hello,
short note to add that one can use dialplan module for doing
per/sed-like substitutions with rules stored in database. Reloading of
records from database can be done via mi/rpc command, thus without
restarting kamailio.
dialplan module is particularly useful when needing to deal with lot o
Hi Alex,
Thank you! Your suggestion will most likely fit our solution.
/V
On Fri, Jan 8, 2016 at 4:42 PM, Alex Balashov
wrote:
> On 01/08/2016 04:40 PM, Vik Killa wrote:
>
> That last statement was in-accurate. Im not trying to modify the R-URI
>> at all actually.
>> I'd like to create a variabl
On 01/08/2016 04:40 PM, Vik Killa wrote:
That last statement was in-accurate. Im not trying to modify the R-URI
at all actually.
I'd like to create a variable.
Right, you're trying to extract a value from the RURI, transform it, and
copy the transformed value into something else.
I think my
On 01/08/2016 04:38 PM, Vik Killa wrote:
I'm not trying to replace the R-URI like in your example, im trying to
remove a prefix from the RURI
Oh, I see.
You might consider stripping[1] the necessary number of characters from
the user part of the RURI, then.
$var(prefix_len) = $(var(Pref
That last statement was in-accurate. Im not trying to modify the R-URI at
all actually.
I'd like to create a variable.
On Fri, Jan 8, 2016 at 4:38 PM, Vik Killa wrote:
> I'm not trying to replace the R-URI like in your example, im trying to
> remove a prefix from the RURI
>
> On Fri, Jan 8, 2016
I'm not trying to replace the R-URI like in your example, im trying to
remove a prefix from the RURI
On Fri, Jan 8, 2016 at 4:34 PM, Alex Balashov
wrote:
> On 01/08/2016 04:28 PM, Vik Killa wrote:
>
> $var(destnumber1) =
>> $(ru{re.subst,/^sip:$var(PrefixMatch)(.*)@(.*)/\1/});
>>
>
Assuming the answer is no this is not possible, then does anyone know of a
way to accomplish this? Perhaps with textops module?
Thanks,
/V
On Fri, Jan 8, 2016 at 4:30 PM, Alex Balashov
wrote:
> On 01/08/2016 04:28 PM, Vik Killa wrote:
>
> $var(destnumber1) =
>> $(ru{re.subst,/^sip:$
On 01/08/2016 04:28 PM, Vik Killa wrote:
$var(destnumber1) =
$(ru{re.subst,/^sip:$var(PrefixMatch)(.*)@(.*)/\1/});
But, it's certainly worth asking if what you're trying to accomplish
here can't be accomplished differently...
$var(destnumber1) = "$rz:" + $var(PrefixMatch) +
On 01/08/2016 04:28 PM, Vik Killa wrote:
$var(destnumber1) =
$(ru{re.subst,/^sip:$var(PrefixMatch)(.*)@(.*)/\1/});
$var(destnumber2) = $(ru{re.subst,/^sip:00(.*)@(.*)/\1/});
xlog("L_INFO", "destnumber1 $var(destnumber1)\n");
xlog("L_INFO", "des
Hello,
Is it possible to use $avp() or $var() inside re.subst?
Example:
$var(PrefixMatch) = "00";
$var(destnumber1) =
$(ru{re.subst,/^sip:$var(PrefixMatch)(.*)@(.*)/\1/});
$var(destnumber2) = $(ru{re.subst,/^sip:00(.*)@(.*)/\1/});
xlog("L_INFO", "des
14 matches
Mail list logo