Yea. I thought the same thing once I figured it out. The error is confusing but then it does make sense once you understand its looking for the 2 argument prototype.
Maybe an additional "wrong parameters?" at the end of the error message could help prevent misdirection debugging.
Thanks Daniel for helping!
Ryan BrindleySoftware Development OfficerStratics Networks, Inc.1.866.635.6918 x108
On Mon, May 19, 2014 at 4:51 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
On 05/19/2014 05:02 PM, Ryan Brindley wrote:Yeah, it's somewhat confusing. However, when you invoke a function according to a prototype that doesn't exist, the fixup functions will return an error in such a way as to produce a "function doesn't exist" message in the logs. It does exist, just not in the two-argument variety. :-)
Wow...I found the issue :-/
The example I gave in this thread was not a copy paste and I had
redis_cmd("name", "SET foo bar" "r"); (not the lack of the second comma).
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Please be kind to the English language:
http://www.entrepreneur.com/article/232906
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda