[asterisk-users] DUNDi Errors (ENCREJ)

srinivas Antarvedi srinivas.antarvedi at gmail.com
Tue Jun 30 05:01:42 CDT 2009


Hello users.

i am planning to implement the dundi protocol among 3 servers
where the real channels residing in 2 servers and the remaining one
is only for routing purpose..

here is how my config files

#Routing_server
routing server -192.168.1.11
node1            -192.168.1.21
node2            -192.168.1.31

i)dundi.conf

dundi=>dundicontext,0,IAX2,priv:${SECRET}@192.168.1.11/${NUMBER},nopartial

[MACaddress of node1]
model=symmetric
host = 192.168.1.21
inkey = priv
outkey = priv
include = priv
permit = priv
qualify = yes
order=primary


;[MAC oF system node2];
;model=symmetric
;host = 192.168.1.31
;inkey = priv
;outkey = priv
;include = priv
;permit = priv
;qualify = yes
;order=secondary

2)extension.conf
[dundicontext]
include => lookupdundi

[lookupdundi]
switch => DUNDi/dundi

3)iax.conf

[priv]
dbsecret=dundi/secret
type=friend
context=dundicontext

-> when i tested the dundi show peers in my server the 2 nodes
information i was able to see
-> when i used   "dundi lookup 222 at dundi"
    i am getting this error

   Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ       (Response)
     Flags: 00 STrans: 16791  DTrans: 30106 [192.168.1.11:4520] (Final)
Rx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK          (Response)
     Flags: 00 STrans: 30106  DTrans: 16791 [192.168.1.11:4520] (Final)
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT      (Command)
     Flags: 00 STrans: 26692  DTrans: 00000 [192.168.1.11:4520]
   ENTITY IDENT    : 00:23:7d:93:f7:5e
   KEYCRC32        : 4234245369
   ENCDATA         : [IV 11dc622321b7c86ae1e7016c4fe4101d] 4 encrypted blocks


Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ       (Response)
     Flags: 00 STrans: 22476  DTrans: 26692 [192.168.1.11:4520] (Final)
Rx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK          (Response)
     Flags: 00 STrans: 26692  DTrans: 22476 [192.168.1.11:4520] (Final)
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT      (Command)
     Flags: 00 STrans: 00299  DTrans: 00000 [192.168.1.11:4520]
   ENTITY IDENT    : 00:23:7d:93:f7:5e
   SHAREDKEY       : [ 66 df 0a c5 75 59 2f 75 bc 48 bd c8 39 6c 33 df
73 37 85 10 86 ed b5 da 4c 88 a7 c5 00 f0 ab d0 2a 9b  b3 71 86 7a c4
53 dd dc 4f 29 fb 43 b4 17 d9 91 e1 df 5b 6f 6d c2 b0 f7 d2 f9 f0 b8
3b 0c 0e 7d af ef 8e 4f cf 9f 7e ca 50  b2 04 97 60 2b cb df fd 97 82
d4 bf a0 cf 9a 66 60 11 19 bc 6b 63 30 a5 05 2f 9e a7 63 1d 90 f6 ac
13 23 39 30 33 1d 29 7a 0 6 da 52 5d b0 d7 e7 3f e7 ef 2d a1 ]
   SIGNATURE       : [ 65 da f2 7a 0f e1 ea 40 73 56 bc 78 d0 05 c0 c3
ec 4c 97 53 cc 2f 2f 97 01 1a 0d ee 8f 21 8f 5a c2 65  91 6d 32 16 dc
27 75 f6 12 9f 3e f3 bd 34 29 9e c9 af 8d 03 ef 43 7c f4 4d 48 e6 cc
70 af 86 89 ef 24 78 3e c3 71 be cb 55  2c e3 79 19 61 2b 34 d4 8f 62
f6 99 8d 27 9f af 56 a3 8b 30 c6 a1 42 de e5 92 4b f0 8f a2 90 91 86
27 fd 0f 7f 1d b6 4a f7 7 2 53 95 d9 d2 14 03 c6 fd b9 9e 5a ]
   ENCDATA         : [IV 11dc622321b7c86ae1e7016c4fe4101d] 4 encrypted blocks

-> To resolve this i tried to remove all keys in all servers and once
again created and
   distributed the loaded in each system with "keys init" command but
stilll i am
   getting the same error



can anybody help me out???

Thanks and regards
srinivas antarvedi



More information about the asterisk-users mailing list