Configure The Mp01 To Let The Computers Connected To It By Ethernet Port Can Access The Internet - ATCOM MP01 Administrator's Manual

Hide thumbs Also See for MP01:
Table of Contents

Advertisement

[general]
register=6015:6015@192.168.1.100
[6015]
host=192.168.1.100
secret=6015
username=6015
insecure=very
type=friend
disallow=all
allow=gsm,ulaw,alaw
dtmfmode=rfc2833
qualify=yes
canreinvite=no
nat=yes
context=default
2) On MP01, edit /etc/asterisk/extension.conf and add some lines as below:
[default]
exten => _9.,1,Dial(SIP/6015/${EXTEN:1})
3) Assume that the outgoing calling rules on IP08 is „88+phone number‟, then
you can use MP01 to make international calls by dialing „988+phone
number‟.
2.2.5 Configure the MP01 to let the computers connected to it
by Ethernet port can access the Internet
1) Paste the below into a script named meshclientgw.sh and save it to /bin on
MP01.
#!/bin/sh
# This script has been tested with the ash shell from BusyBox.
# Written by Elektra
OLD_WIFI0_IP=`uci show network.wifi0.ipaddr | cut -d = -f 2`
if [ -z $OLD_WIFI0_IP ]
then
echo "You need to set a IP address for the wifi0 interface
before running this script."
exit 1
fi
/etc/init.d/batmand /etc/rc.d/S90batmand
OCTET_A=`uci show network.wifi0.ipaddr | cut -d = -f2 | cut -d . -f1`
10

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MP01 and is the answer not in the manual?

Questions and answers

Related Products for ATCOM MP01

Table of Contents