[asterisk-users] Re: DUNDi with SIP

Watkins, Bradley Bradley.Watkins at compuware.com
Wed Aug 2 15:44:30 MST 2006


Errr...  I should learn to pay attention to what I'm writing...

Actually, try:

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

I was thinking in terms of Dial() arguments when I wrote the
SIP/peername/number instead of SIP,peername/number syntax.

My bad...

- Brad

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Douglas
Garstang
Sent: Wednesday, August 02, 2006 6:21 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] Re: DUNDi with SIP

> -----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.
_______________________________________________
--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

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 



More information about the asterisk-users mailing list