<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Vardan<br />
<br />
I have not use AEL so it is a bit hard to follow with the formatting the way it is but it looks like correct.<br />
Please note the "h" extension only appears to run if a call is connected so I do not know when the "CANCEL" would ever be set. <br />
There may be someone else who can speak to this. It also appears thet&nbsp;${DIALSTATUS}&nbsp;may not be set if the call is not allowed to time out&nbsp;or dialed. To me it would make sense to set the inital state of the&nbsp;${DIALSTATUS}&nbsp;to CANCEL and if nothing changes it that would stand, but I may be missing the point on this can anyone else speak to it?<br />
<br />
Bryant<br />
<br />
<span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "Vardan Harutyunyan" &lt;hvardan71@gmail.com&gt;<br />
<b>Sent</b>: Thursday, December 23, 2010 2:11 AM<br />
<b>To</b>: asterisk-users@lists.digium.com<br />
<b>Subject</b>: Re: [asterisk-users] DIALSTATUS on CANCEL</span><br />
<br />
I have make test in AEL.<br />
<br />
context fu {<br />
<br />
_000./userN =&gt; {<br />
Dial(SIP/${EXTEN:3}@Prov);<br />
Noop(${DIALSTATUS});<br />
};<br />
h =&gt; {<br />
Noop(${DIALSTATUS});<br />
};<br />
};<br />
<br />
And look CLI<br />
-- Executing [00018185402020@fu:1] NoOp("SIP/userN-b6317738", "") <br />
in new stack<br />
-- Executing [00018185402020@fo:2] Dial("SIP/user3-b6317738", <br />
"SIP/18185402020@Prov") in new stack<br />
-- Called 18185402020@Prov<br />
-- SIP/Prov-082a83b8 is making progress passing it to <br />
SIP/userN-b6317738<br />
== Spawn extension (fu, 00018185402020, 2) exited non-zero on <br />
'SIP/user3-b6317738'<br />
-- Executing [h@fu:1] NoOp("SIP/userN-b6317738", "CANCEL") in new stack<br />
<br />
I think, I am right<br />
<br />
-- <br />
Vardan Harutyunyan,<br />
Senior System Administrator<br />
<br />
Enterprise Incubator Foundation<br />
123 Hovsep Emin Street,<br />
Yerevan 0051, Republic of Armenia<br />
Tel: + 374 10 219735<br />
Fax: + 374 10 219777<br />
E-mail: info@eif.am<br />
www.eif-it.com<br />
<br />
Bryant Zimmerman wrote:<br />
&gt; The Dial Status is not set when accessing it from the h extension.<br />
&gt;<br />
&gt; Bryant<br />
&gt;<br />
&gt; ------------------------------------------------------------------------<br />
&gt; *From*: "Vardan Harutyunyan" &lt;hvardan71@gmail.com&gt;<br />
&gt; *Sent*: Wednesday, December 22, 2010 10:39 AM<br />
&gt; *To*: asterisk-users@lists.digium.com<br />
&gt; *Subject*: Re: [asterisk-users] DIALSTATUS on CANCEL<br />
&gt;<br />
&gt; Try to use h extension<br />
&gt;<br />
&gt; --<br />
&gt; Vardan Harutyunyan,<br />
&gt; Senior System Administrator<br />
&gt;<br />
&gt; Enterprise Incubator Foundation<br />
&gt; 123 Hovsep Emin Street,<br />
&gt; Yerevan 0051, Republic of Armenia<br />
&gt; Tel: + 374 10 219735<br />
&gt; Fax: + 374 10 219777<br />
&gt; E-mail: info@eif.am<br />
&gt; www.eif-it.com<br />
&gt;<br />
&gt; Michael wrote:<br />
&gt;&gt; Hi Nikhil,<br />
&gt;&gt;<br />
&gt;&gt; Both debug and verbose are set to 20. That's all I got, but as you can<br />
&gt;&gt; see, for the other types of reasons, the DIALSTATUS got a value (and we<br />
&gt;&gt; see the events). I'm pretty sure it's a bug.<br />
&gt;&gt;<br />
&gt;&gt; Michael<br />
&gt;&gt;<br />
&gt;&gt; On Wed, Dec 22, 2010 at 9:01 AM, Nikhil &lt;d.nikhil@cem-solutions.net<br />
&gt;&gt; &lt;mailto:d.nikhil@cem-solutions.net&gt;&gt; wrote:<br />
&gt;&gt;<br />
&gt;&gt; Hi<br />
&gt;&gt; Enable debug level to more than 1 ,you may get something.<br />
&gt;&gt;<br />
&gt;&gt; Thanks<br />
&gt;&gt; Nikhil<br />
&gt;&gt;<br />
&gt;&gt; On 12/22/2010 11:26 AM, Michael wrote:<br />
&gt;&gt;<br />
&gt;&gt; Spawn extension (incoming-private, 11111111, 3) exited non-zero<br />
&gt;&gt; on 'SIP/Proxy-00000031'<br />
&gt;&gt;<br />
&gt;&gt;<br />
&gt;&gt;<br />
&gt;&gt;<br />
&gt;&gt; --<br />
&gt;&gt; _____________________________________________________________________<br />
&gt;&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
&gt;&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
&gt;&gt; http://www.asterisk.org/hello<br />
&gt;&gt;<br />
&gt;&gt; asterisk-users mailing list<br />
&gt;&gt; To UNSUBSCRIBE or update options visit:<br />
&gt;&gt; http://lists.digium.com/mailman/listinfo/asterisk-users<br />
&gt;<br />
&gt;<br />
&gt; --<br />
&gt; _____________________________________________________________________<br />
&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
&gt; http://www.asterisk.org/hello<br />
&gt;<br />
&gt; asterisk-users mailing list<br />
&gt; To UNSUBSCRIBE or update options visit:<br />
&gt; http://lists.digium.com/mailman/listinfo/asterisk-users<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt; --<br />
&gt; _____________________________________________________________________<br />
&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
&gt; http://www.asterisk.org/hello<br />
&gt;<br />
&gt; asterisk-users mailing list<br />
&gt; To UNSUBSCRIBE or update options visit:<br />
&gt; http://lists.digium.com/mailman/listinfo/asterisk-users<br />
<br />
<br />
--<br />
_____________________________________________________________________<br />
-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
http://www.asterisk.org/hello<br />
<br />
asterisk-users mailing list<br />
To UNSUBSCRIBE or update options visit:<br />
http://lists.digium.com/mailman/listinfo/asterisk-users<br />
<br /></span>