[Dundi] dundi lookup in a other tree

DUNDi Peering dundi at swissirc.net
Sun Apr 4 13:45:33 CDT 2010


Dear Jonathan,

This i was also trying but it dont work,

     -- Executing [00041xxxxxxxxx at sNE-PSTN:1] NoOp("SIP/+41yyyyyyyyy- 
ebbb3038", "DOING DUNDi sNE-PSTN LOOKUP") in new stack
     -- Executing [00041xxxxxxxxx at sNE-PSTN:2] Set("SIP/+ 41yyyyyyyyy- 
ebbb3038", "dundiresult=") in new stack
     -- Executing [00041xxxxxxxxx at sNE-PSTN:3] NoOp("SIP/+ 41yyyyyyyyy- 
ebbb3038", "EXTEN Ausgabe 00041xxxxxxxxx") in new stack
     -- Executing [00041xxxxxxxxx at sNE-PSTN:4] NoOp("SIP/+ 41yyyyyyyyy- 
ebbb3038", "Dundi Ausgabe ") in new stack
     -- Executing [00041xxxxxxxxx at sNE-PSTN:5] GotoIf("SIP/+  
41yyyyyyyyy-ebbb3038", "1?:30") in new stack
     -- Executing [00041xxxxxxxxx at sNE-PSTN:6] GotoIf("SIP/+  
41yyyyyyyyy-ebbb3038", "1?20:30") in new stack
     -- Goto (sNE-PSTN,00041xxxxxxxxx,20)
     -- Executing [00041xxxxxxxxx at sNE-PSTN:20] NoOp("SIP/+  
41yyyyyyyyy-ebbb3038", "DUNDi sNE-PSTN Failed") in new stack
     -- Executing [00041xxxxxxxxx at sNE-PSTN:21] Return("SIP/+  
41yyyyyyyyy-ebbb3038", "") in new stack
     -- Executing [00041xxxxxxxxx at sip-41yyyyyyyyy:4] Hangup("SIP/+  
41yyyyyyyyy-ebbb3038", "") in new stack
   == Spawn extension (sip-41yyyyyyyyy, 00041xxxxxxxxx, 4) exited non- 
zero on 'SIP/+ 41yyyyyyyyy-ebbb3038'

he still dont get a replay it's always failed ...

best regards

	Marcel




Am 04.04.2010 um 20:16 schrieb Jonathan Thurman:

> 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
>
> -- 
> _____________________________________________________________________
> -- 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
>




More information about the Dundi mailing list