Daniel Varella wrote:
> Hi everybody,
>
> Happy New Year !
>
> I'm trying to detect if a call was answered by a machine (linke
> voicemail systems) or a human.
> I would like to use AMD (Answering Machine Detect) command, but
> with my configuration it was not possible get there.
>
> Follow my dialplan:
>
> exten => _[789].,1,NoCDR
> exten => _[789].,n,Dial(SIP/${ext...@111,60)
> exten => _[789].,n,AMD
> exten => _[789].,n,NoOp(AMD Status is: ${AMDSTATUS})
> exten => _[789].,n,Hangup
>
> What is happening is when the call is answered by the other part,
> Asterisk doesn't go to the next level (exten => _[789].,n,AMD). So AMD
> can't verify the call.
>
> How can I do this ? Any idea ?
>
> Thanks in advance.
>
The Dial app will not exit until the call is completed (one or both
parties hang up). You need to put what you want to happen during the
call in a macro and then call the macro with the M() option to Dial (see
the Dial app help text).
-Dave
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users