On Sun, Apr 4, 2010 at 4:23 AM, DUNDi Peering <[email protected]> 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 00041xxxxxx...@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

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Dundi mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/dundi

Reply via email to