Re: [SR-Users] converting integer to string

2016-05-25 Thread ycaner
Hello; you can try to $_s($avp(auth_code)) . For example , i use that $rU = $_s($avp(69)$var(v)); Cheers -- View this message in context: http://sip-router.1086192.n5.nabble.com/converting-integer-to-string-tp148781p148810.html Sent from the Users mailing list archive at Nabble.com. _

Re: [SR-Users] SRV and dialog stickiness

2016-05-25 Thread Alex Balashov
Oh, if only I were personally responsible for the initiative behind this question... :) My best guess is that SRV is viewed here as an LB mechanism only and without any interest in fail over. -- Alex -- Principal, Evariste Systems LLC (www.evaristesys.com) Sent from my Google Nexus. _

Re: [SR-Users] SRV and dialog stickiness

2016-05-25 Thread Fred Posner
On 05/25/2016 04:32 PM, Alex Balashov wrote: > Hello, > > Sorry if this is a tired, worn question, but I've not dealt much with > Kamailio's SRV support before: > > If a registrant has a contact binding whose domain component is subject > to an SRV lookup with load-balanced or weighted entries, h

[SR-Users] SRV and dialog stickiness

2016-05-25 Thread Alex Balashov
Hello, Sorry if this is a tired, worn question, but I've not dealt much with Kamailio's SRV support before: If a registrant has a contact binding whose domain component is subject to an SRV lookup with load-balanced or weighted entries, how does one solve the problem of ensuring that subsequ

[SR-Users] converting integer to string

2016-05-25 Thread Henry Fernandes
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

Re: [SR-Users] Sequential calls messes up presence with pua-dialog info

2016-05-25 Thread Pejman Rajabian
SOLVED Hi Phil: Your below suggestion fixed this problem for us: modparam("pua_dialoginfo", "override_lifetime", 14420) # Max call time (4 hours) plus a little Pejman Rajabian Director of Product Development iTalk IP Networks LLC Office: (703) 550- x.107 Cell: (571) 723-2224 Fax: (703

[SR-Users] Multihomed kamailio - one IP for each account

2016-05-25 Thread Attila Megyeri
Hi Folks, I am looking for a solution to do the following, basically an SBC-like solution. I have an internal asterisk system that should make outbound calls towards a provider, but that provider authenticates the customer based on IP address. And I have many such customers. The provider is not

[SR-Users] doubt using rate limit

2016-05-25 Thread david escartin
Hello Daniel i had the call rate for some minutes actually. maybe 4-5min and all the time the behaviour was like that. it's true that in that kamailio there wa no any other traffic, only those test calls i set with a sipp to simulate the load best regards david Hello, for how long you got t

Re: [SR-Users] 4.4: Kamailio crashes at start - sometimes

2016-05-25 Thread Sebastian Damm
Hi, it is definitely no memory or open files issue. I stopped all processes and tried to start one of the faulty instances by itself, without luck. Actually, there are core files. I don't know whether they say something interesting, but I just saw that each start attempt produced a core file. Th

Re: [SR-Users] 4.4: Kamailio crashes at start - sometimes

2016-05-25 Thread Daniel-Constantin Mierla
Hello, so it is not a crash, right? No coredump or some segfault report, but just it doesn't start -- did I get it correctly? Given you run a lot of instances, maybe you run out of file descriptors, can you check the OS limits for them? Also, running out of memory might result in such behaviour.

[SR-Users] nh_reload_rtpp not available

2016-05-25 Thread david
hello all i just noticed it was missing on 4.4.0, but it's present on 4.4.1 :) regards david El mié, 25-05-2016 a las 14:58 +0200, david escribió: > dear all > > i'm using kamailio 4.4.1 and i'm not seeing nh_reload_rtpp as a fifo > exported function > i'm trying to setup the dburl for the r

[SR-Users] 4.4: Kamailio crashes at start - sometimes

2016-05-25 Thread Sebastian Damm
Hi, we have a machine running 16 Kamailio instances, and while upgrading to 4.4.1 (from 4.3.5), 8 of them wouldn't start. When downgrading to 4.3.5, they all start again. All of them have pretty identical configuration files, except IPs, ports and some code enabled or disabled via defines. After

[SR-Users] nh_reload_rtpp not available

2016-05-25 Thread david
dear all i'm using kamailio 4.4.1 and i'm not seeing nh_reload_rtpp as a fifo exported function i'm trying to setup the dburl for the rtpengine sets using db_text but when i do kamctl fifo which i see all the commands of the module except the reload_rtpp nh_enable_rtpp nh_show_rtpp nh_ping_rtpp n

Re: [SR-Users] 4.4.1: Only first UDP Listener is producing log messages

2016-05-25 Thread Sebastian Damm
Hi, On Tue, May 24, 2016 at 11:25 PM, Daniel-Constantin Mierla wrote: > there were some changes in the logging system to allow custom "transport" > for syslog messages -- like those implemented by the new log_* modules. > > But they should not affect the old (and still default) mode. I just looke

Re: [SR-Users] Kamailio for sip routing architecture

2016-05-25 Thread Loic Chabert
Hello, All users are one the same domain, and i use powerdns with mysql backend to provide DNS DID routing to kamailio. So, when i need to route a DID to one host, i insert NAPTER entry in mysql, and on next kamailio DNS request, call will be forwarded to the right server. Regards. 2016-05-24 1