See changes to tm module....
- t_relay_to has been replaced with t_relay_to_udp and t_relay_to_tcp
tm module: ---------- - t_reply_unsafe, used in former versions within reply_routes, is deprecated; now t_reply is used from any places in script - t_on_negative is renamed to t_on_failure -- the old name just caused too much confusion - FIFO t_uac used by some applications (like serweb) has been replaced with t_uac_dlg (which allows easier use by dialog- oriented applications, like click-to-dial) - if you wish to do forward to another destination from failure_route (reply_route formerly), you need to call t_relay or t_relay_to explicitely now - t_relay_to has been replaced with t_relay_to_udp and t_relay_to_tcp
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Alan Litster Sent: Thursday, February 12, 2004 11:28 AM To: SER Mailing List Subject: RE: [Serusers] Newbie help
Hi,
I too I'm not sure what the problem is with that but have found if you add "_udp" to the end it works.
t_relay_to_udp("192.168.1.11", "5060");
or "_tcp"
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of B. J. Bomar Sent: 12 February 2004 16:24 To: serusers@lists.iptel.org Subject: [Serusers] Newbie help
Hello all. I am trying to set up ser to act as a simple sip relay. I have found a couple of config files that I have tried, but none seem to load without errors. I narrowed it down to where they call t_relay_to, so I created the following test config.
loadmodule "/usr/lib/ser/modules/tm.so" route { t_relay_to("192.168.1.11", "5060"); }
It too fails to run, and this is the message I am seeing in syslog.
Feb 12 10:22:48 ratbert ser: parse error (3,44-45): unknown command, missing loadmodule?
I am totally stumped on this issue. Any help would be greatly appreciated.
Thanks,
B. J.
------------------------------------------------------------------------ ------------------------------- This email, and any files transmitted with it, is copyright and may contain confidential information. The contents are intended for the use of the addressee(s) only. Unauthorized use may be unlawful. If you receive this email by mistake, please advise sender immediately. The views of the author may not necessarily constitute the views of Telco Electronics Limited. Nothing in this mail shall bind Telco Electronics Limited in any contract or obligation.
Telco Electronics Limited 6-8 Oxford Court Brackley Northants NN13 7XY
Tel 07000 701999 Fax 07000 701777
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers