[SR-Users] In failure_route after t_drop and t_relay - cancel problem

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 2 12:40:15 CET 2018


Hello,

did the last forwarded invite get any 1xx response?

Cheers,
Daniel


On 29.12.17 01:21, voipspace voipspace wrote:
> Hi
>  
> Relevent section of the config similiar to below.
>  
> Incoming invite is sent to a redirect server, 300 reply is sent back.
> failure_route catches the '300' applies t_drop_replies(); and creates
> a new invite
> to host NEW_ADDRESS.
>  
> The issue I am facing - at this point when a CANCEL is received a
> '200' is sent back to the requester however it does get notified to
> the current 
> invite which remains processing
>  
> ...
>  
> if (is_method("CANCEL")) {
>     if (t_check_trans()) {
>             t_relay();
>     }
>     exit;
>  
> ...
>  
> failure_route[FAIL]
> {
>     if (t_check_status("300")) {
>         t_drop_replies();
>         rewritehost(NEW_ADDRESS);
>         t_relay();
>      }
>  }
>  
>  
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180102/8e764311/attachment.html>


More information about the sr-users mailing list