Re: OGo and Asterisk integration

John Helmuth <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.discuss.general
Message-ID <[email protected]>
At 09:21 AM 9/27/2004 -0700, John Helmuth wrote:
>At 02:40 AM 9/25/2004 +0200, Helge Hess wrote:
>
>
><A bunch of stuff I agree with, then...>
>
> > On Sep 24, 2004, at 17:10, John Helmuth wrote:
>>>So, at the least, Asterisk integration should be a CTI plug in that uses 
>>>whatever protocols Asterisk is using to to a 'dial out' on the logged in 
>>>user's phone when they click on the dial button.
>>
>>Yes, that would be a good starting point. So we need to have some 
>>research on that Asterisk protocol to connect two phones.
>
>I will be looking into this.

This is based on stuff from the voip-info.org wiki.

It looks like there's 2 simple ways to get Asterix to dial out.

    The first is to drop a text file detailing the call (a call file) into 
a spool directory.  The file contains information about the 2 ends of the 
call.   http://www.voip-info.org/wiki-Asterisk+auto-dial+out  This would 
work if we were running the Asterisk server on the same machine as 
opengroupware was running on... or if that machine had a web server with a 
cgi script running on it.

    The second is to use the "Manager API", which looks like a part of the 
standard Asterisk server which (when enabled) listens on a TCP port for 
commands to do stuff.  It's a simple text based protocol, which includes 
status information about the 
call.  http://www.voip-info.org/wiki-Asterisk+manager+dialout

There appear to be at least one scripts like that seem to be available: 
Perl: http://www.azxws.com/asterisk/

It would be pretty trivial to recreate this in your language of choice, 
including Objective-C.

The way that Asterisk indicates the source of the call looks to be a text 
string... and the other end point could be a simple phone number.

I need to look more into the way that the source of the call is indicated, 
but I thought I'd throw this out there.

Your point (in another post) about having the ip address associated somehow 
with the source of the call is right on... unless we are talking about 
mobile phones, (including analog portable handsets)... in that case, it 
should be associated with the user, NOT the ip address.

We should have room for both situations, perhaps as a default per user?

Should this discussion be moved to the developer list?

John Helmuth
Microdental Laboratories
[email protected]


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 9/10/2004
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.