[asterisk-users] Re: DUNDi with SIP

Douglas Garstang dgarstang at oneeighty.com
Wed Aug 2 15:21:15 MST 2006


> -----Original Message-----
> From: Watkins, Bradley [mailto:Bradley.Watkins at compuware.com]
> Sent: Wednesday, August 02, 2006 4:07 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] Re: DUNDi with SIP
> 
> 
> The way to make this work is to define a sip user/peer with the IP
> address in it, then have your dundi.conf entry look like:
> 
> 180netsip => global_dundi_local,1,SIP/peername/${NUMBER},nopartial
> 
> As far as I can tell from the code, this is the only way to 
> make it work
> properly based on the way the string sent to the channel 
> driver is being
> parsed.

No luck Brad.

dundi.conf has as you suggested:

180netsip => global_dundi_local,100,SIP/dundi_pbx1/${NUMBER},nopartial
180netsip => global_dundi_local,200,SIP/dundi_pbx2/${NUMBER},nopartial

and dundi.conf has:

[dundi_pbx1]
type=peer
context=global_dundi_local
host=labpbx1.ipt.oneeighty.com

[dundi_pbx2]
type=peer
context=global_dundi_local
host=labpbx2.ipt.oneeighty.com

and when I do a query, I get:

dundi lookup 9220371 at 180netsip
  1.   200 Unknown/nopartial (EXISTS|CANMATCH)
     from 00:14:22:1e:2a:d0, expires in 0 s
DUNDi lookup completed in 121 ms

Obviously, something is seriously screwed up.

Doug.



More information about the asterisk-users mailing list