Try t_relay_to_udp !
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]On
Behalf Of Stephen James
Sent: 15 March 2004 15:54
To: serusers(a)lists.iptel.org
Subject: [Serusers] t_relay_to
I attempted to implement the code in the example for PSTN gateway where
after matching the enum in the user portion of the uri it uses t_relay_to.
When I
implement this I get unable to find t_relay_to in the startup of ser. It
find t_relay so I know that the tm module is loaded and exists, when I do nm
on the module I see the symbol t_relay_to in there as well???
# attempt handoff to PSTN
if (uri=~"^sip:9[0-9]*@.*") {
log("Forwarding to PSTN\n");
t_relay_to( "192.168.0.2", "5060");
break;
};
-------------------------------------------------------------------------------------------------------
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