RE: [Asterisk-Users] answer on # key?
Except how do you know whether you had voicemail or a person on the other end? > -Original Message- > From: Leah Newmark [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 21, 2004 1:30 PM > To: [EMAIL PROTECTED] > Subject: Re: [Asterisk-Users] answer on # key? > > > What about using the S(x) command on Dial...after x seconds, > when your > cellphone's voicemail kicks in, hang up. > I'm not sure I understand why it makes a difference to you > whether you hit # > or *...using H is pretty simple, IMO. > > > > >[Asterisk-Users] answer on # key? > From: "Matthew Simpson" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > > > >I thought I read somewhere on the Wiki that one could give Dial() an > >argument that would first dial the extension, but not bridge > the connection > >until the called party hit the "#" key. It must have been > during one of > >those late night coding sessions because now I can't find > anything to do > >with that other than options to allow hangup of the call by > hitting "*". > > > >Does such an option exist? > > > >If not, is anyone using a Macro to do that? > > > >I have a system that attempts to do a Dial out to a cell > phone number > >with a > >15 second timer as a find me type of application. If the > cell phone is off > >or out of range, the 15 seconds of ring time isn't reached > and the caller > >gets connected to the cell phone's voicemail instead of the Asterisk > >voicemail like I want. Having the # to connect option would > fix this > >problem. > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/aster> isk-users > To > UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] answer on # key?
Title: [Asterisk-Users] answer on # key? Did you see the code I posted a day or two ago, it should do exactly what you want by running a macro before the calls are joined. However I tested it on Zap so I have no idea if it works between other mediums, please check it out and let me know. If you missed the posting, email me personally and I will hook you up with the code. Donny From: Marty Mastera [mailto:[EMAIL PROTECTED] On Behalf Of Marty Mastera Sent: Thursday, October 21, 2004 5:41 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] answer on # key? Matthew: That feature is referred to as Answer Supervision, and the dial flag is "c"...beware however, it only works when the outbound call is made via a Zap channel. I have the exact same need as you, however the call is made using either sip or iax, and currently answer supervision isn't an option. I posted to a bug report asking about making this feature channel type independant, but I don't think it's going anywhere yet. Marty From: [EMAIL PROTECTED] on behalf of Matthew Simpson Sent: Thu 10/21/2004 11:47 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] answer on # key? I thought I read somewhere on the Wiki that one could give Dial() an argument that would first dial the extension, but not bridge the connection until the called party hit the "#" key. It must have been during one of those late night coding sessions because now I can't find anything to do with that other than options to allow hangup of the call by hitting "*". Does such an option exist? If not, is anyone using a Macro to do that? I have a system that attempts to do a Dial out to a cell phone number with a 15 second timer as a find me type of application. If the cell phone is off or out of range, the 15 seconds of ring time isn't reached and the caller gets connected to the cell phone's voicemail instead of the Asterisk voicemail like I want. Having the # to connect option would fix this problem. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] answer on # key?
Marty Mastera wrote: Matthew: That feature is referred to as Answer Supervision, and the dial flag is "c"...beware however, it only works when the outbound call is made via a Zap channel. I have the exact same need as you, however the call is made using either sip or iax, and currently answer supervision isn't an option. I posted to a bug report asking about making this feature channel type independant, but I don't think it's going anywhere yet. Marty From: [EMAIL PROTECTED] on behalf of Matthew Simpson Sent: Thu 10/21/2004 11:47 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] answer on # key? I thought I read somewhere on the Wiki that one could give Dial() an argument that would first dial the extension, but not bridge the connection until the called party hit the "#" key. It must have been during one of those late night coding sessions because now I can't find anything to do with that other than options to allow hangup of the call by hitting "*". Does such an option exist? If not, is anyone using a Macro to do that? I have a system that attempts to do a Dial out to a cell phone number with a 15 second timer as a find me type of application. If the cell phone is off or out of range, the 15 seconds of ring time isn't reached and the caller gets connected to the cell phone's voicemail instead of the Asterisk voicemail like I want. Having the # to connect option would fix this problem. there is an 'ackcall' feature in chan_agent that TC added ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] answer on # key?
Matthew: That feature is referred to as Answer Supervision, and the dial flag is "c"...beware however, it only works when the outbound call is made via a Zap channel. I have the exact same need as you, however the call is made using either sip or iax, and currently answer supervision isn't an option. I posted to a bug report asking about making this feature channel type independant, but I don't think it's going anywhere yet. Marty From: [EMAIL PROTECTED] on behalf of Matthew Simpson Sent: Thu 10/21/2004 11:47 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] answer on # key? I thought I read somewhere on the Wiki that one could give Dial() an argument that would first dial the extension, but not bridge the connection until the called party hit the "#" key. It must have been during one of those late night coding sessions because now I can't find anything to do with that other than options to allow hangup of the call by hitting "*". Does such an option exist? If not, is anyone using a Macro to do that? I have a system that attempts to do a Dial out to a cell phone number with a 15 second timer as a find me type of application. If the cell phone is off or out of range, the 15 seconds of ring time isn't reached and the caller gets connected to the cell phone's voicemail instead of the Asterisk voicemail like I want. Having the # to connect option would fix this problem. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <>___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] answer on # key?
Oh, I think I see...you want to press # so that it will hangup and execute a transfer to the Asterisk voicemail? On Thursday 21 October 2004 02:30, you wrote: > What about using the S(x) command on Dial...after x seconds, when your > cellphone's voicemail kicks in, hang up. > I'm not sure I understand why it makes a difference to you whether you hit > # or *...using H is pretty simple, IMO. > > > > > >[Asterisk-Users] answer on # key? > > From: "Matthew Simpson" <[EMAIL PROTECTED]> > > >To: <[EMAIL PROTECTED]> > > > >I thought I read somewhere on the Wiki that one could give Dial() an > >argument that would first dial the extension, but not bridge the > > connection until the called party hit the "#" key. It must have been > > during one of those late night coding sessions because now I can't find > > anything to do with that other than options to allow hangup of the call > > by hitting "*". > > > >Does such an option exist? > > > >If not, is anyone using a Macro to do that? > > > >I have a system that attempts to do a Dial out to a cell phone number with > > a 15 second timer as a find me type of application. If the cell phone is > > off or out of range, the 15 seconds of ring time isn't reached and the > > caller gets connected to the cell phone's voicemail instead of the > > Asterisk voicemail like I want. Having the # to connect option would fix > > this problem. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] answer on # key?
I did this for a click to talk prototype application, hope this helps. There is no error checking in this "prototype" aka it will time out indefinitally on the menu until they hangup etc. It was just a proof of concept. Temp.agi called text2wave from festival and generated a wav file. Badly named, but this was hacked together in an afternoon. In macro-clicktotalk Read seems to require you play a file before input (or at least that's how I was able to get it working) hence the playing of beep, ideally all these messages would be recorded and not using TTS there for the message "you have a CTT call" would just be played in the read. Some of the options in the dial may not be required, I was playing around with this code somewhat trying to get it to transfer so it woudn't use up to zap channels while the call was active. The ideal solution is just to transfer, however then you have no ability to control both sides of the call. I wrote my own agi because calling Festival() was finicky and only seemed to work for me via the pri/zap and not sip?? This agi will work on unpatched festival as well. If you have any further questions, or want the code for temp.agi (should be named tts.agi) feel free to contact me off list if you choose to. Donny -- code -- [clicktotalk] exten=> s,1,Answer exten=> s,2,Wait(2) exten=> s,3,AGI,temp.agi|This is a call from the C T T service of exten=> s,4,AGI,temp.agi|To accept the call press 1 to refuse the call press 2. exten=> 1,1,AGI,temp.agi|Please wait while we make contact with an agent exten=> 1,2,AGI,temp.agi|You may expirence a short wait and a peroid of silence. Please remain on the line. exten=> 1,3,Goto(clicktotalk-agent,s,1) exten=> 2,1,AGI,temp.agi|Since you have indicated you do not wish to accept this call exten=> 2,2,AGI,temp.agi|your request will be canceled. exten=> 2,3,Hangup exten=> t,1,Goto(clicktotalk,s,1) [clicktotalk-agent] exten=> s,1,Dial(Zap/g1/82979022,30,tTmgM(clicktotalk)) exten=> s,2,Hangup [macro-clicktotalk] exten=> s,1,AGI,temp.agi|You have a CTT Call. Please press any key. exten=> s,2,Read(XInput,beep,1) exten=> s,3,Gotoif(${XInput}?10:20) exten=> s,10,Goto(Z,1) exten=> s,20,Goto(s,1) exten=> t,1,Goto(s,1) exten=> Z,1,AGI,temp.agi|The refrence number is 1 1 1 1. exten=> Z,2,AGI,temp.agi|We are now connecting you to the client. exten=> Z,3,Wait(5) -Original Message- From: Matthew Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 1:47 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] answer on # key? I thought I read somewhere on the Wiki that one could give Dial() an argument that would first dial the extension, but not bridge the connection until the called party hit the "#" key. It must have been during one of those late night coding sessions because now I can't find anything to do with that other than options to allow hangup of the call by hitting "*". Does such an option exist? If not, is anyone using a Macro to do that? I have a system that attempts to do a Dial out to a cell phone number with a 15 second timer as a find me type of application. If the cell phone is off or out of range, the 15 seconds of ring time isn't reached and the caller gets connected to the cell phone's voicemail instead of the Asterisk voicemail like I want. Having the # to connect option would fix this problem. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users