Re: [SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Juha Heinanen
Loic Chabert writes: > In fact, kamailio is out from lcr at this point, no more gateway to try > (all gateways are down). > I just want to send call to a static server for playing sound. > > To be more specific, if no gateways are not set on database, a sound must > be played. > > Should i chang

[SR-Users] Kamailio ims nat issue: PRACK/ACK ruri changing in p-cscf

2016-09-23 Thread Owais Ahmad
Hi all, My scenario is as follows: I have All the CSCFs on the same IP using different ports. P-CSCF advertises a public IP. Rest of the nodes including I-CSCF and S-CSCF listen local only. Behavior: When an ACK or PRACK goes from P-CSCF to S-CSCF, the RURI changes such that alias parameter is rem

[SR-Users] Kamailio IMS NAT issue: PRACK/ACK RURI changing in P-CSCF

2016-09-23 Thread Owais
Hi all, My scenario is as follows: I have All the CSCFs on the same IP using different ports. P-CSCF advertises a public IP. Rest of the nodes including I-CSCF and S-CSCF listen local only. Behavior: When an ACK or PRACK goes from P-CSCF to S-CSCF, the RURI changes such that alias parameter is rem

Re: [SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Loic Chabert
In fact, kamailio is out from lcr at this point, no more gateway to try (all gateways are down). I just want to send call to a static server for playing sound. To be more specific, if no gateways are not set on database, a sound must be played. Should i change $du and $ru to make it work ? Le 23

[SR-Users] Kamailio ims nat issue: PRACK/ACK ruri changing in p-cscf

2016-09-23 Thread Owais
Hi all, My scenario is as follows: I have All the CSCFs on the same IP using different ports. P-CSCF advertises a public IP. Rest of the nodes including I-CSCF and S-CSCF listen local only. Behavior: When an ACK or PRACK goes from P-CSCF to S-CSCF, the RURI changes such that alias parameter is

Re: [SR-Users] [E] 604 Does not exist anywhere - HSS User Unknown

2016-09-23 Thread Owais
Can you debug and see what the destination is? Perhaps sql query log can help show what is being looked up at the HSS that is not being found? It may be because of the + prefix in: if !($rU =~ "\+.*") { prefix("+"); } on I-CSCF? Do comment this out and then see if it removes this error and INV

Re: [SR-Users] Kamailio Not Starting

2016-09-23 Thread Linux Vince
Yes that is the problem. I modified file in init.d to accept higher values in memory settings and it worked. Thank you for your help. On Fri, Sep 23, 2016 at 9:08 PM, E. Schmidbauer wrote: > the error says: > > Not starting : invalid configuration file! > > Try running it with the path to your

Re: [SR-Users] Kamailio Not Starting

2016-09-23 Thread E. Schmidbauer
the error says: Not starting : invalid configuration file! Try running it with the path to your configuration file: /usr/sbin/kamailio -P /var/run/kamailio.pid -m 125 -M 32 -u kamailio -g kamailio -c [path to kamailio.cfg] On Fri, Sep 23, 2016 at 10:21 AM, Linux Vince wrote: > Also i noti

[SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Juha Heinanen
Loic Chabert writes: > To accomplish this, i re-write the RURI: "sip:error1@errorserver.local", > and launch RELAY route. But kamailio dont make a DNS query to find IP of > "errorserver.local", only change RURI and try to send to the last LCR > gateway. > > I have also try to add a new branch, bu

Re: [SR-Users] Kamailio Not Starting

2016-09-23 Thread Linux Vince
Also i noticed that if i run manually it starts without error /usr/sbin/kamailio -P /var/run/kamailio.pid -m 125 -M 32 -u kamailio -g kamailio Is there any specific file i need to modify to set these memory values? I am using CentOS 6 On Fri, Sep 23, 2016 at 6:54 PM, Linux Vince wrote: > I am

[SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Loic Chabert
Hello List, I'm finishing my implementation of LCR with kamailio for outgoing calls but one use case does not work. Let me explain: - I have some sbc for one destination. If one destination fail, kamailio try to second one etc.. - If no SBC is available for this destination (for exemple, all are d

[SR-Users] Kamailio Not Starting

2016-09-23 Thread Linux Vince
I am getting below error when i start kamailio Not starting : invalid configuration file! 0(2360) ERROR: [mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(0x7f732c5ff010, 232); Free fragment not found! 0(2360) ERROR: [mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f732c5ff010, 232) c

[SR-Users] Problem reseting TMX statistics

2016-09-23 Thread Átila de Moura Tavano Moretto
I'm currently using version 4.4.2 and am having trouble trying to reset the statistics in the TMX module. According to its documentation, all statistics except "inuse_transactions" can be reset. Checking the tmx_mod.c files for the statistics definition, I saw that the STAT_NO_RESET flag wasn'

[SR-Users] Location Table In db_mode 3

2016-09-23 Thread Gholamreza Sabery
I have multiple Kamailio servers in an Active/Active scenario (the database is a MySQL server) using db_mode 3. But when the number of clients goes up writes on the location table become too much and it causes database problems. I even put my location table on a separate SSD disk on the server to s

[SR-Users] Dimension number of child

2016-09-23 Thread Igor Potjevlesch
Hello, I'm wondering if there's a best practise to dimension the number of child to setup? I see, very often, Kamailio that stops to reply to SIP traffic for couple a seconds. This cause some calls drop if RE-INVITE are not processed for example. So, I'm wondering if the issue is not du

Re: [SR-Users] failed to find command http_async_query - Even though module loaded

2016-09-23 Thread Jonathan Hunter
Hi Federico, Thanks for the response! My apologies, I ended up with Version 5, moving to 4.4 fixes my issues. Sorry for noise and thanks for help. Jon From: federico.cabi...@gmail.com Date: Fri, 23 Sep 2016 07:26:11 +0200 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] failed to find com