[Users] checking route return codes
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Oct 3 16:56:35 CEST 2005
Hi Tavis,
try
route(20);
if (retcode==1) {
}
#or
if ($?==1) {
}
regards,
bogdan
Tavis P wrote:
>i'm having a hard time trying to figure out how i can check the return
>code on a route, below are some examples of what i've tried.
>
>
>route(20);
>if ($rc == 1)
>{
> exit;
>}
>
>and
>
>if (route(20) == 1)
>{
> exit;
>}
>
>
>both generate a "parse error (1469,15-17): syntax error" on startup
>
>tavis
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
More information about the Users
mailing list