> -----Original Message-----
> From: Watkins, Bradley [mailto:[EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
  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.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to