Re: [SR-Users] Issue loading ims_dialog module

2016-07-01 Thread Vikram Chhibber
Hi Jason, I got passed this issue. The issue was that dlopen was complaining about destroy_dlg symbol not found while loading ims_dialog module. I removed the "inline" key-word from dlg_hash.h/.c for this method and now I am able to load this module. Vikram On Fri, Jul 1, 2016 at 2:25 AM, Jason

Re: [SR-Users] Distributed Authentication

2016-07-01 Thread SamyGo
Hi Collin, I can only think that by doing this saving of nonce, and accessible by rest of the boxes in cluster, isnt it going to put the authentication mechsnism at risk ? Even if not, that means all the servers in your cluster supposed to behave predictably same ! Hence again security concern !

[SR-Users] Distributed Authentication

2016-07-01 Thread Colin Morelli
Hey all, I'm running a cluster of Kamailio instances as a proxy/registrar for another cluster of Freeswitch instances. I'm using http_async_client to make HTTP queries to my API to fetch credentials on auth challenges. Kamailio performs generating the header, and validating the result based on

[SR-Users] Kamailio and Mongodb

2016-07-01 Thread C.
Hi, I have followed instructions on setting up Kamailio with MongoDB backend, and successfully compiled and installed kamailio with the db_mongo module. It can start successfully. However, when I tried to add users using the command: kamctl add test testpasswd t...@mysipserver.com

[SR-Users] Modify VIA header in replied message

2016-07-01 Thread Huynh Quoc Bao
Hi all, As title, i want to add some additional parameters to the topmost via header in replied message. example. REGISTER ==> Kamailio ===> reply 200 OK. So in 200 OK message, i will add some additional parameters. And the same for the other message: INVITE, SUBSCRIBE, NOTIFY, MESSAGE message.

Re: [SR-Users] Dialplan module doubt

2016-07-01 Thread José Seabra
Hello, Ok, I will check that. In terms of call processing no matter how many non-numeric entries mtree has? Thank you for you help BR José 2016-07-01 12:59 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > well, it is not easy to predict, because it is a matter of density

Re: [SR-Users] Dialplan module doubt

2016-07-01 Thread Daniel-Constantin Mierla
Hello, well, it is not easy to predict, because it is a matter of density (or overlapping characters). Anyhow, it also depends on the module parameter char_list -- if you want any character from alphabet there is going to use lot of memory. For first value added in the tree, it creates

Re: [SR-Users] Dialplan module doubt

2016-07-01 Thread José Seabra
Hello, Can you tell me what is the memory usage in mtree for each non-numeric record with ~ 10 characters? Mtree using more memory can decrease its own performance? Thank you BR José 2016-07-01 12:34 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > the matching rules are

Re: [SR-Users] Dialplan module doubt

2016-07-01 Thread Daniel-Constantin Mierla
Hello, the matching rules are stored pre-compiled in memory, not being parsed every time, unless you have rules with variables. Combining mtree with dialplan can increase performances, just be aware that if you have non-numeric values stored in 'tprefix' column, it is going to use a lot of

Re: [SR-Users] Issue loading ims_dialog module

2016-07-01 Thread Jason Penton
Hi Vikram, Seems really strange. Any way I could get ssh access? You are welcome to engage me privately to try and resolve and then we can post resolution to the list. Cheers Jason On Thu, Jun 30, 2016 at 6:08 PM, Vikram Chhibber wrote: > I installed Kamailio after

Re: [SR-Users] ACK / BYE transaction problem

2016-07-01 Thread Oliver Roth
Hi Daniel Yes I get all the traffic in the lbl (first hop) and on the gw (routing gw). Even the call is processed and I get rtp on both sides. But: ACK is not routed to the carrier behind the gw. Therefore the call gets cut from carrierside – because of missing ACK after 200 OK I could provide

Re: [SR-Users] Dialplan module doubt

2016-07-01 Thread José Seabra
Hello Daniel, Thank you for your reply, What are optimizations to increase the speed of processing? I have thought in another solution that is use diaplan module only for apply manipulations and use mtree to match prefixes after apply manipulations. What is your opinion on this? Thank you again

Re: [SR-Users] Kamailio Iterate All Headers

2016-07-01 Thread Daniel-Constantin Mierla
Hello, you can get the only the headers from sip message in the following way: - compute the length of the sip message without the body (there are variables for message buffer len and body size, or use the s.len transformation) - use substring transformation over $mb to get only its first

Re: [SR-Users] Get registered user list

2016-07-01 Thread Daniel-Constantin Mierla
You can also fetch the list of all online clients via xmlrpc or jsonrpc from a remote host, or if you store the records in database (see db_mode for usrloc modules), then the location table can be accessed. If you look only to fetch the online contacts of the respective user from its client

Re: [SR-Users] Dialplan module doubt

2016-07-01 Thread Daniel-Constantin Mierla
Hello, the transalation records are cached by kamailio and precompiled, so there are optimizations to increase the speed of processing. But have in mind that the rules are matched one by one from the same dpid, in the order of priority. For the records where you don't have

Re: [SR-Users] ACK / BYE transaction problem

2016-07-01 Thread Daniel-Constantin Mierla
Hello, can you get the traffic on load balancer (or the first hop in your network that received the invite)? There you can see if the fault is in your network or not. In kamailio.cfg, be sure you don't use fix_nated_contact() function unless you are the first hop receiving the sip message