<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 <stotaro@totarotechnologies.com><br>To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><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 <<a ymailto="mailto:dougmig33@yahoo.com" href="mailto:dougmig33@yahoo.com">dougmig33@yahoo.com</a>> wrote:<br>> Here's an interesting challange.<br>><br>> I need to implement a calling card application, where I call the Dial()<br>> command and pass it (L)imit information. Nothing difficult about that.<br>> Except it is a requirement that rather than ending the call when the limit<br>> is reached, the user gets the option to recharge their account. Now, since<br>> the dial() command will just end the call when the limit has been reached,<br>> how could I possibly do this?<br>><br>> The only way I can think of is to have another system send Asterisk a SIP<br>> reinvite before the call ends, and direct the media somewhere else so that<br>> we can drop into a new IVR and let them top off their account. A reinvite<br>> would have to go to the remote party too, so
that they could listen to music<br>> on hold while the caller was topping off their account.<br>><br>> It just occurred to me that this may not work. The (L)imit information<br>> passed to the Dial application has not changed. The Dial() application would<br>> still end the call.<br>><br>> Ideas?<br>><br>> 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> <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>