Eric Lyons
2005-Nov-02 19:04 UTC
[Asterisk-Users] Very basic switching application -- bounty?
I'm looking for a very basic but high-performance zap->zap switching application that uses MySQL. This would preferably be an asterisk application module written in C, not an AGI. The basic function is to take an incoming DNIS/exten on one port, look it up in the db, then dial out to another number on another port. Anybody written one of these? Eric.
Kevin P. Fleming
2005-Nov-03 08:10 UTC
[Asterisk-Users] Very basic switching application -- bounty?
Eric Lyons wrote:> The basic function is to take an incoming DNIS/exten on one port, look > it up in the db, then dial out to another number on another port.This is just basic dialplan work... why you would need a custom application?
Eric Lyons
2005-Nov-07 16:24 UTC
[Asterisk-Users] Very basic switching application -- bounty?
Eric Lyons wrote:>> The basic function is to take an incoming DNIS/exten on one port, look >> it up in the db, then dial out to another number on another port. > >This is just basic dialplan work... why you would need a custom application?Hi, Kevin. Yes, it *is* the most basic of dialplan >configuration, but I don't want to reloadthe whole dialplan whenever the switch mapping changes or when adding/deleting a >map.Natch, I looked into RealTime for extensions.conf, but this seems to generate at least nineidentical queries even if there's >only one priority in the context.I think I might hack up app_addon_sql_mysql.c to do what I want -- but I half expected someoneto >already have done it?Eric.