[Asterisk-Dev] Wanted: ast_category_merge

Leif Madsen - Independent Asterisk Consultant asterisk.leif.madsen at gmail.com
Fri Feb 18 16:23:01 MST 2005


On Fri, 18 Feb 2005 17:20:36 -0600, Matthew Boehm <mboehm at cytelcom.com> wrote:
> I'm very close to getting app_directory RealTime enabled. How can I merge
> two seperate ast_category objects into 1? Instead of this:
> 
> [bleh]
> 3444 => 1233,Matthew Boehm,email at email.com
> 3445 => 1233,Matthew Boehm,email at email.com
> 3446 => 1233,Matthew Boehm,email at email.com
> [bleh]
> 3447 => 1233,Matthew Boehm,email at email.com
> 3448 => 1233,Matthew Boehm,email at email.com
> 3449 => 1233,Matthew Boehm,email at email.com
> 
> I want this:
> 
> [bleh]
> 3444 => 1233,Matthew Boehm,email at email.com
> 3445 => 1233,Matthew Boehm,email at email.com
> 3446 => 1233,Matthew Boehm,email at email.com
> 3447 => 1233,Matthew Boehm,email at email.com
> 3448 => 1233,Matthew Boehm,email at email.com
> 3449 => 1233,Matthew Boehm,email at email.com
> 
> Any ideas?

While I haven't used it (yet), the above situation may be applicable
to using templates. Check the README.configuration file in the ./doc/
directory of your Asterisk source for more information on using
templates.

-- 
Leif Madsen
http://www.leifmadsen.com



More information about the asterisk-dev mailing list