[Serusers] Help about ser.cfg
Marian Dumitru
marian.dumitru at voice-sistem.ro
Sun Oct 31 09:30:28 CET 2004
Hi,
if you use debug=9 and log_stderr=yes in config file, you will get more
information about the syntax errors - like precise line and position.
Best Regards,
Marian Dumitru
尤良昌 wrote:
> 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
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
--
Voice Sistem
http://www.voice-sistem.ro
More information about the sr-users
mailing list