Re: [SR-Users] CDR fields are all strings

2015-04-14 Thread Daniel-Constantin Mierla
Mickael > > > > *From:*Mickael Marrache [mailto:mickaelmarra...@gmail.com] > *Sent:* Monday, April 13, 2015 5:13 PM > *To:* mico...@gmail.com; 'Kamailio (SER) - Users Mailing List' > *Subject:* RE: [SR-Users] CDR fields are all strings > > > > We are using MongoDB and a

Re: [SR-Users] CDR fields are all strings

2015-04-14 Thread Mickael Marrache
2015 3:03 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] CDR fields are all strings Hello, On 13/04/15 11:48, Mickael Marrache wrote: Hi, Why are all the CDR fields inserted as strings? For extra fields, I can understand it is easier to implement. However, for th

Re: [SR-Users] CDR fields are all strings

2015-04-13 Thread Mickael Marrache
List Subject: Re: [SR-Users] CDR fields are all strings Hello, On 13/04/15 11:48, Mickael Marrache wrote: Hi, Why are all the CDR fields inserted as strings? For extra fields, I can understand it is easier to implement. However, for the built in fields (e.g. duration), we need to

Re: [SR-Users] CDR fields are all strings

2015-04-13 Thread Daniel-Constantin Mierla
Hello, On 13/04/15 11:48, Mickael Marrache wrote: > > Hi, > > > > Why are all the CDR fields inserted as strings? > > > > For extra fields, I can understand it is easier to implement. However, > for the built in fields (e.g. duration), we need to perform queries > based on duration and time a

[SR-Users] CDR fields are all strings

2015-04-13 Thread Mickael Marrache
Hi, Why are all the CDR fields inserted as strings? For extra fields, I can understand it is easier to implement. However, for the built in fields (e.g. duration), we need to perform queries based on duration and time and it is not really possible using strings. I see that the time fiel