Hi,

I noticed that our voiptests suite fails in the last few days with
opensips/master. The culprit seems to be mf_process_maxfwd_header(), looks
like some semantics has changed:

Error code seen:

Apr 16 13:59:27 [22582] INFO:textops:mod_init: initializing...
Apr 16 13:59:27 [22582] ERROR:core:fix_cmd: Param [1] expected to be an
integer or variable
Apr 16 13:59:27 [22582] ERROR:core:fix_actions: Failed to fix command
<mf_process_maxfwd_header>
Apr 16 13:59:27 [22582] ERROR:core:fix_actions: fixing failed (code=-6) at
opensips.cfg:24
Apr 16 13:59:27 [22582] CRITICAL:core:fix_expr: fix_actions error
Apr 16 13:59:27 [22582] ERROR:core:main: failed to fix configuration with
err code -6
Apr 16 13:59:27 [22582] INFO:core:cleanup: cleanup
Apr 16 13:59:27 [22582] NOTICE:core:main: Exiting....

Configuration file in question:

    20 route {
    21     xlog("OpenSIPS received a request $rm from $si\n");
    22     ## initial sanity checks -- messages with
    23     ## max_forwards==0, or excessively long requests
    24     if (!mf_process_maxfwd_header("10")) {
    25         sl_send_reply("483","Too Many Hops");
    26         exit;
    27     };

Full log can be seen here:

https://travis-ci.org/sippy/voiptests/jobs/520516533

Thanks and sorry if it's a false positive.

-Max
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to