[Dundi] dundi lookup in a other tree
Jonathan Thurman
jonathan at thurmantech.com
Sun Apr 4 13:16:42 CDT 2010
On Sun, Apr 4, 2010 at 4:23 AM, DUNDi Peering <dundi at swissirc.net> wrote:
> Dear all,
>
> I'm Using Asterisk 1.6.2.0~rc2-0ubuntu1.2 built by buildd @ crested
> on a x86_64 running Linux on 2010-01-04 02:36:22 UTC on a Ubuntu
> Linux, and i try to do in the extensions.conf a DUNDILOOKUP on a
> other DUNDi Tree but it dont work. If i do it on the Asterisk Console
> it works.
>
> asterisk*CLI> dundi lookup 00041xxxxxxxxx at dundi-sNE
> exten => _000XXX.,n,Set(dundiresult=${DUNDILOOKUP(${EXTEN})})
You need to set the DUNDi context here in the query:
exten => _000XXX.,n,Set(dundiresult=${DUNDILOOKUP(${EXTEN}|dundi-sNE)})
Take a look at http://www.voip-info.org/wiki/view/Asterisk+func+dundilookup
I am not sure what the separator will be for 1.6.2 (either , or | ) It
is still | in 1.6.1.
-Jonathan
More information about the Dundi
mailing list