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

voipspace voipspace voipspace at yandex.com
Tue Jan 2 20:25:27 CET 2018


It was a misconfig on my end.
I rechecked I had record route and route(RELAY) in proper place.

It is fine now :)


02.01.2018, 11:40, "Daniel-Constantin Mierla" <miconda at gmail.com>:
> 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



More information about the sr-users mailing list