Logger When Answer Call

Home » Asterisk Users » Logger When Answer Call
Asterisk Users 1 Comment

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

One thought on - Logger When Answer Call

  • 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