[SR-Users] Config to control TCP connection reuse

2019-04-22 Thread R, Rajkumar (Raj)
Hi, In my setup(kamailio in stateless mode to a backend server), for any number of client registrations kamailio (in stateless mode) is reusing the TCP connection. Let's say if I register 3 different clients through kamailio to my backend server - see only one TCP connection is used, which I do

Re: [SR-Users] listening at link local IPv6 address

2019-04-22 Thread Sergey Safarov
my five cents about this. Link local addresses generated using MAC address of NIC. If server use VLAN interface, then server will have two or more NICs with same MAC address and two or more same IPv6 link local addresses. In this case kamailio will bind to first NIC with this IPv6 address. When se

Re: [SR-Users] listening at link local IPv6 address

2019-04-22 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Anyhow, your code has hardcoded interface name, I added a helper > function that tries to get the scope by matching the ip address when > walking over network interfaces. The commit: > > https://github.com/kamailio/kamailio/commit/ce1138d2d8962296de2867d5751abf7

Re: [SR-Users] JSON error - control character 0xd

2019-04-22 Thread David Dean
Digging into this a bit deeper, I now understand the exact problem. The issue is the difference in newlines between sdp_get output and the JSON format. sdp_get returns the SDP with unix newline characters i.e. \r\n. However JSON won't accept unix newlines and requires a single line output with

Re: [SR-Users] Kamailio-5.2.1 - Issues in NDB_MONGODB module initialisation

2019-04-22 Thread Nuno Ferreira
Hello, I've submitted https://github.com/kamailio/kamailio/pull/1932 to address this problem. I believe this is unnoticed if db_mongodb is already being used by some module because mongoc driver would be initialized for each process. The patch was tested in our testbed and it's working fine now.

Re: [SR-Users] listening at link local IPv6 address

2019-04-22 Thread Daniel-Constantin Mierla
I could track that limitation down to commit c6b62bf8 from 2011. Searching on the web, I found that is a little bit tricky with link local addresses, especially related to porting on Linux and *BSDes (e.g., https://danrl.com/blog/2016/struct-sockaddr-in6/). Anyhow, your code has hardcoded interfac

Re: [SR-Users] rtpengine_offer() with ICE not updating o= and m= IP addresses

2019-04-22 Thread Richard Fuchs
`replace-origin` and `replace-session-connection` are optional for normal operation and are preempted by `ICE=force-relay`. If you want c= and o= (and m=) lines updated, you should use `ICE=force` instead. Cheers On 19/04/2019 05.25, David Dean wrote: Sorry, not sure I understand. The docum

[SR-Users] DMQ_USRLOC

2019-04-22 Thread Gholamreza Sabery
Hi, Recently, I started to use dmq_usrloc module. I successfully set it up. Unfortunately, the documentation does not specify the behavior of dmq_usrloc module with other Kamailio modules. For example, I see a bunch of KDMQ messages are exchanged between nodes, but how the lookup() function behave

Re: [SR-Users] Best tutorial for beginners kamailio

2019-04-22 Thread Arsen
Hi, I would suggest you to start from here: https://kb.asipto.com/ It has a lot of examples of integrations with another platforms and various use cases explained. Another great source for beginners could be "Kamailio admin book" http://www.asipto.com/index.php/kamailio-admin-book/ Although kamail

[SR-Users] Best tutorial for beginners kamailio

2019-04-22 Thread Gaurav Bmotra
Hi Plz sujjest best kamailio tutorial or any source where a beginner can start kamailio.. Thanks ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] listening at link local IPv6 address

2019-04-22 Thread Juha Heinanen
I read K source code and found these kind of lines in sock_info.c: for(;RTA_OK(rtap, rtl);rtap=RTA_NEXT(rtap,rtl)){ switch(rtap->rta_type){ case IFA_ADDRESS: