I tried this but the same problem occurs. It translates the integer -3
into the string ³18446744073709551613".
Does anyone have a suggestion for converting an integer into a string in
Kamailio?
-H
On 2016-05-26, 12:33 AM, "ycaner" wrote:
>Hello;
>you can try to $_s($avp(auth_code)) . For exa
In Kamailio 4.2, I’m having problems converting an AVP integer value into a
string.
My Kamailio config stores the return code from auth_check() and outputs it.
$avp(auth_code) = auth_check("$fd", "subscriber", "1");
xlog("L_NOTICE", “response = $avp(auth_code)”);
When I check the AVP
The solution I am using is to have each Kamailio servers read
subscriber/location data from a local database server. Each of these local
databases is replicated from a Master database. We have db_mode=3 for sqlops,
so it's always reading from the database to identify the user/phone.
-H
On 20
, 8:55 AM, "Juha Heinanen" wrote:
>Henry Fernandes writes:
>
>> Let¹s say you have the following info in your LCR.
>>
>> Prefix, Carrier/Route, Rate
>> 1306, A, 1.5
>> 1306343, A, 1.7
>> 1306, B, 1.4
>>
>> If you have phone number
;Juha Heinanen" wrote:
>Henry Fernandes writes:
>
>> We eventually decided to stop using the LCR module because it doesn¹t
>> implement LCR in the way that most people think of LCR. It doesn¹t
>>obtain
>> the most specific prefix match for a called number.
>
In the past, we used the LCR module with hundreds of thousands (perhaps
millions) of entries in the LCR tables. The only drawback was that it
took a long time to start up Kamailio (maybe 30 seconds), however it was
fast once it was running.
We eventually decided to stop using the LCR module becau
ubject: Re: [SR-Users] bug in allow_source_address?
Which version of Kamailio worked and which version does not work?
/O
On 29 Dec 2014, at 17:49, Henry Fernandes wrote:
> Does anyone have feedback about this?
>
> -H
>
> From: Henry Fernandes
> Date: Wednesday, December 17, 2014 at 3:3
Does anyone have feedback about this?
-H
From: Henry Fernandes
Date: Wednesday, December 17, 2014 at 3:39 PM
To: "Kamailio (SER) - Users Mailing List"
Subject: bug in allow_source_address?
I¹m using allow_source_address in my Kamailio config and have been for
months/years. I
I¹m using allow_source_address in my Kamailio config and have been for
months/years. I¹ve had no issues with it until today.
The issue is that allow_source_address("1²) returns ³1" (for
$si=123.17.29.201 and $sp=5060) even though we don¹t have this IP address in
the address¹ table for group 1.
Can anyone show me how to use the regexp global flag using dp_translate?
-H
From: Henry Fernandes
Reply-To: "Kamailio (SER) - Users Mailing List"
Date: Friday, 11 July, 2014 4:18 PM
To: , "Kamailio (SER) - Users Mailing List"
Subject: Re: [SR-Users] how to rem
-Users] how to remove non-digits using dp_translate
Hello,
you have to replace [^0-9] with empty, using the global flag.
Cheers,
Daniel
On 02/07/14 23:11, Henry Fernandes wrote:
>
> I'd like to use the dialplan module to remove all non-digits from a string.
>
I'd like to use the dialplan module to remove all non-digits from a string.
For example, "1-306-555-1234" becomes "13065551234" and "(306) 555-1234"
becomes "3065551234".
Unfortunately, I can't figure out the regular expressions for subst_exp and
repl_exp. I can easily replace one instance of a n
h db_mode=1, being used in quite some
> deployments. Can you check the syslog to see if there is any error reported
> there?
>
> If you use mysql, then you can enable logging the queries and then check if
> for each registration there is a mysql query to insert/update/delete a re
I'm using Kamailio 3.3 and the USRLOC module to track registrations. I have
set "db_mode" to 1 because I want to store all registration info to the
database and I want the database to be up to date (in case I need to restart
Kamailio).
Unfortunately, this doesn't work as I expect. When I quer
Is there a way to prevent relaying requests to myself in route[RELAY]?
-H
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Is there a Kamailio module/function to detect if a REGISTER request is for
unregistering?
-H
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/
I'm using the REGISTRAR module and having phones register to Kamailio. This is
working properly and the phones register without problem.
The issue I have is that it takes about 60-90 seconds for the new entry to
appear in the 'location' table after I do save("location"). The entry is
correct,
2:02 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 1/11/12 6:10 PM, Henry Fernandes wrote:
>>
>> Thanks for the tip.
>>
>> I increased this to start with 8MB private memory. Now I'm getting the
>> following error:
>>
>> error: 500
be adjusted from command line, via '-M':
>
> ./kamailio -M 8 ...
>
> will start kamailio with 8MB of private memory instead of the default 4.
>
> Cheers,
> Daniel
>
> On 1/11/12 12:07 PM, Henning Westerholt wrote:
>> On Tuesday 10 January 2012, Henry Fernandes
I upgraded from Kamailio 3.1 to Kamailio 3.2 (x86_64/linux) 31c991 recently.
Since upgrading, my LCR does not work. The "load_gws" command always returns a
2 (meaning no routes found).
When I do a "sercmd lcr.dump_rules", I get the following error:
# sercmd lcr.dump_rules
error: 500 -
20 matches
Mail list logo