Hi, has someone ever got their hands on the Comm Badges from Vocera ( http://www.vocera.com/ ) and knows if they use anything standard and could work with asterisk, or does someone know an alternative to their really small, light devices? Regards, Andreas _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100723/e4a0c421/attachment.htm
I've seen them at trade shows, I think I remember it being proprietary. What about using Dect handsets? Regards, Dean Collins Cognation Inc dean at cognation.net <mailto:dean at cognation.net> +1-212-203-4357 New York +61-2-9016-5642 (Sydney in-dial). +44-20-3129-6001 (London in-dial). ________________________________ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andreas Anderson Sent: Friday, 23 July 2010 7:23 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Vocera Comm Badges Hi, has someone ever got their hands on the Comm Badges from Vocera ( http://www.vocera.com/ ) and knows if they use anything standard and could work with asterisk, or does someone know an alternative to their really small, light devices? Regards, Andreas ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100723/6f9c40fe/attachment.htm
Steve Edwards
2010-Jul-25 15:59 UTC
[asterisk-users] Passing parameter from executable program to asterisk dialplan
On Sun, 25 Jul 2010, Muro, Sam wrote:> I am having a problem understanding the way to retrieve some parameters > to asterisk via AGI or what ever method that fits. I have an executable > program that accept one parameter (CALLERID) and return customer status > from the database server which can be printed in the console. > > #./retrive 0117473789 > NAME: Franklin John > STATUS: Active > > Can someone advice on how i can catch this values from AGI or directly > on dialplan.AGI is a protocol used to interact with Asterisk. An AGI is a separate process created by Asterisk when you execute "agi()" in the dialplan.
Muro, Sam
2010-Jul-25 16:18 UTC
[asterisk-users] Passing parameter from executable program to asterisk dialplan
Steve Edwards wrote:> On Sun, 25 Jul 2010, Muro, Sam wrote: > >> I am having a problem understanding the way to retrieve some parameters >> to asterisk via AGI or what ever method that fits. I have an executable >> program that accept one parameter (CALLERID) and return customer status >> from the database server which can be printed in the console. >> >> #./retrive 0117473789 >> NAME: Franklin John >> STATUS: Active >> >> Can someone advice on how i can catch this values from AGI or directly >> on dialplan. > > AGI is a protocol used to interact with Asterisk. An AGI is a separate > process created by Asterisk when you execute "agi()" in the dialplan. > > From best to worst... > > 1) You could recode your retrieve application so it uses the AGI protocol. > Then, you could set channel variables to make these values accessible to > the rest of your dialplan. > > 2) You could cobble up an AGI to execute your retrieve application using a > "pipe" ("popen()" in c), parse the output and set channel variables. > > 3) You could cobble up something to execute your retrieve application, > redirecting the output to a file and then use the FILE function read the > text file and then parse the output using dialplan functions. > > -- > Thanks in advance, > ------------------------------------------------------------------------- > Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST > Newline Fax: +1-760-731-3000 > > --Thanks Steve Option one and two looks more ideal. Let stick on option one, the program is written in C++ (Actually is a corba interface). I have tried looking on how to write AGI script using C++ in vain. I am used to perl/php for scripting.. Can you post a snippet of c++ agi script. Sam