[SR-Users] CNXCC lock

2015-07-21 Thread Kelvin Chua
after a call exhausted credits, the next call will fail with a timeout. found out it gets stuck in cnxcc_mod.c line 1137 static call_t *__alloc_new_call_by_money(credit_data_t *credit_data, struct sip_msg *msg, double credit, double cost_per_second, int init

Re: [SR-Users] [sr-dev] RFC: about the self signed tls certificates

2015-07-21 Thread Alekzander Spiridonov
Agree 2015-07-20 22:18 GMT+03:00 Victor Seva : > On 07/20/2015 08:58 PM, Daniel-Constantin Mierla wrote: > > My proposal is to move generation of self signed certificates to kamctl. > > There can be a kamctl.tls file to be deployed by the tls package (same > > is done by kamctl.mysql, being part

[SR-Users] Kamailio example trace needed UAR/UAA

2015-07-21 Thread Jan Devai
Hi Experts, we have trouble with the last SIP Registration from I-CSCF to S-CSCF, see below: *The flow is as follows:* UE HSSP-CSCF I-CSCFS-CSCF ---Sip Register---> ---Sip Register--->

[SR-Users] replace From header username for AUTH

2015-07-21 Thread Al S
Hi, I was wondering how can I replace From header username to perform the following authentication check with the new value: route[AUTH]..if (!auth_check("$fd", "subscriber", "1")) { auth_challenge("$fd", "1");exit;}... Thanks,Al __

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Daniel Tryba
On Tuesday 21 July 2015 17:59:53 Jurijs Ivolga wrote: > So basically extension 100 sends invite to LB, LB then send invite to > Kamailio server and Kamailio server replies with 407 error. > > Do you have any ideas why? No, you'll have to debug this the usual way. Run kamailio at a highe debug le

[SR-Users] Siremis 4.2 with PHP 5.6

2015-07-21 Thread Patrick Bezensiertblubb
Hi,   i just freshly installed Kamailio in combinition with Siremis and the Siremis Wizard fails / the login fails (Error attached below) PHP 5.6.9-0+deb8u1 As far as I know this is a known problem with the openbiz framework used by Siremis. Do you guys know of any way to fix this instead of d

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel, I'm still not able to make a call, now I'm getting "SIP/2.0 407 Proxy Authentication Required" from Kamailio server which is behind Load-balancer server. So basically extension 100 sends invite to LB, LB then send invite to Kamailio server and Kamailio server replies with 407 error. D

Re: [SR-Users] dmq_usrloc replication and max_contacts

2015-07-21 Thread Asgaroth
sorry, I forgot to mention, this is kamailio v4.3.1: # kamailio -V version: kamailio 4.3.1 (x86_64/linux) f38e67 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST

Re: [SR-Users] "kamctl ul show"/xmlrpc ul.lookup AOR not found for valid registration

2015-07-21 Thread Asgaroth
sorry, I forgot to mention, I am using kamailio v4.3.1: # kamailio -V version: kamailio 4.3.1 (x86_64/linux) f38e67 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, F

[SR-Users] "kamctl ul show"/xmlrpc ul.lookup AOR not found for valid registration

2015-07-21 Thread Asgaroth
Hi All, I have a situation where a device has successfully registered and its location saved/stored in memory. I can see all the stored information when I issue a "kamctl ul show" However, if I perform a kamctl ul show subscriber@domain, where the 'subscriber@domain' is copied/pasted from th

[SR-Users] dmq_usrloc replication and max_contacts

2015-07-21 Thread Asgaroth
Hi All, I have a situation where I have 2 devices registering with the same AOR, I have the registrar module's max_contacts parameter set to 1 and I use the 0x04 flag on the save function. When I use dmq_usrloc for replication, I can see 2 contacts registered for the AOR on the "client" node

Re: [SR-Users] acc Module missing BYE in database

2015-07-21 Thread Dirk Teurlings - SIGNET B.V.
Hi Daniel, As far as I can tell these BYE messages weren't originated locally. These are all terminated with a BYE from the mediaserver (asterisk). CNXCC doesn't overflow, nor does any timeout occur. Should your suggested changes still make any difference knowing this? Cheers, Dirk On 21-0

Re: [SR-Users] kamailio 4.3v partition column name is reserved word in mysq ndbcluster engine

2015-07-21 Thread Daniel-Constantin Mierla
I updated the wiki page putting backticks around column names. Mysql keep adding to the list of reserved keywords, so using backticks is the safest in the long term, as current named columns can become keywords in the future -- e.g., partition was not reserved before v5.6 Cheers, Daniel On 20/07

Re: [SR-Users] acc Module missing BYE in database

2015-07-21 Thread Daniel-Constantin Mierla
Hello, to catch the local generated BYEs, you have to add event_route[tm:local-request] and there test if it is a BYE and if yes, use acc_db_request(...) to get the record in acc table. For sake of completion, request_route {} is executed only for requests received from the network, not for those

Re: [SR-Users] Compiling only one module

2015-07-21 Thread Daniel-Constantin Mierla
Hello, On 17/07/15 17:43, Loic Chabert wrote: > Hello Daniel, > > I have used this command before, but no compilation. > Tell me if something is wrong on my process: > - Copy src directory to /modules > - Create make file corresponding to my module > - Execute your command to make binaries > > My

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Daniel Tryba
On Tuesday 21 July 2015 14:14:29 Jurijs Ivolga wrote: > I believe I need to add some config to my Kamailio servers what are behind > Load-balancer too, so all communication should be send via Loadbalancer. > > Maybe you can give me a hint about this part too? There you need to use path for regist

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel, Thank you a lot! I believe I need to add some config to my Kamailio servers what are behind Load-balancer too, so all communication should be send via Loadbalancer. Maybe you can give me a hint about this part too? Thank you a lot! With kind regards, Jurijs 2015-07-21 13:12 GMT+03

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Daniel Tryba
On Tuesday 21 July 2015 12:45:02 Jurijs Ivolga wrote: > Maybe you can share with me full config of your load-balancer? It will be > really nice if I can take a look on it. I'm very new in kamailio and for me > is very difficult to complile working config from short code snippets. :) See attachment

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel, Maybe you can share with me full config of your load-balancer? It will be really nice if I can take a look on it. I'm very new in kamailio and for me is very difficult to complile working config from short code snippets. :) You mentioned that you have 2 load-balancer. Does this 2 load-

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Daniel Tryba
On Tuesday 21 July 2015 08:36:49 Adam Romanek wrote: > Does this assume that both Kamailios are connected to the same MySQL > database? Yes. > I must admit I don't understand how it should work. What's the > background behind this technique with "path"? RTF RFC: https://tools.ietf.org/html/rfc

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Daniel Tryba
On Tuesday 21 July 2015 11:13:15 Jurijs Ivolga wrote: > My set-up is working as it is with default settings, when 2 servers share > same DB in case if our subscribers do not use NAT. > > If subscribers are behind NAT, then in this case such set-up will not work, > as described here: > > http://kb

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel & Adam, First of all I would like to apologies for mess. My set-up is working as it is with default settings, when 2 servers share same DB in case if our subscribers do not use NAT. If subscribers are behind NAT, then in this case such set-up will not work, as described here: http://k

[SR-Users] acc Module missing BYE in database

2015-07-21 Thread Dirk Teurlings - SIGNET B.V.
Hi again, Running kamailio 4.2.5 with the acc module to do accounting in a MySQL database. We are now running into the issue that sometimes there is no BYE line when there is an INVITE. Digging into this I noticed that the dialog:end event does get triggered, and that CNXCC consumes the call

Re: [SR-Users] dialog keepalive timeout - which parameter rules it?

2015-07-21 Thread Daniel-Constantin Mierla
Hello, it is fr_timer from tm module. Cheers, Daniel On 20/07/15 19:16, Andrey Utkin wrote: > What happens if dialog parties don't respond to keepalive requests > sent by dialog module? It looks it is not coded in modules/dialog, I > guess it can be set in t_uac_prepare() from modules/tm/uac.c.