I've already read this post:
http://pbxinaflash.com/community/threads/unsupported-dundi-context.2940/#post-17356
But still cannot work out how to fix this :-(
I appreciate any help you can give me.
I have Server 1 and Server 2.
Server 1 hosts internal extensions: 7xx and 8xx
Server 2 hosts internal extensions: 6xx
Server 1 Configs:
dundi.conf
[mappings]
priv => dundi-priv-canonical,1,IAX2,dundi:${SECRET}@server1.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-customers,101,IAX2,dundi:${SECRET}@server1.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-via-pstn,401,IAX2,dundi:${SECRET}@server1.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
[00:23:7D
B:AA:9E]
model = symmetric
host = server2.domain.com
auth = rsa
inkey = server2-pbx
outkey = server1-pbx
include = all
permit = all
qualify = yes
order = primary
extensions_custom.conf:
[dundi-e164-local] ;This must match the context in iax_custom.conf
; this context is used to group the 3 below and reference in iax.conf for the incoming calls referred by dundi
include => dundi-priv-canonical
include => dundi-priv-customers
include => dundi-priv-via-pstn
[dundi-priv-canonical]
; List canonical entries here
exten => 18008656920,1,goto(from-trunk,${EXTEN:1},1)
[dundi-priv-customers]
; If you are an ITSP or Reseller, list your internal extensions here.
exten => _7xx,1,goto(from-internal,${EXTEN},1)
exten => _8xx,1,goto(from-internal,${EXTEN},1)
[dundi-priv-via-pstn]
; If you are freely delivering calls to the PSTN, list them here
exten => _1706251XXXX,1,macro(call_dundi,${EXTEN:1})
exten => _1706258XXXX,1,macro(call_dundi,${EXTEN:1})
[macro-call_dundi]
exten => s,1,goto(from-internal,${ARG1},1)
iax_custom.conf:
[dundi]
type=user
dbsecret=dundi/secret
context=dundi-e164-local
allow=all
trunk=yes
Server 2 config:
dundi.conf:
[mappings]
priv => dundi-priv-canonical,1,IAX2,dundi:${SECRET}@server2.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-customers,101,IAX2,dundi:${SECRET}@server2.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-via-pstn,401,IAX2,dundi:${SECRET}@server2.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
[00:23:7d:5e:75:ac]
model = symmetric
host = server1.domain.com
auth = rsa
inkey = server1-pbx
outkey = server2-pbx
include = all
permit = all
qualify = yes
order = primary
extensions_custom.conf:
[dundi-e164-local] ;This must match the context in iax_custom.conf
; this context is used to group the 3 below and reference in iax.conf for the incoming calls referred by dundi
include => dundi-priv-canonical
include => dundi-priv-customers
include => dundi-priv-via-pstn
[dundi-priv-canonical]
; List canonical entries here
exten => 18008656920,1,goto(from-trunk,${EXTEN:1},1)
[dundi-priv-customers]
; If you are an ITSP or Reseller, list your internal extensions here.
exten => _6xx,1,goto(from-internal,${EXTEN},1)
[dundi-priv-via-pstn]
; If you are freely delivering calls to the PSTN, list them here
exten => _1706251XXXX,1,macro(call_dundi,${EXTEN:1})
exten => _1706258XXXX,1,macro(call_dundi,${EXTEN:1})
[macro-call_dundi]
exten => s,1,goto(from-internal,${ARG1},1)
iax_custom.conf:
[dundi]
type=user
dbsecret=dundi/secret
context=dundi-e164-local
allow=all
trunk=yes
Both servers seem to be able to connect to eachother:
Ran from server 1:
pbx01*CLI> dundi query 00:23:7D
B:AA:9E
DUNDi Query EID succeeded:
Department: Networks
Organization: xxxx
City/Locality: xxxx
State/Province: xx
Country: xx
E-mail: xxx
Phone: xxx
IP Address: xx.xx.xx.xx
From server 2:
pbx02*CLI> dundi query 00:23:7D:5E:75:AC
DUNDi Query EID succeeded:
Department: Networks
Organization: xxx
City/Locality: xxx
State/Province: xx
Country: xx
E-mail: xxx
Phone: xx
IP Address: xx
However when I try to lookup an extension on server 1 from server 2 for example 708 which exists. I get:
pbx02*CLI> dundi lookup 708
DUNDi lookup returned no results.
DUNDi lookup completed in 162 ms
ETx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: DPDISCOVER (Command)
Flags: 00 STrans: 08406 DTrans: 00000 [xx:4520]
VERSION : 1
DIRECT EID : 00:23:7d:db:aa:9e
CALLED NUMBER : 708
CALLED CONTEXT : e164
TTL : 32
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT (Command)
Flags: 00 STrans: 08406 DTrans: 00000 [xxx:4520]
ENTITY IDENT : 00:23:7d:db:aa:9e
KEYCRC32 : 2158026903
ENCDATA : [IV 715d895aaf0ec35515177634893e2104] 4 encrypted blocks
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCRYPT (Command)
Flags: 00 STrans: 06199 DTrans: 08406 [xxx:4520]
ENCDATA : [IV def5d10d1132a242fad0611f72e43e4a] 4 encrypted blocks
Erx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: DPRESPONSE (Response)
Flags: 00 STrans: 06199 DTrans: 08406 [xxx:4520] (Final)
CAUSE : NOAUTH: Unsupported DUNDI Context
I've also tried 708@priv but also get the same message.
Can anyone help?
http://pbxinaflash.com/community/threads/unsupported-dundi-context.2940/#post-17356
But still cannot work out how to fix this :-(
I appreciate any help you can give me.
I have Server 1 and Server 2.
Server 1 hosts internal extensions: 7xx and 8xx
Server 2 hosts internal extensions: 6xx
Server 1 Configs:
dundi.conf
[mappings]
priv => dundi-priv-canonical,1,IAX2,dundi:${SECRET}@server1.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-customers,101,IAX2,dundi:${SECRET}@server1.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-via-pstn,401,IAX2,dundi:${SECRET}@server1.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
[00:23:7D
model = symmetric
host = server2.domain.com
auth = rsa
inkey = server2-pbx
outkey = server1-pbx
include = all
permit = all
qualify = yes
order = primary
extensions_custom.conf:
[dundi-e164-local] ;This must match the context in iax_custom.conf
; this context is used to group the 3 below and reference in iax.conf for the incoming calls referred by dundi
include => dundi-priv-canonical
include => dundi-priv-customers
include => dundi-priv-via-pstn
[dundi-priv-canonical]
; List canonical entries here
exten => 18008656920,1,goto(from-trunk,${EXTEN:1},1)
[dundi-priv-customers]
; If you are an ITSP or Reseller, list your internal extensions here.
exten => _7xx,1,goto(from-internal,${EXTEN},1)
exten => _8xx,1,goto(from-internal,${EXTEN},1)
[dundi-priv-via-pstn]
; If you are freely delivering calls to the PSTN, list them here
exten => _1706251XXXX,1,macro(call_dundi,${EXTEN:1})
exten => _1706258XXXX,1,macro(call_dundi,${EXTEN:1})
[macro-call_dundi]
exten => s,1,goto(from-internal,${ARG1},1)
iax_custom.conf:
[dundi]
type=user
dbsecret=dundi/secret
context=dundi-e164-local
allow=all
trunk=yes
Server 2 config:
dundi.conf:
[mappings]
priv => dundi-priv-canonical,1,IAX2,dundi:${SECRET}@server2.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-customers,101,IAX2,dundi:${SECRET}@server2.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-via-pstn,401,IAX2,dundi:${SECRET}@server2.domain.com/${NUMBER},nounsolicited,nocomunsolicit,nopartial
[00:23:7d:5e:75:ac]
model = symmetric
host = server1.domain.com
auth = rsa
inkey = server1-pbx
outkey = server2-pbx
include = all
permit = all
qualify = yes
order = primary
extensions_custom.conf:
[dundi-e164-local] ;This must match the context in iax_custom.conf
; this context is used to group the 3 below and reference in iax.conf for the incoming calls referred by dundi
include => dundi-priv-canonical
include => dundi-priv-customers
include => dundi-priv-via-pstn
[dundi-priv-canonical]
; List canonical entries here
exten => 18008656920,1,goto(from-trunk,${EXTEN:1},1)
[dundi-priv-customers]
; If you are an ITSP or Reseller, list your internal extensions here.
exten => _6xx,1,goto(from-internal,${EXTEN},1)
[dundi-priv-via-pstn]
; If you are freely delivering calls to the PSTN, list them here
exten => _1706251XXXX,1,macro(call_dundi,${EXTEN:1})
exten => _1706258XXXX,1,macro(call_dundi,${EXTEN:1})
[macro-call_dundi]
exten => s,1,goto(from-internal,${ARG1},1)
iax_custom.conf:
[dundi]
type=user
dbsecret=dundi/secret
context=dundi-e164-local
allow=all
trunk=yes
Both servers seem to be able to connect to eachother:
Ran from server 1:
pbx01*CLI> dundi query 00:23:7D
DUNDi Query EID succeeded:
Department: Networks
Organization: xxxx
City/Locality: xxxx
State/Province: xx
Country: xx
E-mail: xxx
Phone: xxx
IP Address: xx.xx.xx.xx
From server 2:
pbx02*CLI> dundi query 00:23:7D:5E:75:AC
DUNDi Query EID succeeded:
Department: Networks
Organization: xxx
City/Locality: xxx
State/Province: xx
Country: xx
E-mail: xxx
Phone: xx
IP Address: xx
However when I try to lookup an extension on server 1 from server 2 for example 708 which exists. I get:
pbx02*CLI> dundi lookup 708
DUNDi lookup returned no results.
DUNDi lookup completed in 162 ms
ETx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: DPDISCOVER (Command)
Flags: 00 STrans: 08406 DTrans: 00000 [xx:4520]
VERSION : 1
DIRECT EID : 00:23:7d:db:aa:9e
CALLED NUMBER : 708
CALLED CONTEXT : e164
TTL : 32
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT (Command)
Flags: 00 STrans: 08406 DTrans: 00000 [xxx:4520]
ENTITY IDENT : 00:23:7d:db:aa:9e
KEYCRC32 : 2158026903
ENCDATA : [IV 715d895aaf0ec35515177634893e2104] 4 encrypted blocks
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCRYPT (Command)
Flags: 00 STrans: 06199 DTrans: 08406 [xxx:4520]
ENCDATA : [IV def5d10d1132a242fad0611f72e43e4a] 4 encrypted blocks
Erx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: DPRESPONSE (Response)
Flags: 00 STrans: 06199 DTrans: 08406 [xxx:4520] (Final)
CAUSE : NOAUTH: Unsupported DUNDI Context
I've also tried 708@priv but also get the same message.
Can anyone help?
Last edited by a moderator: