Nate Clifford
2003-Oct-13 13:11 UTC
[Asterisk-Users] ACD/IVR dialogs/SIP/client environment
Ok I have tried to post to this list server but have just gotten the automated reply saying the moderator has to approve it to the list first which was my mistake for sending from the wrong email account. So if the moderator finally approves my questions and you see the same post again "Sorry". My situation is this: I havn't installed Asterisk yet but am curious the general way you would go about doing an ACD to A SIP client and causing an application to pop on the client side. I had thought that the way to do that would be to trigger two different events from inside an IVR on the Asterisk server. Is that possible? Can you send the call into a dialog/code that will determine the client via the DID/DNIS and then call and pass variable to an application that will communicate over the network with the clients app and then load a web page. Then the next part of the dialog/code would initiate the SIP session with the clients station? Any answers or replies to help distill this question would help. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031013/e5f56c72/attachment.htm
Nate Clifford
2003-Oct-14 07:29 UTC
[Asterisk-Users] ACD/IVR dialogs/SIP/client environment
So does "SET EXTENSION <new extension>" allow for you to set which extension the rest of the call will occur over? So a call comes into the switch and I could make the AGI script check the DID or DNIS which is really in the variable agi_dnid? After that I can do a database lookup from the script and then issue the "SET EXTENSION" command to asterisk to allocate the call to the right extension if available? I had to go to http://home.cogeco.ca /~camstuff/agi.html For the AGI command descriptions. Is there a better/more up to date site? -----Original Message----- From: Andrew Joakimsen [mailto:andrew@envisionstudio.net] Sent: Monday, October 13, 2003 3:22 PM To: asteriskNEWS@devminer.com Subject: RE: [Asterisk-Users] ACD/IVR dialogs/SIP/client environment Have you looked into using AGI? You can use any language you like (C++, PERL, PHP, even bash shell scripts) But I would look into the Asterisk::AGI perl module: http://asterisk.gnuinter.net/ because it can already interface with Asterisk and pass the variables onto your script. I actually haven't found much information regarding AGI in other languages, so this would be your best bet. It should be very easy to implement if you already have the application that can accept input with the callers number and do its stuff. Regards, Andrew Joakimsen Envision Studio http://envisionstudio.net 888-210-8063 -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Nate Clifford Sent: Monday, October 13, 2003 4:11 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] ACD/IVR dialogs/SIP/client environment Ok I have tried to post to this list server but have just gotten the automated reply saying the moderator has to approve it to the list first which was my mistake for sending from the wrong email account. So if the moderator finally approves my questions and you see the same post again "Sorry". My situation is this: I havn't installed Asterisk yet but am curious the general way you would go about doing an ACD to A SIP client and causing an application to pop on the client side. I had thought that the way to do that would be to trigger two different events from inside an IVR on the Asterisk server. Is that possible? Can you send the call into a dialog/code that will determine the client via the DID/DNIS and then call and pass variable to an application that will communicate over the network with the clients app and then load a web page. Then the next part of the dialog/code would initiate the SIP session with the clients station? Any answers or replies to help distill this question would help. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031014/b2f0283c/attachment.htm