[SR-Users] Wrong Record-Route and Via header fields when TCP is used

2019-07-04 Thread Leonid Fainshtein
Hi, Kamailio server has two legs that are connected to different networks. I'm using Kamailio v.5.2.3 and the "enable_double_rr" is implicitly set to "1". The leg "A" IP address is 10.159.65.1 The leg "B" IP address is 192.168.0.31 The call is initiated from 10.159.65.18 According to the "rr"

Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-04 Thread Federico Cabiddu
Hi Koray, I understand now, thank you. In the rtimer route you can use ts_append() http://www.kamailio.org/docs/modules/devel/modules/tsilo.html#tsilo.f.ts_append specifying the location table name and the aor for which you have found new contacts. The documentation is maybe misleading in this

Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-04 Thread Koray Vatansever
Hi Federico, I have multiple kamailio servers. Clients may register to any one of them. When an invite is received, transaction is suspended and transaction id is saved in a htable which is local to the server. And than push notification is sent to the called client. In order to understand that

Re: [SR-Users] kamailio as UAC and NAPTR / sendsocket question

2019-07-04 Thread Federico Cabiddu
Actually you can force the TCP socket (e.g. sending from the same socket you are listening on) if the kernel has support for SO_REUSEPORT (linux > 3.9, FreeBSD, OSX) and you enable tcp_reuse_port in kamailio configuration ( https://www.kamailio.org/wiki/cookbooks/5.2.x/core#tcp_reuse_port). Best,

[SR-Users] How to statelessly send a reply to custom destination?

2019-07-04 Thread George Diamantopoulos
Hello all, I've been trying to handle OPTIONS statelessly, but proper handling fails for UACs behind NAT without ALG. I thought I'd overcome this by setting the $du pseudovariable, but apparently I'm missing something. The following does not work: if ($Rp == "6050") {

Re: [SR-Users] kamailio as UAC and NAPTR / sendsocket question

2019-07-04 Thread Daniel Tryba
On Wed, Jul 03, 2019 at 06:38:28PM +0200, Karsten Horsmann wrote: > any one here that can imagine why force sendsocket generates an udp packet > if the target accept only tcp? And without fs it generates an tcp packet. > For uac registrations outbound? Reading the cookbook documentation of

Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-04 Thread Federico Cabiddu
Hi Koray, I'm not sure I understand your use case. If you are handling registrations, why having an rtimer process that check if there are new contacts? Regards, Federico On Wed, Jul 3, 2019 at 7:37 AM Koray Vatansever wrote: > Hi Daniel, > > I'm using usrloc with db_mode only. So location