New attempt : Trigger an action when B number answers the call Sorry I can not disable in my email :( Hello, I was trying to trigger an action (using AGI) when the recipient of a call (B number) answers his phone. (Actually the goal is to send a signal to an external server when the call starts ) I tried using M (macro call) in 'Dial' as follows : exten => 1008,n,Dial(SIP/1008||L(40000:10000:5000)M(macroSendCallStart^${UNIQUEID})) Then the macro calls the AGI : [macro-macroSendCallStart] exten => s,1,Verbose(macro-macroSendCallStart) exten => s,n,Verbose(UNIQUEID ${UNIQUEID} ) exten => s,n,Verbose(ARG1 ${ARG1} ) exten => s,n,AGI(myAGI.agi,2,${ARG1},${CALLERID(num)},001) The problem is that the macro is 'forked' (new UNIQUEID) and when it ends goes to _h_ extesion triggering unwanted actions.. Any idea about how to avoid going to _h_ extension when a macro ends? Any other idea about how to trigger an AGI call when B number answers? Regards, Sel