How to reset call answer time

Hi all,

Here is the scenario,

(1) For my ISD dialing. I am dialing a access number using my PRI line (E1). and then sending actual number over called channel. after this access number server connect the call to actual number. It is working fine. but issue is with call answer time.

Asterisk is taking call answer time number when access number is answering the call but I need when access number connects call to actual number in call answer time. is there any way to do it. How to find the call answer time?

I am using it like this

exten = _00X.,1,Dial(DAHDI/g0/1802207,50,D(${EXTEN})
exten = _00X.,n,hangup

Thanks in Advance.

Probably not, because you will be getting answer supervision (if you get it at all) after the initial digit sequence.

Hi Devid Thanks for Reply,

When I am using macro with this

exten = _00X.,1,Dial(DAHDI/g0/1802207,50,D($EXTEN}M(talktest))

exten = s,1,noop

Here When I put D() and M() in any oreder, It always run M( ) first and D() latter. Is there any way to run D() first and then M().

Send the DTMF from the macro (or preferably use a sub-routine). The order of processing of the options is fixed by the source code.

You can also use G and Bridge, to do funny things between answer and bridge.