Re: [SR-Users] Several Asterisk on this same IP

2017-03-13 Thread przeqpiciel
Maybe there is an magic device? I know that if we have an asterisk, that become to us with default configuration of rtp ports sets to 1_2. And each call choose the one port fron that range. So if we have several asterisks with default configuratiin of rtp, there is possibilities to have 2

Re: [SR-Users] how to unregister an remote registration at uac module

2017-03-13 Thread Daniel-Constantin Mierla
Hello, do you need to see an un-register request or want to trigger a re-registration (refresh the registration)? Cheers, Daniel On 13/03/2017 11:07, José Lopes wrote: > Hello, > > I am using the module uac to do remote registration. > > But sometimes i need to do unregister, to control or

Re: [SR-Users] Segmentation fault - dialog RPC

2017-03-13 Thread Daniel-Constantin Mierla
Hello, to conclude the report -- a patch has been pushed to fix the reported issue: * https://github.com/kamailio/kamailio/issues/1032 Cheers, Daniel On 13/03/2017 09:45, Daniel-Constantin Mierla wrote: > > Hello, > > can you open an item on our bug tracking: > > *

Re: [SR-Users] unable to receive response from freeswitch

2017-03-13 Thread Daniel-Constantin Mierla
Hello, you can configure kamailio to listen only on the IP you want -- see the listen global parameter. If you need to listen on many IPs, then you can set the outgoing socket via force_send_socket(...) or assignment to $fs variable. Cheers, Daniel On 13/03/2017 05:05, ysuryas . wrote: > I

Re: [SR-Users] Segmentation fault - dialog RPC

2017-03-13 Thread Daniel-Constantin Mierla
Hello, can you open an item on our bug tracking: * https://github.com/kamailio/kamailio/issues Add there the backtrace from this email along with the output in gdb for: list info locals Cheers, Daniel On 13/03/2017 09:40, pars3c wrote: > > Dear all, > > many times, when i call

[SR-Users] how to unregister an remote registration at uac module

2017-03-13 Thread José Lopes
Hello, I am using the module uac to do remote registration. But sometimes i need to do unregister, to control or debug the registration process. I tried using kamcmd with uac.reg_disable, but this doesn't unregister. There is any way to do it? Best regards, Jose Lopes

Re: [SR-Users] Several Asterisk on this same IP

2017-03-13 Thread Alex Balashov
On Mon, Mar 13, 2017 at 07:08:09AM +0100, Kjeld Flarup wrote: > We run multiple Asterisk instances since 1.4 and never configured RTP ports. > > More challenging issues are the Asterisk DB, and the Asteisk home. You may not have enough calls for RTP port collisions to become an issue.

Re: [SR-Users] Several Asterisk on this same IP

2017-03-13 Thread Kjeld Flarup
We run multiple Asterisk instances since 1.4 and never configured RTP ports. More challenging issues are the Asterisk DB, and the Asteisk home. Med venlig hilsen / Best regards Kjeld Flarup (Christensen) M.Sc E.E, Teknisk chef Viptel ApS, Hammershusvej 16C, DK-7400 Herning Telefon: +45

[SR-Users] Segmentation fault - dialog RPC

2017-03-13 Thread pars3c
Dear all, many times, when i call dialog_list on dialog module with jsonrpc, kamailio crash. The version i use is: 4.4.2 Thanks for any suggestion. #0 0x7f2a706eb00a in internal_rpc_profile_print_dlgs (rpc=0x7f2a4fdf99a0, c=0x7f2a4fdf9940, profile_name=0x7fffb9fa8b10,

Re: [SR-Users] Several Asterisk on this same IP

2017-03-13 Thread Kjeld Flarup
As I recall it is sequential, but not from the start everytime, it is incrementing all the time. If You are running three servers, then with a 100% identical load, one would expect an average of 2 failing attempts per call. The reality I see is however often very different RTP ports, most

Re: [SR-Users] Several Asterisk on this same IP

2017-03-13 Thread anfecora
WHy not installing rtpproxy and proxying all rtp to the inside uase kamailio to load balance them, it will be transparent on the inside perhaps a cleaner solution? On Mon, Mar 13, 2017 at 3:21 PM, Kjeld Flarup wrote: > As I recall it is sequential, but not from the start

Re: [SR-Users] how to unregister an remote registration at uac module

2017-03-13 Thread José Lopes
Hello Daniel, I need to see an un-register request. Best regards, Jose Lopes 2017-03-13 13:31 GMT+00:00 Daniel-Constantin Mierla : > Hello, > > do you need to see an un-register request or want to trigger a > re-registration (refresh the registration)? > > Cheers, > Daniel

Re: [SR-Users] new keepalive module ?

2017-03-13 Thread Guillaume Bour
Hi Daniel, Thanks for you answer On Tue, Mar 07, 2017 at 11:35:17PM +0100, Daniel-Constantin Mierla wrote: > Hello, > > > On 07/03/2017 21:22, Guillaume Bour wrote: > > Hi all, > > > > I would like to implement destinations keepalive in drouting module (as it > > is done in dispatcher). > >

Re: [SR-Users] Several Asterisk on this same IP

2017-03-13 Thread Kjeld Flarup
No there is no such thing as magic. The most obvious way to implement the RTP port handling, is to first open the next UDP port in the OS, and then report that back in the Invite/200Ok. If the port cannot be opened, then simply try the next in line. Med venlig hilsen / Best regards Kjeld

Re: [SR-Users] Several Asterisk on this same IP

2017-03-13 Thread Alex Balashov
Well, indeed, but a sequential scan of many consecutive ports like this from the bottom of the same range can be quite a latent operation. So at the very least the allocation strategy would benefit from being random. Does Asterisk take that approach? On March 13, 2017 6:04:06 PM EDT, Kjeld