[OpenSER-Users] How do I obtain or log the return code in a failure_route[]?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Sep 7 09:00:46 CEST 2007
Hi Juan,
see the following pseudo-variable ($T_reply_code):
http://www.openser.org/docs/modules/1.2.x/tm.html#AEN546
regards,
bogdan
Juan Carlos Castro y Castro wrote:
> I know I can test the SIP return code with an "if", but how do I log
> it, or, alternatively, pass it to a exec_dset() script? I tried
> something like
>
> log(1, "Failure Route, status is $status\n");
>
> And I get a "bad logargument" when I start openser. Clues?
>
> Juan
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list