Re: [asterisk-users] Using the h and DeadAGI

2012-03-08 Thread Steve Edwards

On Thu, 8 Mar 2012, bilal ghayyad wrote:

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


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


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


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


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


Ditto.

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?


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

*) Google.com

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Using the h and DeadAGI

2012-03-08 Thread bilal ghayyad
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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users