[Asterisk-Users] DUNDi in 1.2.7.1

Douglas Garstang dgarstang at oneeighty.com
Wed May 24 09:38:23 MST 2006


DUNDi isn't really redundant. If any one server goes down, all registrations will be lost for phones registered with that server. This will remain until the phons re-register with another Asterisk box. Better make your registration expiry period reeeealy low. Most people won't accept waiting 30,15,10 min to be able to receive calls again.

We're seeing issues with Asterisk failover and DUNDi too. I made a post yesterday, but no one has replied. It really looks like a bug. When the asterisk box that a phone is registered with goes away, and the phone tries to immediately make calls through a second Asterisk box, asterisk keeps sending 407 proxy auth messages to the phone over and over again, even after the phone sends credentials. REALLY screwy. About 5min later, it starts to magically work with no manual intervention.

Doug.

> -----Original Message-----
> From: Ludovit Koren [mailto:lk at tempest.sk]
> Sent: Wednesday, May 24, 2006 9:56 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] DUNDi in 1.2.7.1
> 
> 
> 
> Hi
> 
> few weeks ago I read about redundancy (HA) of asterisk boxes using
> DNS, DUNDi, so I decided to give it a try.
> 
> OS FreeBSD 6.1-RELEASE, asterisk 1.2.7.1
> 
> on one peer I get:
> 
> lk110*CLI> dundi show peers
> EID                  Host                Model      AvgTime  
> Status         
> 00:11:43:3d:69:e6    195.28.109.37   (S) Symmetric  Unavail  
> OK (1 ms)      
> 1 dundi peers [1 online, 0 offline, 0 unmonitored]
> lk110*CLI> 
> 
> on another:
> 
> 
> lk107*CLI> dundi show peers
> EID                  Host                Model      AvgTime  
> Status         
> 00:02:1e:f2:25:79    195.28.109.40   (S) Symmetric  Unavail  
> OK (1 ms)      
> 1 dundi peers [1 online, 0 offline, 0 unmonitored]
> lk107*CLI> 
> 
> 
> 
> here is the dundi.conf of the first one:
> ....
> priv => local1,0,IAX2,priv:${SECRET}@${IPADDR}/${NUMBER},nopartial
> ....
> [00:11:43:3d:69:e6]
> model = symmetric
> host = lk107.tempest.sk
> inkey = lk107.tempest.sk
> outkey = lk40.tempest.sk
> include = priv
> permit = priv
> qualify = yes
> order = primary
> 
> 
> and the second one:
> ....
> priv => local1,0,IAX2,priv:${SECRET}@${IPADDR}/${NUMBER},nopartial
> ....
> [00:02:1e:f2:25:79]
> model = symmetric
> host = lk40.tempest.sk
> inkey = lk40.tempest.sk
> outkey = lk107.tempest.sk
> include = priv
> permit = priv
> qualify = yes
> order = primary
> 
> 
> I was able to dial from phone registered on lk107 to phone registered
> on lk110 but no vice versa. I have read about stability problems with
> DUNDi and IAX2 few days ago. Is it stable at all? Am I doing something
> wrong? (I followed all description I found about it on
> www.voip-info.org). sip.conf, extensions.conf, iax.conf are the same
> on both servers. After reboot of the server I am not able to call from
> one asterisk to another and I got the following error:
> 
> lk110*CLI> 
>     -- Executing NoOp("SIP/214-9fe0", "20060524-172347 ok| 
> now were going to dundi 201") in new stack
>     -- Executing Macro("SIP/214-9fe0", "dundi-priv|201") in new stack
>     -- Executing Goto("SIP/214-9fe0", "201|1") in new stack
>     -- Goto (macro-dundi-priv,201,1)
>     -- Executing Dial("SIP/214-9fe0", "SIP/201|10|tr") in new stack
> May 24 17:23:47 NOTICE[561]: app_dial.c:1029 dial_exec_full: 
> Unable to create channel of type 'SIP' (cause 3 - No route to 
> destination)
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing Dial("SIP/214-9fe0", "SIP/201|10|tr") in new stack
> May 24 17:23:47 NOTICE[561]: app_dial.c:1029 dial_exec_full: 
> Unable to create channel of type 'SIP' (cause 3 - No route to 
> destination)
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing Hangup("SIP/214-9fe0", "") in new stack
>   == Spawn extension (local1, 201, 4) exited non-zero on 
> 'SIP/214-9fe0'
> lk110*CLI> 
> 
> 
> Any hints appreciated.
> 
> Regards,
> 
> lk
> _______________________________________________
> --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
> 



More information about the asterisk-users mailing list