exten =>
_[a-zA-Z0-9].,n,GotoIf(${DB_EXISTS(URI/${EXTEN}@${SIPDOMAIN})}?inturi:exturi)
exten => _[a-zA-Z0-9].,n(inturi),Goto(${DB(URI/${EXTEN}@${SIPDOMAIN})})
exten => _[a-zA-Z0-9].,n(exturi),Macro(uridial,${EXTEN}@${SIPDOMAIN})
This is a bit of pain as we have to make sure we update the DB when a new
inbound URI is added; though it works and means we can stick with the 1.6.2.X
branch.
Would be interested to hear from a dev though as to whether they think it should
work as we originally had it configured ?
--
Thanks, Phil