Dundi configuration problem


i have configured two Asterisk server with Dundi.
When i try to call from one server to the other, in the console it appears this error.

WARNING[6786]: chan_iax2.c:7860 check_access: Unable to retrieve database password for family/key ‘dundi/secret’!

This the file iax.confi i have configured in the both server:



What can be the problem?



I successfully configured Dundi following this paper:


I hope this can help you. :smile:


thank you for the document.
I followed all the steps, now in the console i see Accepting AUTHENTICATED call.
– Accepting AUTHENTICATED call from
> requested format = alaw,
> requested prefs = (alaw|gsm|ulaw|h263),
> actual format = gsm,
> host prefs = (gsm|ulaw|alaw),
> priority = mine
but it will appear this error: chan_sip.c:21026 handle_response_invite: Received response: “Forbidden”.
I post the log i see in the Asterisk console:

-- Accepting AUTHENTICATED call from
   > requested format = alaw,
   > requested prefs = (alaw|gsm|ulaw|h263),
   > actual format = gsm,
   > host prefs = (gsm|ulaw|alaw),
   > priority = mine
-- Executing [1500@incomingdundi:1] Goto("IAX2/iaxuser-4843", "employees,1500,1") in new stack
-- Goto (employees,1500,1)
-- Executing [1500@employees:1] Macro("IAX2/iaxuser-4843", "lookupcalculation,1500") in new stack
-- Executing [s@macro-lookupcalculation:1] Verbose("IAX2/iaxuser-4843", "2,Look up extension 1500") in new stack

== Look up extension 1500
– Executing [s@macro-lookupcalculation:11] Dial(“IAX2/iaxuser-4843”, “SIP/1500,50,rt”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/1500
[Jul 27 10:15:16] WARNING[11962]: chan_sip.c:21026 handle_response_invite: Received response: “Forbidden” from ‘“Name” sip:1600@;tag=as158dfa1a’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-lookupcalculation:12] Hangup(“IAX2/iaxuser-4843”, “”) in new stack
== Spawn extension (macro-lookupcalculation, s, 12) exited non-zero on ‘IAX2/iaxuser-4843’ in macro ‘lookupcalculation’
== Spawn extension (employees, 2502, 1) exited non-zero on ‘IAX2/iaxuser-4843’
– Hungup ‘IAX2/iaxuser-4843’

The thing i don’t understand is the Warning Forbidden, what does it mean?
The sip:1600@, 1600 is not a user of but is registered on server

Thanks to all!

It means the device referenced by sip.conf entry 1500 wasn’t prepared to talk to you. The most common reason for this is that you provided the wrong password, although it could be other things, like your IP address being unacceptable to it.

Literally, it means that that device returned a 403 Forbidden SIP response.

I have just done a test.
On the same machine i reinstalled Asterisk 10.5.1 (instead of 10.6.1), i have copied the same configuration and everything works properly.
So, i think there is something different in Asterisk 10.6.1

Best regards,