[Serusers] t_relay_to

Stephen James sjames_1958 at yahoo.com
Mon Mar 15 17:36:39 CET 2004


Ok. that seems to work. But why? Do I need to place a t_relay_to_udp
and t_relay_to_tcp with logic.

-----Original Message-----
From: Alan Litster [mailto:alitster at telcoelectronics.co.uk] 
Sent: Monday, March 15, 2004 9:59 AM
To: Stephen James; SER Mailing List
Subject: RE: [Serusers] t_relay_to


Try t_relay_to_udp !

-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org]On
Behalf Of Stephen James
Sent: 15 March 2004 15:54
To: serusers at 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




More information about the sr-users mailing list