I have a problem CANCELING requests when using t_on_failure. Example:
I forward the call to the PSTN gateway. Then I CANCEL the request. I am using a second PSTN gateway for backup and I call the function t_on_failure before t_relay:
t_on_failure("2"); if (!t_relay()) { sl_reply_error(); };
As a result of the CANCEL request, a 487 code is received and t_on_failure redirects the requests to the second PSTN gateway. This is not what I expect after sending a CANCEL. The manual says all responses
300 are considered failures but an intended CANCEL is not a failure,
is it?
Do I miss something in the configuration to stop this from happening?
Regards, Adrian Georgescu ag@ag-projects.com http://ag-projects.com Tel: +31-23-5458104 IP phone: sip:ag@ag-projects.com ------------------------------------------------ DNS, ENUM & IP telephony http://managed-dns.org/