Re: [SR-Users] Normal behaviour with loose_routing

2018-01-30 Thread Daniel Tryba
On Tue, Jan 30, 2018 at 11:14:18AM +0100, Loic Chabert wrote: > Thanks Daniel, > > Your snippet code must be used in proxy/registrar or on LB ? It's for the loadbalancer. The registrar also is a near default supplied config, only added support for Path to be used for REGISTERs and dispatcher.

Re: [SR-Users] Session Timers

2018-01-30 Thread Daniel Tryba
On Tue, Jan 30, 2018 at 12:33:28PM +, Duarte Rocha wrote: > 1) I have my Kamailio between my clients CPE's and my GW to the PSTN. I > want to configure it in a way that i always try to make the CPE do the > refreshing so I can save resources on my kamailio and in the GW. If the CPE > doesn't

Re: [SR-Users] rtjson + uac + event - OK, ACK and BYE display name not updated

2018-01-30 Thread Diego Nadares
Hi guys, This is a bit old BUT I would like to make the pull request. Anyone knows the steps to do it? Thanks. 2018-01-30 14:12 GMT-03:00 Diego Nadares : > Hi guys, > > This is a bit old buy I would like to make the pull request. Anyone knows > the steps to do it? > >

Re: [SR-Users] Normal behaviour with loose_routing

2018-01-30 Thread Alex Balashov
On Tue, Jan 30, 2018 at 06:25:57PM +0100, Loic Chabert wrote: > ACK messages are in the same INVITE transaction ? No, e2e ACKs are a transaction in their own right. However: (a) They will have the same CSeq number as the INVITE to which they correspond; (b) They are a bit "special" in that

Re: [SR-Users] rtjson + uac + event - OK, ACK and BYE display name not updated

2018-01-30 Thread Diego Nadares
Hi guys, This is a bit old buy I would like to make the pull request. Anyone knows the steps to do it? Thanks. Diego 2016-12-08 5:06 GMT-03:00 Daniel-Constantin Mierla : > Hello, > > good to hear you were able to update and make it work for you, > highlighting again the

Re: [SR-Users] Normal behaviour with loose_routing

2018-01-30 Thread Loic Chabert
If i check my ACK messages sent from my LB to my proxy, to Route headers is present. So my ack has not been forwarded to my SBC. So i can't route all subsequent INVITE messages without using dispatcher for ACK messages. ACK messages are in the same INVITE transaction ? My SBC is asterisk, and

[SR-Users] Session Timers

2018-01-30 Thread Duarte Rocha
Hey guys, I have two issues about Session Timers that need some clarification. 1) I have my Kamailio between my clients CPE's and my GW to the PSTN. I want to configure it in a way that i always try to make the CPE do the refreshing so I can save resources on my kamailio and in the GW. If the

[SR-Users] Normal behaviour with loose_routing

2018-01-30 Thread Loic Chabert
Hi list, I have a setup configurered has diagram below: UAC -> Proxy LB (proxy lb) -> Proxy Router/registrar (proxy B) -> Asterisk SBC My UAC is SIPP and sending a classic call scenario: INVITE - ACK - BYE. But i have some trouble to understand which queries should be loose routed and which

[SR-Users] dmq_usrloc - which server?

2018-01-30 Thread Alex Balashov
Hi, The Socket parameter of location entries is not replicated under dmq_usrloc. To make matters worse, the technical characteristics of the registrar module are such that I cannot straightforwardly modify the incoming Contact to add a rider indicating the server on which the register was

Re: [SR-Users] dmq_usrloc - which server?

2018-01-30 Thread Alex Balashov
Also, it appears that under the DMQ regime, the socket parameter is not set for locally received registrations either? # kamcmd -s /tmp/kamailio_ctl ul.dump | grep Socket Socket: [not set] Socket: [not set]

Re: [SR-Users] dmq_usrloc - which server?

2018-01-30 Thread Alex Balashov
Ah, I guess this is the very problem that this relatively bleeding-edge patch by Charles is meant to solve: https://github.com/kamailio/kamailio/commit/684059ca5bb76e2006a9560ac1efa8c3540d3a58#diff-511a71ab6e3db75071b6a440618be1df -- Alex -- Alex Balashov | Principal | Evariste Systems LLC

Re: [SR-Users] dmq_usrloc - which server?

2018-01-30 Thread Charles Chance
Hi Alex, Which version are you running? There were a few related patches recently - the one you mentioned will correctly set the server_id, although on its own will probably not help in the correct routing of requests. For that, I would normally make use of Path. The socket should indeed be set

Re: [SR-Users] dmq_usrloc - which server?

2018-01-30 Thread Alex Balashov
Hi Charles, Thank you kindly for your response: On Wed, Jan 31, 2018 at 04:53:09AM +, Charles Chance wrote: > Which version are you running? There were a few related patches recently - > the one you mentioned will correctly set the server_id, although on its own > will probably not help in

Re: [SR-Users] [4.2] how to send out BYE successfully to close a TCP/TLS connection which misses the connection ID?

2018-01-30 Thread Jack Wang
I found that error occurred because the connection to be used has been obsolete after kamailio restarting, the log showed that the socket port from WebRTC Client side is still the old one rather than current connection re-connected, so I attempt to replace the destination port of D-URI with the

Re: [SR-Users] dmq_usrloc - which server?

2018-01-30 Thread Charles Chance
Hi Alex On Wed, 31 Jan 2018 at 05:35, Alex Balashov wrote: > > I hadn't even thought of Path; I do see that it's replicated. However, > what are the consequences of adding a Path to a locally bound > registration that is also replicated? I would assume that would

Re: [SR-Users] Normal behaviour with loose_routing

2018-01-30 Thread Daniel Tryba
On Tue, Jan 30, 2018 at 10:22:39AM +0100, Loic Chabert wrote: > I have a setup configurered has diagram below: > > UAC -> Proxy LB (proxy lb) -> Proxy Router/registrar (proxy B) -> Asterisk > SBC > > My UAC is SIPP and sending a classic call scenario: INVITE - ACK - BYE. > > But i have some

[SR-Users] [4.2] how to send out BYE successfully to close a TCP/TLS connection which misses the connection ID?

2018-01-30 Thread Jack Wang
For some reasons, My settings will cause kamailio to be restarted even if there were connections connected to it. And when one SIP client in a connection wanted to hangup the call with a WebRTC Client (SIP over websocket) after the proxy-restarting, local client was closed, however , the other

Re: [SR-Users] Normal behaviour with loose_routing

2018-01-30 Thread Loic Chabert
Thanks Daniel, Your snippet code must be used in proxy/registrar or on LB ? The proxy/registrar should follow the same behaviour with the SBC and the lb ? Loose_route every request from sbc and dispatch request from lb to sbc ? Regards. 2018-01-30 10:51 GMT+01:00 Daniel Tryba

Re: [SR-Users] Problem to install Kameilio from Ubuntu packages

2018-01-30 Thread Victor Seva
2018-01-26 17:46 GMT+01:00 Alain Bonnefoy - XOOL : > > > I tried to install Kameilio on Ubuntu 16.04 from what explained in the > wiki . > Wiki updated. Thanks ___ Kamailio (SER) - Users

Re: [SR-Users] [4.2] how to send out BYE successfully to close a TCP/TLS connection which misses the connection ID?

2018-01-30 Thread Jack Wang
mistake the key state checked. correct: websocket:ws_sip_current_connections = 1 2018-01-30 18:44 GMT+08:00 Jack Wang : > For some reasons, > My settings will cause kamailio to be restarted even if there were > connections connected to it. > And when one SIP