Im having problems making the dundi able to query the other server.

My setup is 2 asterisk servers with realtime.

When I do dundi show peers I see the mac address of the other server but
when I try dundi query I always end up with no result

this is my mappings
priv => dundi-priv-lookup-12connect,0,SIP,${IPADDRESS}/${NUMBER},nopartial

extensions.conf
[12connect]
;switch => Realtime/[EMAIL PROTECTED]

include => apps
include => parkedcalls
include => lookupdundi
exten => _X.,1,Macro(dundi-priv-12connect,${EXTEN})

[dundi-12connect]
exten => 101,1,Dial(SIP/${EXTEN},20,tT)
exten => 102,1,Dial(SIP/${EXTEN},20,tT)
exten => 103,1,Dial(SIP/${EXTEN},20,tT)
exten => 104,1,Dial(SIP/${EXTEN},20,tT)
exten => 105,1,Dial(SIP/${EXTEN},20,tT)
exten => 106,1,Dial(SIP/${EXTEN},20,tT)
exten => 107,1,Dial(SIP/${EXTEN},20,tT)
exten => 108,1,Dial(SIP/${EXTEN},20,tT)
exten => 109,1,Dial(SIP/${EXTEN},20,tT)

[dundi-priv-lookup-12connect]
include => dundi-12connect
include => lookupdundi

[lookupdundi]
switch => DUNDi/priv

[macro-dundi-priv-12connect]
exten => s,1,Goto(${ARG1},1)
include => dundi-priv-lookup-12connect


Any help will be much appreciated

TIA
_______________________________________________
--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