Hi Hamid,
If you catch the 408 reply in failure route and create a new branch (to
divert to another GW), there will be nothing sent back to UAC (caller)
to inform about this timeout event.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 10.02.2015 10:17, Hamid Hashmi wrote:
Hello,
On fr_ivr_timer timeout opensips1.11 sends CANCEL to Caller and I
handle the timout in failure route by 408 sip response. May I change
method CANCEL to some other response that can indicate a caller (UAC)
that call is now diverting to another gateway so that Caller can wait
more.
failure_route[1]{
.
.
.
if (t_check_status("408")) {
.
.
.
if ( t_local_replied("last") ) {
# timeout with replies received -> fr_inv_timer
xlog("L_NOTICE", "[$pr:$fU@$si:$sp]: Timeout
on RING timer for '$rm' from '$fu' to '$ru' after '$avp(5)' seconds \n");
route(failover);
}
}
.
.
.
}
Call failoverd to route[failover] but CANCELED due to fr_ivr_timer
timout because it send CANCEL to Caller.
Any solution ?
Regards
Hamid R. Hashmi
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users