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

Juha Heinanen jh at tutpro.com
Thu Aug 25 20:31:26 CEST 2005


Bogdan-Andrei Iancu writes:

 > 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.

if you can get access to the reply code that ser sends back to uac for
this transaction, then the test would simply become

if (reply_code_to_uac == 487) return 1 else return -1;

because 487 is not used for any other purpose than as reply to cancelled
transaction.

-- juha



More information about the Devel mailing list