Yesterday we made the first phone call using the Mesh Potato (MP) Architecture – a very important moment in the life of any telephony project! The Prototype Mesh Potato hardware isn’t available yet, so we connected a DIR-300 router to a FXS Interface PCB. The DIR-300 router is based on the same chip set as the MP (Atheros AR2317) so it’s as close a a real MP as we can get.
This gives us a development environment almost identical to the MP which allows us to work on the firmware prior to having the actual MP hardware. This allow for faster development compared to waiting for the prototype MP hardware. When the prototype MP hardware arrives we will have tested firmware to use on the untested prototype MP hardware – greatly reducing the scope for bugs.
The firmware consists of several device drivers (8250mp.ko, mp.ko) and an Asterisk Channel Driver (chan_mp). To test we connected a SIP phone to Asterisk running on the DIR-300. Asterisk then routes the call to chan_mp, and via the device drivers to the FXS interface hardware. The audio samples actually flow through the AR2317 RS-232 UART, before being converted to TDM bus samples by a CPLD and Atmega microcontroller. Control and signaling is handled by a SPI port constructed from the AR2317 GPIO lines.
After a bit of tweaking the full duplex audio quality sounded just fine, CPU load was less than 1%. This was really just a basic Channel Driver designed to test the most important feature (full duplex audio) first. The next step is to add a bunch of other functionality like dial tone, echo cancellation, ringing and on/off hook detection.
We are very happy with this step – it’s a big chunk of firmware written and electronics tested.
Related posts:
- First Mesh Potato Phone Call Since the boot loader bugs have been tamed we have...
- 800m Phone Call I just made some test phone calls between two Mesh...
- Voice Over B.A.T.M.A.N. Bringing up Wifi On Friday I set about testing Wifi...
- A Phone Mesh A couple of months ago, Antoine Van Gelder (pictured below),...
- Mesh Potato Tests We have made good progress on the Mesh Potato (MP)...
Related posts brought to you by Yet Another Related Posts Plugin.









[...] First phone call through the Mesh Potato Architecture – posted over at the Village Telco blog. [...]
Wonderful progress… keep up the great work! And of course I(we) look forward to your next milestone/report, as-well-as seeing the first prototype.
Regards,
Eric Jarvies
It’s great, as always
Congratulations.
-eko didik widianto
congrats – I’m curious about the “finished” prototypes!
@Bastian The best place to satisfy your curiosity is on the village-telco-dev list. We have passed the prototype stage and will be shipping a hundred beta units this month for testing to groups around the world. Full production units should be ready in March/April.
Amazing,
I will keep following your work…I have been for a while now! If you need any help…I will be here!