<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;">Thanks, but how does that extend the core functionality of Dial()? If Dial() can't do it, how does a wrapper do it?<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Steve Totaro &lt;stotaro@totarotechnologies.com&gt;<br>To: Asterisk Users Mailing List - Non-Commercial Discussion &lt;asterisk-users@lists.digium.com&gt;<br>Sent: Friday, July 11, 2008 4:29:50 PM<br>Subject: Re: [asterisk-users] Recharge Dial Limit....?<br><br>
On Fri, Jul 11, 2008 at 7:12 PM, Douglas Garstang &lt;<a ymailto="mailto:dougmig33@yahoo.com" href="mailto:dougmig33@yahoo.com">dougmig33@yahoo.com</a>&gt; wrote:<br>&gt; Here's an interesting challange.<br>&gt;<br>&gt; I need to implement a calling card application, where I call the Dial()<br>&gt; command and pass it (L)imit information. Nothing difficult about that.<br>&gt; Except it is a requirement that rather than ending the call when the limit<br>&gt; is reached, the user gets the option to recharge their account. Now, since<br>&gt; the dial() command will just end the call when the limit has been reached,<br>&gt; how could I possibly do this?<br>&gt;<br>&gt; The only way I can think of is to have another system send Asterisk a SIP<br>&gt; reinvite before the call ends, and direct the media somewhere else so that<br>&gt; we can drop into a new IVR and let them top off their account. A reinvite<br>&gt; would have to go to the remote party too, so
 that they could listen to music<br>&gt; on hold while the caller was topping off their account.<br>&gt;<br>&gt; It just occurred to me that this may not work. The (L)imit information<br>&gt; passed to the Dial application has not changed. The Dial() application would<br>&gt; still end the call.<br>&gt;<br>&gt; Ideas?<br>&gt;<br>&gt; Doug.<br><br>Use an AGI, dissect ASTCC or ASTPP AGIs, all the goodies you want are in there.<br><br>Thanks,<br>Steve T<br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
 target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></div></div><br>



      </body></html>