Hello everybody, I would like to implement "callback" function. When I call a person and his extension is busy I can press, for example, 5 and get a callback when his phone is not busy anymore. When I create a call file and copy it to spool call folder asterisk makes a call. One problem is that when extension is still busy my phone rings and I get busy tone of the person who I am trying to reach. Is there another way to do it ? Or do I need to check first if channel is free or still busy ? Can anybody give me some hints ? thx in advance.
Bartosz Jozwiak wrote:> Hello everybody, > > I would like to implement "callback" function. > When I call a person and his extension is busy I can press, for example, 5 > and get a callback when his phone is not busy anymore. > > When I create a call file and copy it to spool call folder > asterisk makes a call. One problem is that when extension is still busy > my phone rings and I get busy tone of the person who I am trying to reach. > > Is there another way to do it ? Or do I need to check first if channel > is free or > still busy ? Can anybody give me some hints ?Are you passing the Dial line in your .call file? Try building a context that has your logic in it, and directing the call file to it, after setting some appropriate parameters. You should be able to discern from Dial() why you can't get ahold of the other party. Once you do, test for that case as a part of your logic. If the case still exists, write a new .call file and exit. If the case no longer exists, connect to the original caller and be done. (Assuming you are not on the phone now, as well!) Seems like I read that you could date a .call file a little bit of time in the future and asterisk would wait to run it until then. This would be a way for you to buy some time between tries. If I'm just making this up, use cron to straighten it out. -- Andrew Thompson http://aktzero.com/ http://dev.asteriskdocs.org/
hi, is there anyway to implement "callback on busy" and "callback on no answer" on asterisk? has anybody done this before? thanks, Paradise Dove
use retrydial. in the cli type show application retrydial have fun. On Tue, 1 Mar 2005 22:17:35 +0330, Paradise Dove <pardove@gmail.com> wrote:> hi, > is there anyway to implement "callback on busy" and "callback on no answer" > on asterisk? has anybody done this before? > thanks, > Paradise Dove > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
C F wrote:> use retrydial. > in the cli type show application retrydial > have fun.This is only available in CVS-HEAD, not 1.0.x stable.
consider this scenario: A Calls B B transfers A to C C (is busy or does not answer) so B backs to A On Tue, 1 Mar 2005 14:25:33 -0500, C F <shmaltz@gmail.com> wrote:> use retrydial. > in the cli type show application retrydial > have fun. > > > On Tue, 1 Mar 2005 22:17:35 +0330, Paradise Dove <pardove@gmail.com> wrote: > > hi, > > is there anyway to implement "callback on busy" and "callback on no answer" > > on asterisk? has anybody done this before? > > thanks, > > Paradise Dove > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
consider this scenario: A Calls B B transfers A to C C (is busy or does not answer) so A backs to B On Tue, 1 Mar 2005 23:07:17 +0330, Paradise Dove <pardove@gmail.com> wrote:> consider this scenario: > A Calls B > B transfers A to C > C (is busy or does not answer) so B backs to A > > On Tue, 1 Mar 2005 14:25:33 -0500, C F <shmaltz@gmail.com> wrote: > > use retrydial. > > in the cli type show application retrydial > > have fun. > > > > > > On Tue, 1 Mar 2005 22:17:35 +0330, Paradise Dove <pardove@gmail.com> wrote: > > > hi, > > > is there anyway to implement "callback on busy" and "callback on no answer" > > > on asterisk? has anybody done this before? > > > thanks, > > > Paradise Dove > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > >
I was looking for a way to catch the zap busy return and do a redial. I would dial out on a zap channel. If the call is busy it would then hangup the zap channel and ask if I wanted to redial "press 1 to redial or hangup to quit". On the 1 it would hangup the extension redial the number and call back the extension after x number of tries. If the number still was busy then it plays a message that it was busy would I like to continue or quit. Thanks --John Hill -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details.
www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out Cheers, Giovanni Miano 2006/1/5, Hill, John <jhill@columbuscontainer.com>:> > > I was looking for a way to catch the zap busy return and do a redial. > > I would dial out on a zap channel. If the call is busy it would then > hangup > the zap channel and ask if I wanted to redial "press 1 to redial or hangup > to quit". > On the 1 it would hangup the extension redial the number and call back the > extension after x number of tries. If the number still was busy then it > plays a message that it was busy would I like to continue or quit. > > Thanks > > --John Hill > > > > > -- > This mail was scanned by AntiVir Milter. > This product is licensed for non-commercial use. > See www.antivir.de for details. > _______________________________________________ > --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 >-- Giovanni Miano -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060105/0abf764d/attachment.htm
I looked at this. I guess I will use dialstatus busy and create a .call file And see what happens. Thanks --john _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Giovanni Miano Sent: Thursday, January 05, 2006 4:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] callback on busy www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out Cheers, Giovanni Miano 2006/1/5, Hill, John < jhill@columbuscontainer.com>: I was looking for a way to catch the zap busy return and do a redial. I would dial out on a zap channel. If the call is busy it would then hangup the zap channel and ask if I wanted to redial "press 1 to redial or hangup to quit". On the 1 it would hangup the extension redial the number and call back the extension after x number of tries. If the number still was busy then it plays a message that it was busy would I like to continue or quit. Thanks --John Hill -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details. _______________________________________________ --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 -- Giovanni Miano -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details. -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060105/0158fc4e/attachment.htm