[Serusers] t_relay_to

Stephen James sjames_1958 at yahoo.com
Mon Mar 15 16:54:12 CET 2004


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;

};

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040315/182dace5/attachment.htm>


More information about the sr-users mailing list