[SR-Users] Changing contact header

2018-02-28 Thread Cibin Paul
Hello, In my setup, Kamailio acts as a registration server and route the calls to different asterisk boxes. The clients using IPV6 private ip and IPV4 public ip address are rejected by the asterisk server. On printing the contact header, I am getting the private ip (ipv6). Is there a way to ch

[SR-Users] Trunks with registration

2018-02-28 Thread Володимир Іванець
Hello all! I was testing Registration capability of UAC module and have two questions that hopefully someone have answers to: - Is it possible to tell Kamailio which transport protocol to use other than by configuring auth_proxy column of uacreg table with domain name that has SRV record? - What a

Re: [SR-Users] please downgrade warning message

2018-02-28 Thread Daniel-Constantin Mierla
On 27.02.18 21:02, Juha Heinanen wrote: > I noticed this when I start a correctly configured kamailio: > > Feb 27 21:55:45 rautu /usr/bin/sip-proxy[29529]: WARNING: registrar > [registrar.c:369]: mod_init(): empty reg_xavp_cfg or sock_flag not set -> > resetting > > Neither of those two are mand

Re: [SR-Users] kamailio 5.1 compilation error

2018-02-28 Thread Daniel-Constantin Mierla
Hello, I added g++ in the tutorial -- iirc, in the past c++ compiler was installed by default with gcc package, but I noticed also that with latest distros it is separate package:   * http://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/#prerequisites g++ is needed by some modules

Re: [SR-Users] cnxcc module - make auth for redis connection

2018-02-28 Thread Daniel-Constantin Mierla
Hello, maybe authentication support was not implemented in cnxcc. Eventually it can be extracted from the ndb_redis, that module has it implemented already.   * https://www.kamailio.org/docs/modules/stable/modules/ndb_redis.html#ndb_redis.p.server Cheers, Daniel On 27.02.18 14:39, Donat Zenich

[SR-Users] Question on contribution of documentation improvements

2018-02-28 Thread Floimair Florian
Hi guys! While reading through documentation I realized there are a lot of typos (typing errors) and some misspellings so I decided to try to correct them. I dit this in all of Kamailios module and lib documentation (the xml in the doc folders) and they turned out to be quite a lot. Right now th

Re: [SR-Users] Question on contribution of documentation improvements

2018-02-28 Thread Daniel-Constantin Mierla
Hello, thanks for this work! At the end, it doesn't matter that much with the patches for typos in the documentation, up to you how do you want to make the pull request for this case. I am a proponent of splitting commits per component (like core, modules, libs, ...) because it is easier to revi

Re: [SR-Users] kamailio does not start with db_mongdb and usrloc

2018-02-28 Thread Daniel-Constantin Mierla
Hello, I see in the pcap that the returned error contains: Failed to parse: { find: "version", filter: { table_name: "location" }, table_version: 1, $readPreference: { mode: "secondaryPreferred" }, $db: "kamailio" }. Unrecognized field 'table_version'. What is the version of mongoc library? I tr

Re: [SR-Users] Changing contact header

2018-02-28 Thread Daniel Tryba
On Wed, Feb 28, 2018 at 04:54:19PM +0530, Cibin Paul wrote: > In my setup, Kamailio acts as a registration server and route the > calls to different asterisk boxes. The clients using IPV6 private ip > and IPV4 public ip address are rejected by the asterisk server. On > printing the contact header,

Re: [SR-Users] Trunks with registration

2018-02-28 Thread Daniel Tryba
On Wed, Feb 28, 2018 at 01:50:20PM +0200, ?? ?? wrote: > - Is it possible to tell Kamailio which transport protocol to use other > than by configuring auth_proxy column of uacreg table with domain name that > has SRV record? Don't know. > - What are the priorities of

Re: [SR-Users] Trunks with registration

2018-02-28 Thread Володимир Іванець
Thank you! On Feb 28, 2018 7:28 PM, "Daniel Tryba" wrote: > On Wed, Feb 28, 2018 at 01:50:20PM +0200, ?? > ?? wrote: > > - Is it possible to tell Kamailio which transport protocol to use other > > than by configuring auth_proxy column of uacreg table with domain name

Re: [SR-Users] kamailio does not start with db_mongdb and usrloc

2018-02-28 Thread Stephane
Hello Daniel, I tried with mongoc 1.8.0 (the trace I have sent) and also mongoc 1.9.2. The result is the same : a "failed to parse" with as indication "unrecognized field 'table_version'" when using mongo server version 3.6.2. Both mongoc versions are running fine with a mongo server version 3.0.

Re: [SR-Users] kamailio does not start with db_mongdb and usrloc

2018-02-28 Thread Daniel-Constantin Mierla
Hello, can you try with latest master branch or apply the patch from the next commit to your branch?   * https://github.com/kamailio/kamailio/commit/d50498cf483cd22ac4e62af5aaa86fc27654f640 If possible, test it with both mongo server versions and if works fine with both, then I am going to backp