Re: [SR-Users] getting unexpected values from htable

2010-10-15 Thread Juha Heinanen
Javier Gallart writes: > thanksI think It's working now; I had defined the key_type and > value_type columns as char; I've changed them to integer and now it's > showing the correct values. it is not a good idea to create tables by hand. use the script that is provided. -- juha ___

Re: [SR-Users] getting unexpected values from htable

2010-10-15 Thread Javier Gallart
Hello thanksI think It's working now; I had defined the key_type and value_type columns as char; I've changed them to integer and now it's showing the correct values. Regards Javi On Fri, Oct 15, 2010 at 12:32 PM, Elena-Ramona Modroiu wrote: > Hi, > > > On 10/14/2010 04:26 PM, Javier Gall

Re: [SR-Users] getting unexpected values from htable

2010-10-15 Thread Elena-Ramona Modroiu
Hi, On 10/14/2010 04:26 PM, Javier Gallart wrote: Hi all I'm testing the htable module at Kamailio 3.1. Currently it's an extremely simple table with a single row loaded from a postgres DB. These are the relevant lines in the configuration file: modparam("htable", "db_url", "postgres://user

[SR-Users] getting unexpected values from htable

2010-10-14 Thread Javier Gallart
Hi all I'm testing the htable module at Kamailio 3.1. Currently it's an extremely simple table with a single row loaded from a postgres DB. These are the relevant lines in the configuration file: modparam("htable", "db_url", "postgres://user:passw...@localhost :5432/database") modparam("htable",