[Serusers] Relaying to PSTN

Dave Cotton dcotton at linuxautrement.com
Mon Aug 4 11:35:27 CEST 2003


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>




More information about the sr-users mailing list