Unfortunately, the transfer AMI events were introduced just in Asterisk13.
But, you can set the __TRANSFER_CONTEXT variable and probably the
__GOTO_ON_BLINDXFR (this one I never used) to control the transfer in
your own way.
Hello
thank you for your answer.
However this does not help me to know when a call is being transfered.
My question is simple : if A calls B, and then B tranfers (unattened or
attended) the call to C, how can I know this happens ?? I see it
happening on the CLI, but how can I "catch" this,
Well, once you've upgraded to a version of Asterisk which didn't
become "EOL - DO NOT USE - NO FIXES" (!) almost 2 years ago, then you
might be able use logging which was introduced 5 years ago in Asterisk
11. Although the "transfers" section in the info below says it "can be
a little tricky...".