Using the h and DeadAGI

Home » Asterisk Users » Using the h and DeadAGI
Asterisk Users 1 Comment

Hi All;

Really I need to know why when using the “h” in the exten =>, then we use DeaAGI with it?

I am using vicidial and I see this line alot, so I need to know how it work (when it will be executed):

exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log–HVcauses–PRI—–NODEBUG—–${HANGUPCAUSE}—–${DIALSTATUS}—–${DIALEDTIME}—–${ANSWEREDTIME})

The question is:

When this line will be executed? After the channel will be hanged up or when?

And, why to use DeadAGI and not using AGI? Is it because of using the h which is related to hangup?

From the other side, I hope if someone who worked in vicidial who can advise me, why to use all this ling argument and not using only call_log? I mean, why to use “call_log–HVcauses–PRI—–NODEBUG—–${HANGUPCAUSE}—–${DIALSTATUS}—–${DIALEDTIME}—–${ANSWEREDTIME})” All of this, why?

Regards
Bilal

One thought on - Using the h and DeadAGI

  • This is weird. I entered ‘deadagi’ in Google’s search box and the first
    link was right on topic!

    I suspect a couple of minutes with your new best friend* will show the
    path to enlightenment.

    Ditto.

    Maybe a Vicidial mailing list would yield more ‘on target’ answers.

    *) Google.com