Re: [SR-Users] Dialog Module Hash Size vs Number of Dialogs

2017-12-04 Thread Alex Balashov
On Mon, Dec 04, 2017 at 03:28:08PM -0500, Mark Blackford wrote: > So, it sounds like from what you describe, I will set my hash size to > be a few times larger than my forecasted profile size to keep matching > operations to a minimal. And since dialogs timeout anyway if they are > not cleared

Re: [SR-Users] Failed to find command http_client_query

2017-12-04 Thread Alexandru Covalschi
Hello, Wanted to ask if you found something Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 24 нояб. 2017 г., в 22:19, Alexandru Covalschi <568...@gmail.com> написал(а): > > Hello, sharing whole config except vars.cfg file,

Re: [SR-Users] Dialog Module Hash Size vs Number of Dialogs

2017-12-04 Thread Mark Blackford
Thank you for your response! I am currently replacing the call_control module used with CDRTool Prepaid with the dialog module using hash tables. The speed and stability are tremendously better! My concern is two-fold: 1) I do not want calls to be blocked because I set the hash table size too

Re: [SR-Users] Dialog Module Hash Size vs Number of Dialogs

2017-12-04 Thread Daniel-Constantin Mierla
The hash_size has no relevance on how many dialogs can be handled. It is only related to the lookup performance. So even with hash_size=1 you can have same number of dialogs as with hash_size=4096 or higher. The difference is that with hash_size=1, all the dialogs are in a single linked list, so

Re: [SR-Users] Dialog Module Hash Size vs Number of Dialogs

2017-12-04 Thread Mark Blackford
Hi Daniel, Thanks for your responses. This discussion has been very useful. Our code is along the lines that you suggest in which we are using some database ops prior to the dialog calls to gather if the user is call limited and if so, the provisioned users "max calls allowed" per billing

[SR-Users] How to change To header URI from Kamailio?

2017-12-04 Thread Arun NV
Hi, I am using *Kamailio 4.4*. I would like to forward the request to a different port number of my endpoint. I have changed the destination *URI *and the *INVITE *correctly reached to the new port. But the *To header *in the *INVITE *request has the old port. so the endpoint is not responding to

Re: [SR-Users] How to change To header URI from Kamailio?

2017-12-04 Thread Sebastian Damm
Hi, most user agents ignore the domain and port in the from header. Your UAC must be special. However, the uac module has some functions to help you. But don't forget to restore it on the way back. Regards, Sebastian On Tue, Dec 5, 2017 at 5:32 AM, Arun NV wrote: > Hi,

[SR-Users] How to use ruri-pattern with allow_trusted?

2017-12-04 Thread voipspace voipspace
Hi Have used allow_trused to pass the allowed ip. Now I want to check the request has a correct tech prefix. With an entry in ruri-patten column in the trusted table for example 75622#. So if calls are to olny be allowed when the "to" destination starts with 75622#.  Regards

Re: [SR-Users] No cdr after Kamailio 5.0.4 and 5.2 dev restart

2017-12-04 Thread Daniel-Constantin Mierla
Hello, after restart, if you list the dialogs via rpc command, do you see them in what is returned? Cheers, Daniel On 29.11.17 20:52, Kordován Szabolcs wrote: > Hi All, > > In March there was a discus about this issue. > > We tested the new 5.2 dev and 5.0.4 version of Kamailio and we >

Re: [SR-Users] bash script to install siremis

2017-12-04 Thread Daniel-Constantin Mierla
Hello, there should be some configs out there for installing kamailio using ansible, puppet, chef ...  that can be used to extract the shell commands. Just search on the web for preferred deployment tool. As alternative, you can extract the shell commands from Dockerfile, there are couple of

Re: [SR-Users] How to get call on an extension, which is registered when a call towards it reach kamailio. How to modify pending session parameters in kamailio?

2017-12-04 Thread Daniel-Constantin Mierla
Hello, look at tsilo module as well as the presentation by Federico at Kamailio World Conference about using Kamailio for mobile networks:   - https://www.kamailio.org/events/2016-KamailioWorld/Day2/16-Federico.Cabiddu-Thriving-In-A-Mobile-World.pdf   -

Re: [SR-Users] Releasing Kamailio v5.1.0

2017-12-04 Thread Daniel-Constantin Mierla
Hello, short note to remind that the next major release is planned in one week -- testing of branch 5.1 and improvements to documentation are very appreciated! Cheers, Daniel On 27.11.17 09:23, Daniel-Constantin Mierla wrote: > Hello, > > with no relevant new bugs reported lately, it is time to

Re: [SR-Users] Using dispatcher's algorithm 12

2017-12-04 Thread Daniel-Constantin Mierla
Actually, dispatcher works for incoming requests that are going to be sent out. You generate the requests locally using uac, so no effect on such case when using dispatcher functions. In this case, the equivalent of $du is $uac_req(duri), $ru is $uac_req(ruri). Your solution to loop with

[SR-Users] Dialog Module Hash Size vs Number of Dialogs

2017-12-04 Thread Mark Blackford
Hello, I am trying to properly size the use of the Dialog Module hash table for Kamailio 4.1.3 implementation using: modparam("dialog", "hash_size", ) However, in my testing, I have been unable to figure out the relationship between the hash size and a number of dialogs I need to support. I