Hmm, yes, lots of comments about this problem. Doesn't seem like there's a near-term solution, which makes realtime extensions (at least) rather unscalable. I think I'll hack at app_addon_mysql.c and make my extensions.conf like: [incoming] exten=>_.,1,LookupStuff(${EXTEN}) exten=>_.,2,Whatever... Eric.