Re: [SR-Users] how to get value of route param?

2014-03-10 Thread Daniel-Constantin Mierla
Hello, On 10/03/14 06:18, Juha Heinanen wrote: rr module has check_route_param(re) function that can be used to check if local route header has a param that matches re. however, there does not exist a function to find out what is the value of a given rr param. for example, if route header has p

Re: [SR-Users] Kamailio Proxy for Freeswitch

2014-03-10 Thread Daniel-Constantin Mierla
Hello, why you need to hide the ip in the contact if it is in sdp? You don't really achieve topology hiding with it. If you use record_route()/loose_route() in kamailio, the sip packets related to active calls should come always to kamailio and kamailio will forward them to freeswitch. Che

Re: [SR-Users] how to get value of route param?

2014-03-10 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > this should work, provided you use $sel(rr.uri) -- iirc, transformations > cannot be applied directly to @xyz $sel(rr.uri.params) didn't produce anything. i ended up with this: $(route_uri{uri.param,name}); -- juha __

Re: [SR-Users] How to encode domain in username for Asterisk REGISTER forwarding (was: How to configure Kamailio + Asterisk (on same server) to route between several disjoint networks?)

2014-03-10 Thread Klaus Darilion
AFAIK Asterisk supports multiple domains, but it seems that is not used for registration. On 09.03.2014 00:58, Alex Villací­s Lasso wrote: The above is the non-encoding version. What is the best way to modify it to do a domain encoding in the username? Or, if a better solution exists, what is

Re: [SR-Users] how to get value of route param?

2014-03-10 Thread Klaus Darilion
On 10.03.2014 06:18, Juha Heinanen wrote: rr module has check_route_param(re) function that can be used to check if local route header has a param that matches re. however, there does not exist a function to find out what is the value of a given rr param. for example, if route header has param

[SR-Users] Kamailio LCR unable to relay new calls, memory issue

2014-03-10 Thread Camila Troncoso
Hi, Last Friday I presented a increase of load in kamailio by a client. The load was almost twice as usual. By that time I encountered with many issues in kamailio. The calls were not relay to gateways, and a lot of messages about memory were appearing in log file. Kamailio didn't crash. When I

Re: [SR-Users] Kamailio LCR unable to relay new calls, memory issue

2014-03-10 Thread Daniel-Constantin Mierla
Hello, how much shared memory have you allocated to kamailio? In other words, have you given any value via -m command line parameter? You can see it also via: kamctl stats Look for shmem fields. Cheers, Daniel On 10/03/14 14:3

Re: [SR-Users] Kamailio LCR unable to relay new calls, memory issue

2014-03-10 Thread Camila Troncoso
Daniel, I haven't use the -m command. I´m running kamailio 3.2.4 version. The command kamctl stats is not available. Regards, Camila *De:* sr-users-boun...@lists.sip-router.org [mailto: sr-users-boun...@lists.sip-router.org] *En nombre de *Daniel-Constantin Mierla *Enviado el:

Re: [SR-Users] Kamailio LCR unable to relay new calls, memory issue

2014-03-10 Thread Camila Troncoso
Daniel, With the command " kamctl fifo get_statistics all" i get this: shmem:fragments = 2565 shmem:free_size = 1028552 shmem:max_used_size = 33554432 shmem:real_used_size = 32525880 shmem:total_size = 33554432 shmem:used_size = 26417552 Regards, Camila *De:* Camila Troncoso

Re: [SR-Users] Kamailio LCR unable to relay new calls, memory issue

2014-03-10 Thread Daniel-Constantin Mierla
Indeed, “kamctl fifo get_statistics all” is the same as "kamctl stats" in newer versions. You run with default 32MB which is rather low, imo. You have less than 1MB free at this moment. Start kamailio with larger memory, like -m 512. It is not going to be ta

[SR-Users] too many recursive routing table lookups

2014-03-10 Thread Camila Troncoso
I have another ERROR that is presenting: "WARNING: too many recursive routing table lookups (101) giving up!" I have a routing diagram that includes max number of channels per gateway. The dialog module keeps track of the number of channels use by active calls ( set_dlg_profile, get_profile_s

Re: [SR-Users] too many recursive routing table lookups

2014-03-10 Thread Daniel-Constantin Mierla
This is when you have a recursive loop or too many chained subroutes executed. Like: request_route {   route(x); } route[x] {   route(y); } route[y] {   route(x); } if you have sources of kamailio, then you can check with:

[SR-Users] (no subject)

2014-03-10 Thread malik sherif
I send couple of email to Asipto.com about Siremis login issue but I didn't get any response. I configured apache web server and also installed siremis 4.1.1 successfully but i couldn't login and my problem is after " welcome to Siremis installation wizard" I went through step 1to 4 without i

[SR-Users] milliseconds on $Ts

2014-03-10 Thread Kelvin Chua
Hi guys, Is there a code somewhere in the project i can reuse to implement milliseconds on $Ts? for example introduce a "$Tms" or a "$TmS" to refer to a pv that stores milliseconds instead of seconds? Kelvin Chua ___ SIP Express Router (SER) and Kamail

Re: [SR-Users] milliseconds on $Ts

2014-03-10 Thread Daniel-Constantin Mierla
Hello, see this pv: - http://www.kamailio.org/wiki/cookbooks/4.1.x/pseudovariables#timeval Cheers, Daniel On 11/03/14 05:39, Kelvin Chua wrote: Hi guys, Is there a code somewhere in the project i can reuse to implement milliseconds on $Ts? for example introduce a "$Tms" or a "$TmS" to refe