[asterisk-users] need help setting up dundi

ronald ramos ronramos1004 at yahoo.com
Wed Jul 23 13:53:48 CDT 2008


Hi,

Hope anyone can help me on DUNDi. I got 2 asterisk servers. configs below.
tried this on the cli:

*CLI> dundi lookup 4000 at priv bypass
DUNDi lookup returned no results.
DUNDi lookup completed in 0 ms

*CLI> dundi lookup 4001 at priv bypass
DUNDi lookup returned no results.
DUNDi lookup completed in 0 ms

dundi debug shows this, i have no idea what that means though:
[Jul 24 02:42:39] Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: NULL         (Command)
[Jul 24 02:42:39]      Flags: 00 STrans: 23177  DTrans: 00000 [10.10.10.1:4520] (Final)
[Jul 24 02:42:39] Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ACK          (Response)
[Jul 24 02:42:39]      Flags: 00 STrans: 05678  DTrans: 23177 [10.10.10.1:4520] (Final)

any mistake on my config?

regards,
ron

asterisk#1 (IP ADDRESS:10.10.10.1)
dundi.conf
[mappings]
priv => dundi-priv-canonical,0,SIP,${NUMBER}@10.10.10.1,nopartial

[AB:CD:EF:70:E9:DA]
model = symmetric
host = 10.10.10.2
inkey = dundi
outkey = dundi
include = priv
permit = priv
qualify = yes
order = primary

sip.conf
[4000]
type=friend
nat=yes
secret=4000
host=dynamic

[priv]
type=peer
context=dundi-priv-canonical

extensions.conf
[dundi-priv-canonical]
exten => _4XXX,1,Dial(SIP/${EXTEN})

[dundi-priv-local]
include => dundi-priv-canonical

[dundi-priv-switch]
switch => DUNDi/priv

[dundi-priv-lookup]
include => dundi-priv-local
include => dundi-priv-switch

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






asterisk #2 (IP ADDRESS:10.10.10.2)

dundi.conf
[mappings]
priv => dundi-priv-canonical,0,SIP,${NUMBER}@10.10.10.2,nopartial

[00:1E:8C:AB:CD:EF]
model = symmetric
host = 10.10.10.1
inkey = dundi
outkey = dundi
include = priv
permit = priv
qualify = yes
order = primary

sip.conf
[4001]
type=friend
nat=yes
secret=4001
host=dynamic

[priv]
type=peer
context=dundi-priv-canonical

extensions.conf
[dundi-priv-canonical]
exten => _4XXX,1,Dial(SIP/${EXTEN})

[dundi-priv-local]
include => dundi-priv-canonical

[dundi-priv-switch]
switch => DUNDi/priv

[dundi-priv-lookup]
include => dundi-priv-local
include => dundi-priv-switch

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




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080723/72c2d61f/attachment.htm 


More information about the asterisk-users mailing list