Broadband-Hamnet™ Forum :: VoIP
Welcome Guest   [Register]  [Login]
«StartPrev12NextEnd»
 Subject :Asterisk-DUNDi MESH.. 2013-05-08- 04:25:40 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 

I am in the research phase of building a MESH'able Asterisk using DUNDi Module for installation on OpenWRT/HSMM-MESH. The purpose of this is to provide a MESH'able Tel-Net that is able to connect any extension on any node to one another as long as the target extensions node is connected.

IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-13- 09:44:00 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 

PROGRESS, BUGS & ToDo

     Here I will keeping and log of what I have done, how I have done it, and what is running or NOT running. It will be updated nearly daily, as I will be working on this daily. So Please look back to see what I have done, and at what stage I am at.

Progress:

May 13 2013

  • HSMM-MESH Freshly installed on NEW WRT54GS
  • POE Modification completed to main board
  • Asterisk 1.6.1 w/ VoiceMail, Sounds, and GUI Installed

May 14 2013

  • Linksys SPA942 IP Phones Making a connection but being rejected by Asterisk **FIXED**
  • Solution : Phones required an updated firmware from Cisco for SIP comparability with Asterisk

May 15 2013

  • Phones are talking Locally (On the same node)
  • AsteriskGUI is installed and running... But Lacks much use as a GUI :)
  • Second Asterisk Node Setup to Match First and is also fully functioning with the Phones

May 18 2013

  • Installed Asterisk 1.4 w/ DUNDi support on both nodes
  • AsteriskGUI is installed and Running again.
  • Am able to make connection on individual nodes...

May 28 2013

  • DUNDi is now fully functioning
  • Ports are all properly forwarded and opened
  • Phones properly configured
  • We have Telephony contacts across the MESH

Bugs:

May 13 2013

  • AsteriskGUI not functioning Properly. It will not save the settings, not allowing me to continue past this point in "Making it easy to use". **FIXED**
  • Solution : AsteriskGui needed to be installed in the /WWW directory root. I changed the styles.CSS to ast-styles.css . and corrected the pointer in asterisk.HTML to point to ast-styles.css

May 14 2013

  • AsteriskGUI Still not functioning, In process of finding an alternate for OpenWRT **FIXED**
  • Solution : See above..
  • Linksys SPA942 firmware not compatable with asterisk, Updating requiered **UPDATED**
  • Solution : Firmware sucessfuly updated to new Cisco version.

May 18 2013

  • No able to make call across MESH from node to node.. Keep getting Crypto not loaded error **FIXED**
  • Solution : OpenSSL and the Crypto Module for Asterisk needed to be loaded by commenting so in asterisk.conf

ToDO

  • Make DUNDi run autonomously (Find and rout to newly attached Nodes with Asterisk/DUNDi)
  • Establish communications via a tunnel from MESH to MESH
  • Build a deployable package/script to ease installation
IP Logged
Last Edited On: 2013-05-29- 03:34:18 By VA7WPN for the Reason
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 06:29:17 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 
Last night I was able to make a connection to the asterisk server in the WRT, how ever the connections were then refused by asterisk. It turns out the IP Phones I have purchases have an outdated SIP firmware on them.. some where along the lines of v5.1... how ever Since then the company has been purchased by Linksys (the phones were manufactured for linksys by a 3rd party), then Linksys Purchased by Cisco.. Cisco has a new firmware along v6.5 available. Which is Asterisk compatable.. Tonihght we upgrade and try again! More DUNDi reading ensues.
IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 10:24:39 
Joined: 2024-11-22- 14:08:55
Posts: 0
Location

The only thing I have not done is "Study and Implement DUNDi into the HSMM-MESH on TWO Nodes." I am currently working on that now and should have something to you within a wekk.

As for the other items on your list? You shouldn't have any problem. I've sustained multiple 2+ hour calls over the mesh on the same and across different nodes (with hops in-between as well) without any hickups.

Best of luck! Keep me posted.

IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 14:45:45 
Joined: 2024-11-22- 14:08:55
Posts: 0
Location

I just got DUNDi working with HSMM-MESH. Let me dump what I have from the two nodes for us all to sift through.

IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 14:52:51 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 
Thats great, were you able to get DUNDi to autonomously map the other node? That is the BIGGIE that Im working on.. AS WE SPEAK!
IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 15:19:20 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 

Some reading for All on just what DUNDi is, and how it works.

http://asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/asterisk-CHP-5.html

IP Logged
Last Edited On: 2013-05-15- 15:20:13 By VA7WPN for the Reason
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 15:23:17 
Joined: 2024-11-22- 14:08:55
Posts: 0
Location

Yep, It maps to the other node just fine.  You could have a phone on Node C that is registered to Node A (asterisk+dundi) and call a phone on Node D that is registered to Node B (asterisk+dundi).

Along with opening 5004, 5060, 10000-20000, you will also need to open 4569 on the asterisk+dundi nodes.

Here are the files.

http://downloads.openwrt.org/kamikaze/8.09.2/brcm-2.4/packages/asterisk14_1.4.23.1-1.2_mipsel.ipk



IP Logged
Last Edited On: 2013-05-15- 15:30:07 By for the Reason
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 15:32:29 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 
Why 1.4? was that the only that you could get for openwrt? or the easiest to get working?
IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 15:34:43 
Joined: 2024-11-22- 14:08:55
Posts: 0
Location

You cannot install DUNDi for Asterisk 1.6 with the packages found on OpenWRT. So to fix this problem, I had to downgrade Asterisk by a version. I haven't lost any functionality at all. In fact...I gained a functionality!

IP Logged
Last Edited On: 2013-05-15- 15:35:16 By for the Reason
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 15:40:27 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 
okay, so Ill uninstall 1.6 and go with 1.4 too then. :) Its looking like DUNDi needs to be mapped to individual nodes.. What Im working on is a way to have DUNDi do an announce upon joining of a mesh, so that the other DUNDi lookup's (Only 1 hop) will have it in their DUNDi routing map.
IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-15- 15:56:39 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 

watch : http://www.tmcnet.com/tmc/videos/default.aspx?vid=7526

IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-18- 15:32:37 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 
Getting this to just work is a GREAT learning experiance. :) some progress, and some steps back. but for good reason!
IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-19- 06:11:23 
Joined: 2024-11-22- 14:08:55
Posts: 0
Location

I might have forgotten to mention that you need to uncomment the res_crypto.so module in the /etc/asterisk/modules.conf file and change it to read "load=res_crypto.so" in order for the module to get loaded. Don't forget to restart Asterisk and/or issue a module reload command from Asterisk's CLI afterwords.

IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-19- 11:29:12 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 

sorry... It seems that DUNDi is just not finding the Keys.. in /var/lib/asterisk/keys

IP Logged
Last Edited On: 2013-05-19- 11:34:48 By VA7WPN for the Reason
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-19- 11:54:44 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 

when I do a 'dundi show keys' it shows no keys loaded

Every time I reboot the routers /var/lib/asterisk/keys and the keys within them are gone again.

IP Logged
Last Edited On: 2013-05-19- 11:57:03 By VA7WPN for the Reason
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-19- 12:57:01 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 

Here is what I am getting :

Asterisk will attempt to rout the call, but I will get a message stating "Everyone is busy"

But nothing comes up on the second node even showing an attempt.

IP Logged
Last Edited On: 2013-05-19- 13:01:23 By VA7WPN for the Reason
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-28- 11:42:55 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 
Asterisk is now working, and so is DUNDi. Across my 200m MESH. Next is to get it Autonomous.
IP Logged
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-28- 13:17:43 
K5KTF
Admin
Joined: 2010-01-18- 23:04:04
Posts: 266
Location: 5' from this webserver
  

Just a thought, for any in the future who might try this same thing and run into the same problems, is when you fix something, list WHAT fixed it/what you had to do to get it working  :-)

I know how frustrating it can be when I am working a project, run into a problem, google it, and all I get are either "Me too", "I fixed it", "or the dreaded "Why would you want to do that?" posts, with no meat that helps solve it.

I also know how it feels when you have been working some evenings on something, and then it all comes together and works.Great job  !!


Jim

K5KTF


IP Logged
B-) Jim K5KTF EM10bm Cedar Park, TX :star:
 Subject :Re:Asterisk-DUNDi MESH.. 2013-05-29- 03:45:49 
VA7WPN
Member
Joined: 2013-04-29- 12:21:43
Posts: 60
Location: BC, Canada
 
Thank you for the Idea, I write down everything, so I added in my comments with the solutions in blue. Thanks again!
IP Logged
«StartPrev12NextEnd»
Page # 


Powered by ccBoard


SPONSORED AD: