Silviu Herchi
2005-Jan-13 09:15 UTC
[Asterisk-Users] How to present a dialtone to a dial-in user?
Hello, Here's what I'd like to do: call my Asterisk box from a phone, hangup after a few rings, then Asterisk calls me back and presents a dialtone, than I can dial any valid number in the context the call originated. I've done it with CAPI (thanks to the script on http://www.junghanns.net/asterisk/page14.html), I'd like to do it with H323. Problem is, how to present a dialtone to the user and wait him dialing? Thank you, Silviu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050113/d92c4e62/attachment.htm
Peter Svensson
2005-Jan-13 12:51 UTC
[Asterisk-Users] How to present a dialtone to a dial-in user?
On Thu, 13 Jan 2005, Silviu Herchi wrote:> Here's what I'd like to do: call my Asterisk box from a phone, hangup after > a few rings, then Asterisk calls me back and presents a dialtone, than I can > dial any valid number in the context the call originated. > > I've done it with CAPI (thanks to the script on > http://www.junghanns.net/asterisk/page14.html), I'd like to do it with H323. > Problem is, how to present a dialtone to the user and wait him dialing?Make an agi script that is run when called and which creates a call spool file. The spool file places a call back to the original caller and them dumps him in a context which runs the DISA application. Peter
Jim Van Meggelen
2005-Jan-13 19:43 UTC
[Asterisk-Users] How to present a dialtone to a dial-in user?
Is there a dialtone recording? I'm thinking : exten => s,1,background(dial-tone-recording) exten => s,2,goto(,s,1) I have not tested this, but I can't see why it wouldn't work. The only problem would be the lack of a timeout (and possibly a small challenge getting a recording of an appropriate dial tone). Or, you could have a recording that was the length you wanted before going to timeout. Just brainstorming here, so any reasonably civilized feedback is welcome. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Silviu Herchi Sent: January 13, 2005 11:16 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] How to present a dialtone to a dial-in user? Hello, Here?s what I?d like to do: call my Asterisk box from a phone, hangup after a few rings, then Asterisk calls me back and presents a dialtone, than I can dial any valid number in the context the call originated. I?ve done it with CAPI (thanks to the script on http://www.junghanns.net/asterisk/page14.html), I?d like to do it with H323. Problem is, how to present a dialtone to the user and wait him dialing? Thank you, Silviu -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/01/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050113/6136b048/attachment.htm