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(a)linuxautrement.com>