Hi, Let's say an office has 20 people with 20 extensions and they want to enter a code on their phone when they leave for lunch and a voice will tel lthe caller like: The person you are calling is out of the office and will return at 1 pm. Is this something that is possible? Many thanks, Christian
Christian wrote:> Hi, > Let's say an office has 20 people with 20 extensions and they want to > enter a code on their phone when they leave for lunch and a voice will > tel lthe caller like: > The person you are calling is out of the office and will return at 1 > pm. Is this something that is possible?Yes -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
> Let's say an office has 20 people with 20 extensions and they want to > enter a code on their phone when they leave for lunch and a voice will > tel lthe caller like: > The person you are calling is out of the office and will return at 1 pm. > Is this something that is possible?I'm tot shure if there is any documentation regarding this specific topic. For Realisation I would suggest three parts: - Define an "Pseudo-Number" to be dialed on going to / coming back from lunch - The dialplan for this numbers should be modifiyng the state and playing an appropriate message. - The general dialplan has to read the current stat for the dialled target and act corresponding to this. - To Store the state there are DB-like functions in asterisk - or you can write an AGI. Elmar
Hi Christian, Yes, it is possible. You will have to make your agi file for this.For example abc.pl. Use the following command in your agi file: my $DialedNo= $AGI->get_data("sound_filename", 3); where $DialedNo is any varaible, you can use any name. "sound_filename" is the name of the file you want to play. You will use the name of your sound file instead of "sound_filename". Make sure sound file should be in "gsm" format not in "wav" format. I hope, it will solve your problem. Feel free for more information. Thanks, Furqan Ahmed Software Engineer B.E. (Computer System), DBA Super Technologies Inc., Pensacola, Florida Http://www.SuperTec.com - Tommrow's Technology, Today. Http://www.SuperTec.com/solutions/ - VOIP Billing Solutions. Http://www.AsteriskSupport.com - Premium Asterisk Support & Development Services. ----- Original Message ----- From: "Christian" <christian08@gmail.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, December 18, 2005 6:35 AM Subject: [Asterisk-Users] Is this possible in Asterisk?> Hi, > Let's say an office has 20 people with 20 extensions and they want to > enter a code on their phone when they leave for lunch and a voice will tel > lthe caller like: > The person you are calling is out of the office and will return at 1 pm. > Is this something that is possible? > Many thanks, > Christian > _______________________________________________ > --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 >
Hi Christian, Yes, it is possible. You will have to make your agi file for this.For example abc.pl. Use the following command in your agi file: my $DialedNo= $AGI->get_data("sound_filename", 3); where $DialedNo is any varaible, you can use any name. "sound_filename" is the name of the file you want to play. You will use the name of your sound file instead of "sound_filename". Make sure sound file should be in "gsm" format not in "wav" format. I hope, it will solve your problem. Feel free for more information. Thanks, Furqan Ahmed Software Engineer B.E. (Computer System), DBA Super Technologies Inc., Pensacola, Florida Http://www.SuperTec.com - Tommrow's Technology, Today. Http://www.SuperTec.com/solutions/ - VOIP Billing Solutions. Http://www.AsteriskSupport.com - Premium Asterisk Support & Development Services. ----- Original Message ----- From: "Christian" <christian08@gmail.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, December 18, 2005 6:35 AM Subject: [Asterisk-Users] Is this possible in Asterisk?> Hi, > Let's say an office has 20 people with 20 extensions and they want to > enter a code on their phone when they leave for lunch and a voice will tel > lthe caller like: > The person you are calling is out of the office and will return at 1 pm. > Is this something that is possible? > Many thanks, > Christian > _______________________________________________ > --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 >