Sebastian Kühner wrote:
This is working very good... if the user doesn't make a hangup.
If caller hangs up, the CANCEL hits SER and the call is cleanly terminated. SER however continues to failure_route after timeout of the initial INVITE... ser sends out a new INVITE message to another PSTN-Server... and the phone rings (with nobody in the line)
I think it's just a config error, and there shouldn't be the need for modifying the source.
I use
if(method == "INVITE" && t_check_status("408|500|503")) { ... next_gw(); ... }
in my failure route and don't have any problems with cancelled calls...
hth, Andy