[asterisk-users] DUNDi with SIP

Douglas Garstang dgarstang at oneeighty.com
Wed Aug 2 13:52:56 MST 2006


Alex,
 
Yep, I can dial 9220370 directly. I have two extensions on pbx1 and two on pbx2. I can place calls from 9220371 to 9220370 which goes through pbx2 only, and all is ok. 9220370 and 9220371 are registered on pbx2.
 
I had this all working with IAX. I didn't change the keys... so I would assume that they would all still be ok. I haven't modified the keys or the key definitions in dundi.conf.
 
Doug
 
 -----Original Message-----
From: Alex Robar [mailto:alex.robar at gmail.com]
Sent: Wednesday, August 02, 2006 2:48 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] DUNDi with SIP



Doug,

Two things: If you try to place that call manually (either via dialling it from a phone that supports SP URIs or by making an ext. for it in your dialplan and calling that extension), does it work properly? Are you able to place the call? If not, is the CLI output the same as when you try it via DUNDi? 

Second, are your keys generated properly, with public keys shared between the two boxes OK? I had a lot of DUNDi problems initially, and found that my keys were the problem.

Alex


On 8/2/06, Douglas Garstang < dgarstang at oneeighty.com> wrote: 

Alex,
 
Thanks... I haven't had any luck with it yet.
 
My dundi.conf has:

 
180netsip => global_dundi_local,1,SIP,dundisip:password@${IPADDR}/${NUMBER},nopartial
 
and my sip.conf has:

 
[dundisip]
type=user
context=global_dundi_local
secret=password
 
A DUNDI lookup on the console returns a SIP path:
 
*CLI> dundi lookup 9220370 at 180netsip
  1.     1 SIP/dundisip:password at xxx.yyy.142.163/9220370 (EXISTS)
     from 00:14:22:1e:2a:d0, expires in 0 s
DUNDi lookup completed in 129 ms
 
However, when I try to connect, I get a 'No such host' error...
 
*CLI> [Aug  2 14:18:43]     -- Executing NoOp("SIP/3254101-a8d9", "*** OnNet originated call "Chocolate Chip" <3254101> -> 9220371") in new stack
[Aug  2 14:18:43]     -- Executing AGI("SIP/3254101-a8d9", "ipt/originator.py") in new stack
[Aug  2 14:18:43]     -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py
[Aug  2 14:18:43]     -- AGI Script Executing Application: (SetAccount) Options: (9220371)
[Aug  2 14:18:43]     -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)
[Aug  2 14:18:43]     -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:password at xxx.yyy.142.163/9220371)
[Aug  2 14:18:43] WARNING[7842]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371
[Aug  2 14:18:43] NOTICE[7842]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
[Aug  2 14:18:43]   == Everyone is busy/congested at this time (1:0/0/1)
 
Doug.
 


-----Original Message-----
From: Alex Robar [mailto: alex.robar at gmail.com]
Sent: Wednesday, August 02, 2006 2:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] DUNDi with SIP


You can use an unchanging password. It's not as secure, but it will provide functionality.

Alex


On 8/2/06, Douglas Garstang <  <mailto:dgarstang at oneeighty.com> dgarstang at oneeighty.com> wrote: 

So what are the options?


> -----Original Message----- 
> From: Aaron Daniel [mailto: amdtech at shsu.edu]
> Sent: Wednesday, August 02, 2006 2:03 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] DUNDi with SIP 
>
>
> I'm talking about the rotating DUNDi secret that is stored in dbsecret
> in iax.conf.  It doesn't exist in the SIP channel.
>
> On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: 
> > Secret? Do you mean sbsecret in sip.conf?
> >
> > > -----Original Message-----
> > > From: Aaron Daniel [mailto: amdtech at shsu.edu]
> > > Sent: Wednesday, August 02, 2006 1:33 PM 
> > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > Subject: Re: [asterisk-users] DUNDi with SIP
> > >
> > >
> > > Using the SECRET variable for sip doesn't work. 
> > >
> > > On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote:
> > > > I've trying to use DUNDi with SIP to see if it works around
> > > some limitations of IAX2. 
> > > >
> > > > I do a DUNDi lookup, get my SIP path, and try to dial it.
> > > Asterisk immediately says 'No such host', eventhough that's
> > > the path is just returned! 
> > > >
> > > > [Aug  2 13:07:05]   == Spawn extension (global_vmdeposit,
> > > u9220371, 3) exited non-zero on 'SIP/3254101-eb7d'
> > > > [Aug  2 13:07:13]     -- Executing NoOp("SIP/3254101-6373", 
> > > "*** OnNet originated call "Chocolate Chip" <3254101> ->
> > > 9220371") in new stack
> > > > [Aug  2 13:07:13]     -- Executing AGI("SIP/3254101-6373", 
> > > "ipt/originator.py") in new stack
> > > > [Aug  2 13:07:13]     -- Launched AGI Script
> > > /var/lib/asterisk/agi-bin/ipt/originator.py
> > > > [Aug  2 13:07:13]     -- AGI Script Executing Application: 
> > > (SetAccount) Options: (9220371)
> > > > [Aug  2 13:07:13]     -- AGI Script Executing Application:
> > > (ChanIsAvail) Options: (SIP/9220371)
> > > > [Aug  2 13:07:14]     -- AGI Script Executing Application: 
> > > (Dial) Options:
> > > (SIP/dundisip:dU7wMVIkX00hbS5OFaZBDQ at xxx.yyy.142.163/9220371)
> > > > [Aug  2 13:07:14] WARNING[5429]: chan_sip.c:1980
> > > create_addr: No such host: xxx.yyy.142.163/9220371
> > > > [Aug  2 13:07:14] NOTICE[5429]: app_dial.c:1040
> > > dial_exec_full: Unable to create channel of type 'SIP' (cause
> > > 3 - No route to destination) 
> > > > [Aug  2 13:07:14]   == Everyone is busy/congested at this
> > > time (1:0/0/1)
> > > >
> > > > Not sure what is going on. I can see the query at the other
> > > end, but it doesn't look like it ever receives the call.
> > > >
> > > > 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
> > > --
> > > Aaron Daniel
> > > Computer Systems Technician 
> > > Sam Houston State University
> > > amdtech at shsu.edu
> > > (936) 294-4198
> > > _______________________________________________
> > > --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  <http://lists.digium.com/mailman/listinfo/asterisk-users> 
> > >
> > _______________________________________________ 
> > --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  <http://lists.digium.com/mailman/listinfo/asterisk-users> 
> --
> Aaron Daniel
> Computer Systems Technician
> Sam Houston State University 
> amdtech at shsu.edu
> (936) 294-4198
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com  <http://Easynews.com> --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users  <http://lists.digium.com/mailman/listinfo/asterisk-users> 
>
_______________________________________________
--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




-- 
Alex Robar
alex.robar at gmail.com 

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







-- 
Alex Robar
alex.robar at gmail.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060802/cdbc583d/attachment.htm


More information about the asterisk-users mailing list