[asterisk-users] dundi problem * 1.4.2
Remco Post
remco at pipsworld.nl
Tue Apr 24 14:14:46 MST 2007
Hi All,
I've been banging my head on a small dundi problem...
I have two * servers setup, both have almost identical dundi.conf files:
root at tsjonge:/opt/asterisk/etc# cat dundi.conf
[general]
department=thuis
organization=pipsworld
locality=Amsterdam
stateprov=NH
country=NL
email=remco at pipsworld.nl
phone=+31207508308
;bindaddr=0.0.0.0
;port=4520
entity=00:02:b3:49:69:5e
ttl=16
autokill=yes
;secretpath=dundi
[mappings]
;pipsworld =>
pipsworld,1,IAX2,dundi:${SECRET}@tsjonge.pipsworld.nl/${NUMBER},nopartial
;pipsworld =>
external,1000,IAX2,guest at pipc.pipsworld.nl/31207508308,nounsolicited,nocomunsolicit,nopartial
[02:60:8c:f2:3e:aa]
model = symmetric
host = pipc.pipsworld.nl
inkey = pipsworld
outkey = pipsworld
include = pipsworld
permit = pipsworld
qualify = yes
and:
[general]
department=thuis
organization=pipsworld
locality=Amsterdam
stateprov=NH
country=NL
email=remco at pipsworld.nl
phone=+31207508308
;bindaddr=0.0.0.0
;port=4520
entity=02:60:8c:f2:3e:aa
ttl=16
autokill=yes
;secretpath=dundi
[mappings]
pipsworld => pipsworld,0,IAX2,dundi:${SECRET}@pipc.pipsworld.nl/${NUMBER}
; pipsworld =>
external,0,IAX2,guest at pipc.pipsworld.nl/${NUMBER},nounsolicited,nocomunsolicit,nopartial
[00:02:b3:49:69:5e]
model = symmetric
host = tsjonge.pipsworld.nl
inkey = pipsworld
outkey = pipsworld
include = pipsworld
permit = pipsworld
qualify = yes
But for some reason dundi-lookups fail.
tsjonge*CLI> dundi lookup 29 at pipsworld
DUNDi lookup returned no results.
DUNDi lookup completed in 3 ms
ETx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: DPDISCOVER
(Command)
Flags: 00 STrans: 23682 DTrans: 00000 [145.100.55.14:4520]
VERSION : 1
DIRECT EID : 00:50:da:73:18:c6
CALLED NUMBER : 29
CALLED CONTEXT : pipsworld
TTL : 16
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT (Command)
Flags: 00 STrans: 23682 DTrans: 00000 [145.100.55.14:4520]
ENTITY IDENT : 00:50:da:73:18:c6
KEYCRC32 : 1754443205
ENCDATA : [IV a7a14a4b63ccc33286b2b23108b05f49] 4 encrypted
blocks
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ (Response)
Flags: 00 STrans: 21677 DTrans: 23682 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK (Response)
Flags: 00 STrans: 23682 DTrans: 21677 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT (Command)
Flags: 00 STrans: 15333 DTrans: 00000 [145.100.55.14:4520]
ENTITY IDENT : 00:50:da:73:18:c6
SHAREDKEY : [ 5b c1 3c b5 41 6d a9 11 62 40 16 0a a4 b9 11 1f
54 ae b1 7f bd af de f7 aa 5a 72 13 2e d8 b1 e7 56 17 4a 48 6a 82 3b 66
ef c4 07 b7 ce 3e ab 39 d0 75 b4 b4 0f 08 af 21 9f d6 a9 45 34 be bd 59
bc e2 a2 5b a3 d8 60 7d 8d d2 31 01 24 73 ba 27 e0 3d ce ca 22 50 c6 ef
83 ba b6 24 b3 7d 34 5b c2 c0 31 36 b5 1d bf 62 73 56 77 61 b5 5f 9e cf
d3 d2 8b 98 25 e6 47 54 7f a6 0f 97 42 ab 96 74 ]
SIGNATURE : [ d3 d9 4f d2 05 9d 71 b3 4f 76 32 29 74 02 51 2f
90 40 10 c8 6c 49 3d 67 e4 8b e4 bd 2b ca 32 ed 65 d3 b0 bc 87 ff 30 60
05 e6 f2 e2 52 2f 04 6a a4 6a fe 6e ca 9c d0 e5 24 fa e6 35 9d 38 0a 93
61 46 84 04 03 c2 f8 9d eb b5 06 60 5b 23 f3 33 69 82 3c ba 2c 57 f9 af
1a be a9 b5 23 0d 53 58 f0 fa 07 13 c1 79 b8 37 5e 7c 87 dc 14 1b a3 ec
78 6e 91 8d 1d fa 52 db 54 ce 03 3e d8 ac 96 86 ]
ENCDATA : [IV a7a14a4b63ccc33286b2b23108b05f49] 4 encrypted
blocks
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ (Response)
Flags: 00 STrans: 15402 DTrans: 15333 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK (Response)
as you can see from the dialplan the extension is available:
pipc*CLI> dialplan show pipsworld
[ Context 'pipsworld' created by 'IAX2' ]
'20' => 1. Noop(remco) [IAX2]
'22' => 1. Noop(tsja) [IAX2]
'23' => 1. Noop(sipura1_tst) [SIP]
'24' => 1. Noop(sipura2_tst) [SIP]
'28' => 1. Noop(s450_1) [SIP]
'29' => 1. Noop(s450_2) [SIP]
'sipura1_lijn' => 1. Noop(sipura1_lijn) [SIP]
'sipura2_lijn' => 1. Noop(sipura2_lijn) [SIP]
also, tcpdump shows that both dundi-peers are communicating (as does the
dundi debug output).
Any hints?
--
Remco Post
"I didn't write all this code, and I can't even pretend that all of it
makes sense." -- Glen Hattrup
More information about the asterisk-users
mailing list