Hi Stephen,
it is relativly easy: your config script contains errors in lines 131, 135 and
137.
Please check your script at the positions given in the error messages (line,
character). If you are not able to find the errors on your own, send your
config to us for review.
Regards
Nils
On Monday 27 October 2003 21:54, Stephen Miles wrote:
I have the nathelper module being loaded but am still
getting an error.
Here is my log, can you shed any light on this for me?
Oct 28 09:52:13 portal ser: loading module /usr/lib/ser/modules/sl.so
Oct 28 09:52:13 portal ser: loading module /usr/lib/ser/modules/tm.so
Oct 28 09:52:13 portal ser: loading module /usr/lib/ser/modules/rr.so
Oct 28 09:52:13 portal ser: loading module /usr/lib/ser/modules/maxfwd.so
Oct 28 09:52:13 portal ser: loading module /usr/lib/ser/modules/usrloc.so
Oct 28 09:52:13 portal ser: loading module
/usr/lib/ser/modules/registrar.so Oct 28 09:52:13 portal ser: loading
module /usr/lib/ser/modules/nathelper.so Oct 28 09:52:13 portal ser:
set_mod_param_regex: usrloc matches module usrloc
Oct 28 09:52:13 portal ser: set_mod_param_regex: found <db_mode> in
module usrloc [/usr/lib/ser/modules/usrloc.so]
Oct 28 09:52:13 portal ser: set_mod_param_regex: rr matches module rr
Oct 28 09:52:13 portal ser: set_mod_param_regex: found <enable_full_lr>
in module rr [/usr/lib/ser/modules/rr.so]
Oct 28 09:52:13 portal ser: find_export: found
<mf_process_maxfwd_header> in module maxfwd_module
[/usr/lib/ser/modules/maxfwd.so]
Oct 28 09:52:13 portal ser: find_export: found <sl_send_reply> in module
sl_module [/usr/lib/ser/modules/sl.so]
Oct 28 09:52:13 portal ser: find_export: found <sl_send_reply> in module
sl_module [/usr/lib/ser/modules/sl.so]
Oct 28 09:52:13 portal ser: find_export: found <record_route> in module
rr [/usr/lib/ser/modules/rr.so]
Oct 28 09:52:13 portal ser: find_export: found <loose_route> in module
rr [/usr/lib/ser/modules/rr.so]
Oct 28 09:52:13 portal ser: find_export: found <t_relay> in module tm
[/usr/lib/ser/modules/tm.so]
Oct 28 09:52:13 portal ser: find_export: found <sl_send_reply> in module
sl_module [/usr/lib/ser/modules/sl.so]
Oct 28 09:52:13 portal ser: find_export: found <save> in module
registrar [/usr/lib/ser/modules/registrar.so]
Oct 28 09:52:13 portal ser: find_export: found <record_route> in module
rr [/usr/lib/ser/modules/rr.so]
Oct 28 09:52:13 portal ser: find_export: <force_rtp_proxy> not found
Oct 28 09:52:13 portal ser: find_export: <force_rtp_proxy> not found
Oct 28 09:52:13 portal ser: parse error (131,32-33): unknown command,
missing loadmodule?
Oct 28 09:52:13 portal ser: find_export: found <t_on_reply> in module tm
[/usr/lib/ser/modules/tm.so]
Oct 28 09:52:13 portal ser: parse error (135,1-14): parse error
Oct 28 09:52:13 portal ser: parse error (135,1-14): bad command
Oct 28 09:52:13 portal ser: parse error (135,1-14): bad command
Oct 28 09:52:13 portal ser: parse error (135,14-15): bad command
Oct 28 09:52:13 portal ser: parse error (135,15-16): bad command
Oct 28 09:52:13 portal ser: parse error (135,16-17): bad command
Oct 28 09:52:13 portal ser: parse error (135,18-19): bad command
Oct 28 09:52:13 portal ser: find_export: <force_rtp_proxy> not found
Oct 28 09:52:13 portal ser: find_export: <force_rtp_proxy> not found
Oct 28 09:52:13 portal ser: parse error (137,32-33): unknown command,
missing loadmodule?
Oct 28 09:52:13 portal ser: DEBUG: tm_shutdown : start
Oct 28 09:52:13 portal ser: DEBUG: tm_shutdown : empting hash table
Oct 28 09:52:13 portal ser: DEBUG: tm_shutdown: releasing timers
Oct 28 09:52:13 portal ser: DEBUG: tm_shutdown : removing semaphores
Oct 28 09:52:13 portal ser: DEBUG: tm_shutdown : done
Oct 28 09:52:13 portal ser: shm_mem_destroy
Oct 28 09:52:13 portal ser: destroying the shared memory lock
Thanks,
Stephen
Andrei Pelinescu-Onciul wrote:
On Oct 24, 2003 at 15:26, Stephen Miles
<smiles(a)callplus.co.nz> wrote:
Hi all,
[...]
I am trying to get the rtpproxy working with ser
so that ALL rtp streams
go through the ser proxy and not from the off net phone directly to the
called phone. I have the rtpproxy and it runs fine (so far as I can
tell) but when trying to get ser to use it I keep getting an error in
the logs about loadmodule and unknown module, the error is: unknown
command, missing loadmodule?
This is being trigered by the line in the ser.cfg file force_rtp_proxy.
You must load the nathelper module (which implements force_rtp_proxy) -
add:
loadmodule "/usr/lib/ser/modules/nathelper.so"
to your ser.cfg.
Andrei
---------------------------------------------------------------------------
-------------------- This message and any attachments contain privileged and
confidential information. If you are not the intended recipient of this
message, you are hereby notified that any use, dissemination, distribution
or reproduction of this message is prohibited. If you have received this
message in error please notify the sender immediately via email and then
destroy this message and any attachments.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers