I see. Thanks for the info. However, adding a second parameter to the call
doesn't seem to help.
Here's the output of ser when I check for config errors. I assume many other
function signatures changed as well because sl_send_reply(), record_route(),
append_hf(), loose_route(), save(), lookup(), and t_relay() all fail now.
Anyhow, I changed my ser.cfg to this and still get the errors. Am I doing it
wrong?
if (!mf_process_maxfwd_header("10", "10")) {
Regards,
Paul
[root@sip01 parser]# ser -dddddddddd -c
0(11799) read 1313435580 from /dev/urandom
0(11799) seeding PRNG with 2410695156
0(11799) test random number 2025135263
0(11799) loading module /usr/local/lib/ser/modules/sl.so
0(11799) loading module /usr/local/lib/ser/modules/tm.so
0(11799) loading module /usr/local/lib/ser/modules/rr.so
0(11799) loading module /usr/local/lib/ser/modules/maxfwd.so
0(11799) loading module /usr/local/lib/ser/modules/usrloc.so
0(11799) loading module /usr/local/lib/ser/modules/registrar.so
0(11799) loading module /usr/local/lib/ser/modules/textops.so
0(11799) set_mod_param_regex: usrloc matches module usrloc
0(11799) set_mod_param_regex: found <db_mode> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]
0(11799) set_mod_param_regex: rr matches module rr
0(11799) set_mod_param_regex: found <enable_full_lr> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(11799) find_export: <mf_process_maxfwd_header("10> not found
0(11799) find_export: <mf_process_maxfwd_header("10> not found
0(11799) parse error (75,38-39): unknown command, missing loadmodule?
0(11799) find_export: <sl_send_reply("483> not found
0(11799) find_export: <sl_send_reply("483> not found
0(11799) parse error (76,22-23): unknown command, missing loadmodule?
0(11799) find_export: <sl_send_reply("513> not found
0(11799) find_export: <sl_send_reply("513> not found
0(11799) parse error (80,23-24): unknown command, missing loadmodule?
0(11799) find_export: <record_route()> not found
0(11799) find_export: <record_route()> not found
0(11799) parse error (88,32-33): unknown command, missing loadmodule?
0(11799) find_export: <loose_route()> not found
0(11799) find_export: <loose_route()> not found
0(11799) parse error (92,18-19): unknown command, missing loadmodule?
0(11799) find_export: <append_hf("P-hint: rr-enforced\r\n> not found
0(11799) find_export: <append_hf("P-hint: rr-enforced\r\n> not found
0(11799) parse error (94,19-20): unknown command, missing loadmodule?
0(11799) find_export: <append_hf("P-hint: outbound\r\n> not found
0(11799) find_export: <append_hf("P-hint: outbound\r\n> not found
0(11799) parse error (101,19-20): unknown command, missing loadmodule?
0(11799) find_export: <save("location> not found
0(11799) find_export: <save("location> not found
0(11799) parse error (119,11-12): unknown command, missing loadmodule?
0(11799) find_export: <lookup("aliases> not found
0(11799) find_export: <lookup("aliases> not found
0(11799) parse error (123,12-13): unknown command, missing loadmodule?
0(11799) find_export: <append_hf("P-hint: outbound alias\r\n> not found
0(11799) find_export: <append_hf("P-hint: outbound alias\r\n> not found
0(11799) parse error (125,20-21): unknown command, missing loadmodule?
0(11799) find_export: <lookup("location> not found
0(11799) find_export: <lookup("location> not found
0(11799) parse error (131,17-18): unknown command, missing loadmodule?
0(11799) find_export: <sl_send_reply("404> not found
0(11799) find_export: <sl_send_reply("404> not found
0(11799) parse error (132,24-25): unknown command, missing loadmodule?
0(11799) find_export: <append_hf("P-hint: usrloc applied\r\n> not found
0(11799) find_export: <append_hf("P-hint: usrloc applied\r\n> not found
0(11799) parse error (136,18-19): unknown command, missing loadmodule?
0(11799) find_export: <t_relay()> not found
0(11799) find_export: <t_relay()> not found
0(11799) parse error (144,15-16): unknown command, missing loadmodule?
0(11799) find_export: <sl_reply_error()> not found
0(11799) find_export: <sl_reply_error()> not found
0(11799) parse error (145,18-19): unknown command, missing loadmodule?
ERROR: bad config file (15 errors)
0(11799) DEBUG: tm_shutdown : start
0(11799) DEBUG: tm_shutdown : emptying hash table
0(11799) DEBUG: tm_shutdown : releasing timers
0(11799) DEBUG: tm_shutdown : removing semaphores
0(11799) DEBUG: tm_shutdown : destroying tmcb lists
0(11799) DEBUG: tm_shutdown : done
0(11799) shm_mem_destroy
--- Bogdan-Andrei IANCU <iancu(a)fokus.fraunhofer.de> wrote:
it's not broken, but the prototype of
mf_process_maxfwd_header() has
changed - it takes 2 params now: the first is the same (if absent, what
will be the initial value of MF hdr) and second is used of limiting the
MF value (if the received MF exceeds this value, it will be reduce to it).
bogdan
PS: right, the doc is not updated.
Java Rockx wrote:
Hello All.
I just updated by 0.8.99-dev7 to 0.8.99-dev9 and compiled it.
When I start ser I get
ser: parse error (75,34-35): unknown command, missing loadmodule?
Line 75 in my ser.cfg is this
if (!mf_process_maxfwd_header("10")) {
I have the maxfwd.so included in my loadmodule section. So this leads me to
believe that 0.8.99-dev9 is broken. Can anyone verify this?
Also, is there a way for me checkout 0.8.99-dev8 from berlios?
Regards,
Paul
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com