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;

};