[Dundi] SIP enterprise config using DUNDi

Richard Sloan richard.sloan at intervivo.net
Wed Nov 17 09:01:48 CST 2004


If there's anyone on this list who is successfully using DUNDi in an enterprise 
environment, to make calls via SIP between multiple asterisk servers in the same domain, I 
would be grateful for any suggestions on the config I'm trying to use...

I have used the sample config listed at:
http://www.voip-info.org/wiki-DUNDi+Enterprise+Configuration+SIP to get things started.

The course of events is this:

- server A receives an invite from local SIP agent X to call destination Y.
- server A queries server B via DUNDi for a route to destination Y, which is a locally 
registered SIP agent on server B.
- server A receives a DUNDi response from server B containing the number for destination Y 
and the IP address of server B.
- server A sends an invite to server B for SIP agent X to call SIP agent Y
- server B sends proxy auth request to server A for SIP agent X to call SIP agent Y
- server A sends invite to server B as before, with authentication included
- server B sends 403 'forbidden' response
(the problem I believe is that the authentication in the last invite from server A 
contains an empty username field)

The sample DUNDi config incudes the following in sip.conf:

[priv]
type=user
dbsecret=dundi/secret
context=dundi-priv-local

... but whether this config is in place or not, the call between the servers is always 
unsuccessful due to the authentication failure. (BTW, I can't find any reference on the 
wiki for 'dbsecret' as a sip.conf option ?)

I've tried including ${SECRET} in the dundi.conf mapping on server A, but when dialling 
via SIP, there doesn't appear to be any option to include authentication information 
(unlike IAX).

Any suggestions as to how I can get the incoming invite from server A to be authenticated 
by server B ?

-- 
Regards,

Richard Sloan



More information about the Dundi mailing list