7 sep 2012 kl. 10:40 skrev Daniel-Constantin Mierla <miconda(a)gmail.com>om>:
Hello,
On 9/6/12 1:59 PM, Olle E. Johansson wrote:
http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables#error_class
When are the $err.info et al useful?
I can't seem to trigger any value into them, regardless of damage I cause my poor
Kamailio.
newer versions are self-healing :-)
Actually those PVs were set by the parsed in older versions (<1.5) when triggering the
error_route. But that mechanism was replaced by the sanity module, which can be better
controlled from config file. I guess the plan was to set these variables inside sanity
module, to give more details about what was wrong with parsing -- but didn't happen so
far, probably they return just null.
OK.
So if I get an error and use sl_reply_error - how can I log the error code sent? Is it
possible to reach it?
/O