[Serusers] Help about ser.cfg

尤良昌 lak0306y at mail.lges.chc.edu.tw
Sun Oct 31 15:26:17 CET 2004


Dear All:

Would you please check these lines if any bad config.
When I add these lines, I always got two errors. Thanks!

if ( search ( "From:.*sip:0944021[0-9][0-9][0-9]@" ) &&
  !( search ( "Call-ID:.*@prepaid.example.com" ) ) &&
  ( method=="INVITE" || method=="CANCEL" || method=="BYE" || method=="ACK" || method=="MESSAGE" ))
{
  log(1,"Prepaid-User");
  rewritehost("prepaid.example.com");
  forward(prepaid.example.com,5065);
  break;
};


Best Regards
laksman





More information about the sr-users mailing list