Re: [SR-Users] KEMI jsdt CommonJS-based module

2022-02-24 Thread Daniel-Constantin Mierla
Hello, I just merged the pull request, thanks! I had some remarks/questions in a comment made on PR, let me post them here for discussing further:   * one can load another JS file in the Kamailio KEMI JS file, but this another JS file has its content following the node.js module specs, right?

Re: [SR-Users] [sr-dev] Info: SIP resources collection

2022-02-24 Thread Jiri Kuthan
On 16.02.22 11:16, Daniel-Constantin Mierla wrote: Hello, over the 20 years I used various SIP applications, libraries and tools but after a while I forgot many of them, therefore I tried to collect many in a list hosted on github at:   * https://github.com/miconda/sip-resources Hoping it

Re: [SR-Users] Problem with auth_ephemeral and parse_uri(): bad port in uri

2022-02-24 Thread Daniel-Constantin Mierla
Hello, it should be reviewed properly if does not work before removing. The entire auth_ephemeral is deprecated from specs point of view, as the ietf draft never made it to rfc, but it is still useful to use at least for PoC. I don't have access to some old deployments using mode 0 to see if they

Re: [SR-Users] ?= kamailio : how to xlog the value of "myself"=?utf-8?q? ?

2022-02-24 Thread Olle E. Johansson
Hello! “myself” is a function that has one or several domains in it configured in your configuration. What you normally want to log is the domain that matches myself, with could be $rD if you are checking the domain of the request URI. /O

Re: [SR-Users] Problem with auth_ephemeral and parse_uri(): bad port in uri

2022-02-24 Thread Henning Westerholt
Hello, yes, if it is not working and also deprecated, if probably should be removed. You could open an issue for that or create (even better) a pull request. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com -Original Message-

Re: [SR-Users] dispatcher.reload

2022-02-24 Thread Daniel-Constantin Mierla
Hello, you can use the rpc command hash to see what destination is selected. The hash id value does not change, for a user/uri is always the same value. Then the 'hashid % number_of_destination' (modulo operation) is used to pick up the destination from a dispatcher group. If after the reload is

Re: [SR-Users] dispatcher.reload

2022-02-24 Thread David Villasmil
Hello and thanks for your reply, all. Actually I WANT that behavior :) switching users to other boxes. Thanks! On Thu, 24 Feb 2022 at 07:45, Paolo Visintin wrote: > Hello David, > In my experience yes, the hash policy will be reset after reload but you > can use htable to cache results and

Re: [SR-Users] ACK and DNS failover

2022-02-24 Thread Henning Westerholt
Hello, as Daniel pointed out: > If the ACK is not received, the target is supposed to retransmit the 200ok, > to force retransmission of the ACK So the ACK is not supposed to be retransmitted, only the 200OK from the UAS side. The ACK is handled from the UAC side, and it needs send at least