[TriLUG] Re: TriLUG Asterisk Routing Project
Kevin Otte
nivex at nivex.net
Mon Feb 20 12:30:40 EST 2006
On Mon, Feb 20, 2006 at 12:11:04PM -0500, Tanner Lovelace wrote:
> Please elaborate!
Well, it's just at the brainstorming phase right now, but I was considering
some sort of Asterisk Gateway Interface (AGI) script that would perform a
simple HTTP query to a central directory on the TriLUG server. The script
would receive a number, look up the number over the 'net, and receive a call
URL back.
The number space could be 4 or 5 digits, depending on how many users we
intend to put in this thing. Each individual Asterisk admin could then use
a prefix code of their choosing to denote a TriLUG "extension".
Example:
Bob decides he wants to call Tanner. Bob has chosen '5' to precede all
TriLUG calls. Tanner's three digit extension in the TriLUG directory is
'123'. Bob has a rule something like (this is all pseudocode):
exten => _5XXX,1,DoLookup(${EXTEN:1}) ; Strip the 5 off
exten => _5XXX,2,Dial(ResultOfLookup)
Bob dials '5123'. DoLookup would send '123' out to the directory, and get
back something like: IAX2/guest at pbx.wayfarer.org
The URL wouldn't even necessarily need to be a LUG member's PBX. One could
just as easily register their Gizmo account, or other service so long as it
can be reached with a valid Asterisk call URL.
Scripts could then be written to do web lookups, and even supply some IP
phones that have directory capability.
There is a system called Enum that permits this sort of thing to be done on
a larger scale in DNS, but I think that this sort of smaller scale directory
is more fitting for an organization such as this.
--
Kevin Otte, N8VNR
nivex at nivex.net
http://www.nivex.net/
-=-
"Those who cannot remember the past are condemned to repeat it."
-- George Santayana
"It seems no one reads Santayana anymore."
-- Cdr. Susan Ivanova, Babylon 5
More information about the TriLUG
mailing list