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

2018-03-01 Thread Stephane
Thanks very much Daniel ! This is working now, with both mongo server versions. Kind regards, Stephane On 1 March 2018 at 14:31, Daniel-Constantin Mierla <mico...@gmail.com> wrote: > Hello, > > indeed, it was a similar case in another function. Can you fetch again > master a

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

2018-03-01 Thread Stephane
the query Kind regards, Stephane On 1 March 2018 at 12:58, Daniel-Constantin Mierla <mico...@gmail.com> wrote: > Hello, > > thanks for testing -- the new error was on matching returned columns, as > now they are stored in the projection field document. > > I just pushed a new

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

2018-03-01 Thread Stephane
22ac4e62af5aaa86fc27654f640 > > If possible, test it with both mongo server versions and if works fine > with both, then I am going to backport. > > Cheers, > Daniel > > On 28.02.18 18:49, Stephane wrote: > > Hello Daniel, > > I tried with mongoc 1.8.0 (the tra

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

2018-02-28 Thread Stephane
mongo server version 3.0.15. Kind regards, Stephane On 28 February 2018 at 15:25, Daniel-Constantin Mierla <mico...@gmail.com> wrote: > Hello, > > I see in the pcap that the returned error contains: > > Failed to parse: { find: "version", filter: { table_name: "

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

2018-02-27 Thread Stephane
Hello Daniel, You will find two pcap files in attachment. I am using the same mongoc library version in both cases. Let me know if you need more info. Kind regards, Stephane On 27 February 2018 at 09:01, Daniel-Constantin Mierla <mico...@gmail.com> wrote: > Hello, > > ca

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

2018-02-26 Thread Stephane
Hello, I made some additional tests. The problem is only present when kamailio is facing mongo release 3.2 (or higher). With mongo version 3.0 (or lower), the request sent by kamailio is different: it contains $query and $table_version elements and mongo accepts it. Kind regards, Stephane On 23

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

2018-02-23 Thread Stephane
: { clusterTime: Timestamp(1519379980, 1), signature: { hash: BinData(0, ), keyId: 0 } } }. Unrecognized field 'table_version'.code codeNameFailedToParseoperationTimeZ$clusterTimeXclusterTimeZsignature3hashkeyId Kind regards, Stephane On 23 February 2018

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

2018-02-22 Thread Stephane Focant
, keyId: 0 } } } numYields:0 reslen:531 locks:{} protocol:op_msg 0ms 2018-02-22T17:13:02.605+0100 I NETWORK [conn90] end connection 10.0.12.180:56320 (9 connections now open) I probably miss something: it is not clear to me why kamailio is not able to retrieve the value of table_version for the table_name location. Any idea would be very welcome ! I use mongo-c-driver 1.9.2 and mongodb 3.6 Thank you. Stephane ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users