[Home]

Summary:ASTERISK-16533: dun query EID allways return "DUNDi Query EID returned no results"
Reporter:paco (paketecuento)Labels:
Date Opened:2010-08-09 18:27:01Date Closed:2011-06-07 14:05:22
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_dundi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Centos 5.5 64 bits with 2.6.18-194.8.1.el5.
When launch "dundi query xx:xx:xx:xx:xx" for an available peer (Status is ok), always have "DUNDi Query EID returned no results". Asterisk peers are 32 bits systems. I'm using 1.6.1.20.



****** ADDITIONAL INFORMATION ******

I tried 1.6.2.10 and the  problem is still there.
Comments:By: paco (paketecuento) 2010-08-09 19:06:42

tcpdump shows no traffic on port 4520 when launching "dundi query XXXXXXX" (neither main asterisk nor remote), but "dundi lookup XXXXX@priv" does (and shows right information)

By: Leif Madsen (lmadsen) 2010-08-09 21:37:24

Please provide enough information to reproduce this issue. This would include the dialplan you're using, the dundi.conf file you're using, the console output, commands executed, debug logs and a packet trace. Thanks!

By: Leif Madsen (lmadsen) 2010-08-09 21:38:00

Additionally I have recently setup DUNDi for someone using 1.6.2.10 on a 64-bit system and have had no issues.

By: paco (paketecuento) 2010-08-10 03:04:56

*********  Main Asterisk  ********

dundi.conf
----------
[general]
department=lalalal
organization=ñapas INC.
locality=bilbao
stateprov=bi
country=es
email=your@email.com
phone=+12565551212
bindaddr=0.0.0.0
port=4520
entityid=11:11:11:11:11:11  (changed for security reasons)
cachetime=5
ttl=1
autokill=yes

[mappings]


[22:22:22:22:22:22]
model = symmetric
host = 10.0.0.12
inkey = dundi
outkey = dundi
include = priva
permit = priva
qualify = yes
order = primary

;maroc3

[33:33:33:33:33:33]
model = symmetric
host = 10.0.0.10
inkey = dundi
outkey = dundi
include = priva
permit = priva
qualify = yes
order = primary

Dialplan is not important at this moment...

test*CLI> dundi query 22:22:22:22:22:22
DUNDi Query EID returned no results.

test*CLI> dundi query 33:33:33:33:33:33
DUNDi Query EID returned no results.

For the same system, lookup:

test*CLI> dundi lookup 0034950012321@priva
 1.     0 IAX2/priva:jAXUOV6INR7mQYYkqFk+GQ==@10.0.0.10/0034950012321 (EXISTS|CANMATCH)
    from 00:50:43:01:c1:e6, expires in 5 s
 2.     5 IAX2/priva:jASlekj5DJlsksslkjSJE+==@10.0.0.12/0034950012321 (EXISTS|CANMATCH)
    from 00:50:43:01:c1:e6, expires in 5 s
DUNDi lookup completed in 160 ms

There is no traffic in 4520 when launched "dundi query XXX". Keys are in /var/lib/asterisk/keys/dundi.*. They were copied with scp without errors. Calls are made wihtout errors.
Only "dundi query" seems to fail ;(

At this moment, all my asterisk are with 1.6.1.20
Note: I forgot to mention, even with 1.4 in the main asterisk, there was no luck...

thanks

By: Paul Belanger (pabelanger) 2010-09-04 14:23:44

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support