Hello everyone. This is an other question from a relatively newbie. I'd like to provide auto callback ability for my *. From my mobile I want to be able to call a number on the * and have it call me back on my mobile. I know how to generate a .call file from a script and I know how to call a script from the dialplan (in order to get the .call file generated). I also found the scripts on www.voip-info.org on "callback voicemail" but what I want is not voicemail. I just want to talk to the * and use it's much lower rates! What I do not know is what to write in that call file so I'll get an IVR when I answer the phone, not Voicemail or an other channel. It seems that call files are designed to connect one channel to an other channel or one channel to an application. But I don't want to connect to an application like Voicemail, I want the system to behave as if I called the other way around and ended up into an arbitrary context. Thanks for any help, Cosmin Prund, Romania
On 3 Apr 2006, at 14:43, Cosmin Prund wrote:> Hello everyone. > > This is an other question from a relatively newbie. > > I'd like to provide auto callback ability for my *. From my mobile > I want to > be able to call a number on the * and have it call me back on my > mobile. I > know how to generate a .call file from a script and I know how to > call a > script from the dialplan (in order to get the .call file > generated). I also > found the scripts on www.voip-info.org on "callback voicemail" but > what I > want is not voicemail. I just want to talk to the * and use it's > much lower > rates! > > What I do not know is what to write in that call file so I'll get > an IVR > when I answer the phone, not Voicemail or an other channel. It > seems that > call files are designed to connect one channel to an other channel > or one > channel to an application. But I don't want to connect to an > application > like Voicemail, I want the system to behave as if I called the > other way > around and ended up into an arbitrary context.I think you can get what you want using the 'local' channel. I have a call file with: Channel: Local/60@default MaxRetries: 5 RetryTime: 300 WaitTime: 45 Context: serverdown Extension: s Priority: 1 which effectively 'bridges' 2 arbitrary parts of the dialplan: exten 60 in the default context and exten s in the serverdown context Hope that helps. Tim. Tim Panton tim@mexuar.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a script that I use for conference callbacks. Here, I go. In an email 5 minutes ago I criticize branching products and I'm giving a link to a hack of somebody elses work. :-( Anyway, here's the link to what I use. http://www.astpp.org/index.php?n=ASTERISK.Code Eric Wieling, if you want the changes I made you're more than welcome to them and the sound files also. :-) Darren Wiebe darren@aleph-com.net Cosmin Prund wrote:> Hello everyone. > > This is an other question from a relatively newbie. > > I'd like to provide auto callback ability for my *. From my mobile > I want to be able to call a number on the * and have it call me > back on my mobile. I know how to generate a .call file from a > script and I know how to call a script from the dialplan (in order > to get the .call file generated). I also found the scripts on > www.voip-info.org on "callback voicemail" but what I want is not > voicemail. I just want to talk to the * and use it's much lower > rates! > > What I do not know is what to write in that call file so I'll get > an IVR when I answer the phone, not Voicemail or an other channel. > It seems that call files are designed to connect one channel to an > other channel or one channel to an application. But I don't want to > connect to an application like Voicemail, I want the system to > behave as if I called the other way around and ended up into an > arbitrary context. > > Thanks for any help, Cosmin Prund, Romania > > > _______________________________________________ --Bandwidth and > Colocation provided by Easynews.com -- > > Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEMbZX4DADnh+tnOQRAoAZAJ95eBmdNrfQWRRjcUfimNsvykQiqgCePn8a Kb9MuDiZZQqJmGEcTv46Alw=iXQU -----END PGP SIGNATURE-----