[asterisk-users] howto store local exchange prefixes ?

Barry L. Kline blkline at attglobal.net
Mon May 25 16:50:39 CDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sean darcy wrote:

> I've looked at the Berkeley DB. That works pretty well, if the exchanges 
> are all stored. But it looks like the exchanges have to be entered 1 by 
> 1 from the CLI. And can only be reviewed, corrected, or deleted from the 
> CLI. I haven't found any simple frontend for the DB.

I do this be writing a dialplan which adds those entries.  The first
entry checks to see if the DB has been initialized and if so, skips to
the lookup.  Otherwise it loads each into the database before the
lookup.  It's very easy to write a quick script to generate the dialplan
code.

Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFKGxKvCFu3bIiwtTARAuZLAJ4uZw/76Pefz9y1fdQRCS03qFGmOACfeR98
fD8binGxr+c9mMriW6GXjC0=
=ETQ2
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list