I am not able to restart ser if I put he code below in the ser.cfg to handoff calls to PSTN.
# attempt handoff to PSTN
if (uri=~"^sip:9[0-9]*@mydomain.com") {
log("Forwarding to PSTN\n");
t_relay_to( "192.168.0.2", "5060");
break;
};
Please help!!!! DISCLAIMER: The information in this message is confidential and is legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized.If receiving in error please accept our apologies and notify the sender immediately. You must also delete the original message from your machine. If you are not the intended recipient, any use, disclosure, copying, distribution or action taken in reliance of it, is prohibited and maybe unlawful.
just have a look at /var/log/messages u will find the line number where the error occurs
Olivier
-----Message d'origine----- De : serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] De la part de Colin Jordan Envoyé : jeudi 15 septembre 2005 12:33 À : serusers-request@lists.iptel.org Cc : serusers@lists.iptel.org Objet : [Serusers] Handoff to PSTN
I am not able to restart ser if I put he code below in the ser.cfg to handoff calls to PSTN.
# attempt handoff to PSTN
if (uri=~^sip:9[0-9]*@mydomain.com) {
log(Forwarding to PSTN\n);
t_relay_to( 192.168.0.2, 5060);
break;
};
Please help!!!!
DISCLAIMER: The information in this message is confidential and is legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized.If receiving in error please accept our apologies and notify the sender immediately. You must also delete the original message from your machine. If you are not the intended recipient, any use, disclosure, copying, distribution or action taken in reliance of it, is prohibited and maybe unlawful.