<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><div>Hello. I'm presently running off of trunk:&nbsp;Server:: OpenSIPS (1.10.0dev-notls (x86_64/linux))</div><div><br></div><div style="background-color: transparent; ">I've got the couchbase module loaded and have the couchbase bucket set to listen on a specific port with no authentication. I am attempting to use cache_fetch to test queries to the database. However, I think there are still some bugs in this module. I'm only doing something very basic for testing as illustrated below. I'm using one AVP as a key to get a value from couchbase and shove it in a second AVP, if this succeeds, I'm simply logging a message for now. It looks like there may be a bug as the key does exist, additionally it looks like there's some sloppy logging as I'm performing a GET and the second log is complaining about STORING a Key. Any
 insight/help on this would be appreciated, i'm interested to be involved with couchbase testing / feedback.</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; ">/// Config Snips ///</div><div style="background-color: transparent; "><br></div><div></div><div style="background-color: transparent; ">#### COUCHBASE module</div><div style="background-color: transparent; ">loadmodule "cachedb_couchbase.so"</div><div style="background-color: transparent; ">modparam("cachedb_couchbase", "cachedb_url","couchbase:bucket://10.1.2.2:6369/")</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; "></div><div style="background-color: transparent; ">$avp(test1) = '';</div><div style="background-color: transparent; ">$avp(test2) = ''</div><div></div><div style="background-color: transparent; "><br></div><div></div><div style="background-color: transparent; ">if
 (!cache_fetch("couchbase:bucket","$avp(test1)",$avp(test2))) {</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xlog("L_INFO", "NOTHING FOUND IN COUCHBASE FOR KEY: $avp(test1)\n");</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; ">&nbsp; &nbsp; &nbsp; &nbsp; } else {</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xlog("L_INFO", "VALUE: $avp(test2) FOUND IN COUCHBASE\n");</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; ">&nbsp; &nbsp; &nbsp; &nbsp; }</div><div style="background-color: transparent; "><br></div><div style="background-color: transparent; ">/// Debug Log Output Level 3 ///</div><div style="background-color:
 transparent; "><br></div><div></div><div style="background-color: transparent; ">Jan 30 21:34:19 osipscbdev /usr/local/sbin/opensips[22357]: ERROR:cachedb_couchbase:couchbase_get_cb: Failure to get 123456</div><div><span style="background-color: transparent; ">Jan 30 21:34:19 osipscbdev /usr/local/sbin/opensips[22357]:&nbsp;</span><span style="background-color: rgb(255, 255, 0); ">ERROR:cachedb_couchbase:couchbase_get: Failed to store the key</span></div><div style="background-color: transparent; ">Jan 30 21:34:19 osipscbdev /usr/local/sbin/opensips[22357]: NOTHING FOUND IN COUCHBASE FOR KEY: 123456</div><div></div><div></div><div></div></div></div></body></html>