Notes for SECN-1 Patch-02 ------------------------- This patch is for the firmware rv287 Small Campus Enterprise Network Ver 1 release and incorporates a web interface for configuring the Mesh Potato as well as some additional IVR commands. To apply the patch, simply copy the file to the / directory on the MP and unpack with the tar command: # tar -xzv -f .tar.gz The IVR commands are protected by an IVR PIN number which must be entered for the command to be completed. The initial value of the PIN is 1234 Additional / modified IVR configuration commands are: - Configure abbreviated unique IP address (2662) - Configure unique IP address C-O-N-F (2663) - Reset Asterisk (9999) - Set root password PASS (7277) - Set IVR PIN code PINN(7466) - Configure WiFi channel CHAN (2426) - Set WiFi passphrase WIFI (9434) - Reset to default configuration RESET (73738) - Set Gateway IP address last octet GATE (4283) - Set MP batman-adv gateway mode MPGW (6749) For details on usage see the SECN Ver 2 User Guide Softphone Support ----------------- *Experimental* support for Softphones has been added in Patch02b and expanded in Patch02c. On the SECN-Adv screen there is a drop down list in the VoIP / SIP section for Softphone Support, with values of OFF, CLIENT and MASTER. NOTE:Only on *one* Softphone Master device may be enabled on the network. All other devices that want to be able to dial out to a softphone need to be configured as Client. When a device is enabled as the Softphone Master device, its IP address will be automatically set to .252 This is because it is the registrar for the softphones and has to have a well known address. Softphones have been defined in /etc/asterisk/softphone.sip.conf Ten softphone extensions have been predefined as softph300 - softph309 with passwords Pa55uu0rd300 through Pa55uu0rd309 The first two - 300 and 301 - have allowed codecs set to ulaw only, as this is the only setting that works in our test setup. Other codecs gave poor quality speech. Your mileage may vary, as they say. Testing has been undertaken with Sipdroid and Linfone on Android phones, and 3CXPhone on iPhone. It also works with these softphone applications on a PC. To set up the profile on the phone, set the SIP Host to the IP address of the Softphone Master ie .252 Enter the required softphone extension Name and Password eg 'softph301' and 'Pa55uu0rd301' The softphone should register with Asterisk on the MP. If you run an Asterisk console on the Softphone Master device (command: # asterisk -vvvrd) you will see the softphone registration as it occurs. To call an MP on the mesh from a softphone, just dial the last octet of the MP IP address, and to call a softphone from either an MP or another softphone, just dial the three digit number of the softphone eg 301. DHCP Support ------------ On a standalone mesh network (ie with no gateway / uplink providing access to a DHCP server), cell phones and PCs connecting to the mesh either through an MP Ethernet port or via WiFi will not be able to get an IP address. Devices may either be configured with static IP addresses, or the DHCP server may be enabled on *one* MP device on the mesh. The MP DHCP Server may be enabled and configured using the DHCP Server section of the Advanced SECN weinterface. Patch02b -------- - Corrected typo in config-secn for SOFTPHFLAG - Added experimental DHCP script /bin/dhcpivr.sh to issue a client address to access MP Fallback. Intended to be used with an IVR command, not yet added. Patch 02c --------- - Extended Softphone Master and Client support