[Devel] need a way to check if transaction has been cancelled

Klaus Darilion klaus.mailinglists at pernau.at
Thu Aug 25 20:12:26 CEST 2005

Bogdan-Andrei Iancu wrote:
> Hi Juha,
> Juha Heinanen wrote:
>> i have come to the conclusion that the easiest way to solve the
>> canceling problem that klaus reported is to have a function,
>> e.g. t_check_cancel(), that can be called in failure route and tells if
>> the transaction in question has been canceled by the uac.  

sounds simple and sufficient

> fair enough...I would say
> just looking at the reply codes (both UAS and UAC), not sure if you make 
> distinction between a cancelled call due caller or local 
> timeout......so, let's go for this option.

I'm not sure if I understand you correctly, but there is of course 
difference between local timeout and caller cancels:
- local timeout: failure route for voicemail, sequential forking ...
- caller cancels: no further handling


>> this way failure route would know to do nothing even if min reply code
>> from the branches would be something else than 487.
>> bogdan, is this function hard to implement?
> I will have to dig a little bit and come back with an answer.
> regards,
> bogdan
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel

More information about the Devel mailing list