[Serusers] t_relay_to

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Mon Mar 15 16:57:30 CET 2004


Hi,

try t_relay_to_udp("192.168.0.2", "5060")

Bogdan

Stephen James wrote:

> 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;
>
> };
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>




More information about the sr-users mailing list