[Serusers] Relaying to PSTN

Jiri Kuthan jiri at iptel.org
Mon Aug 4 12:38:41 CEST 2003


That's use of 8.10 doc for 8.11 code, I guess. Use t_relay_to_udp. -jiri

-jiri

At 11:35 AM 8/4/2003, Dave Cotton wrote:
>Using the howto
>
>8.2.        Relaying PSTN in ser.cfg
>The following is an extremely simple sample of how to relay a call from
>a SIP client to the PSTN
>
># attempt handoff to PSTN
>                
>if(uri=~"^sip:9[0-9]*@mydomain.com"){                             
>log("Forwarding to PSTN\n");
># The following line is not liked
>t_relay_to( "192.168.0.2", "5060"); 
>break;
>};
>
>gives:-
>
>Aug  4 11:25:51 Sheriff ser: parse error (124,28-29): unknown command,
>missing loadmodule?
>
>Am I missing a module?
>-- 
>Dave Cotton <dcotton at linuxautrement.com>
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers

--
Jiri Kuthan            http://iptel.org/~jiri/ 




More information about the sr-users mailing list