Hi Ivan,
please see the documentation:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+19+Application_Dial
- G( context^exten^*priority* ) - If the call is answered, transfer the
calling party to the specified *priority* and the called party to the
specified *priority* plus one.
NOTE: You cannot use any additional action post answer options in
conjunction with this option.
- context
- exten
- *priority*
G - should be solved your problem
On Tue, 30 Nov 2021 at 17:19, Ivan Bolognani <bolognani at asistar.it>
wrote:
> Hello to the whole list.
>
> i need help i can't solve the problem.
>
> I need to be able to track in a log file when a user answers the phone.
>
> I want to get a log composed as follows:
> calling number:
> number called:
> extension that answered the call.
>
> now i can log in when i get the call
> calling number
> number called
>
> I cannot know when a person is answering an extension number. (100 - 101 -
> 102 ....)
>
> this can be found using extensions.conf
>
>
>
> Many tanks
> Ivan Bolognani
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
> https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Pozdrawiam,
Łukasz Grzywański
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20211130/85b18df7/attachment.html>