MARS
A small hybrid PBX embedded in a WI-FI router.
Setup for GrandStream BT-200 Phone
Setup for X-Lite Softphone
Basic Settings
These instructions are for a GrandStream BT-200 but should be similar with any other GrandStream VoIP phone.

1- Connect your VoIP phone to one LAN port of the MARS system

2- Find the current IP Address of the phone, using the phone menu.

3- Point your browser to this IP address to get the GS phone's HTTP interface. (The default pwd is: admin) and select the "Basic Settings" Tab.

4- Set the telephone to use a static IP address.   (For simplicity, i like to use a static IP which ends with the extension number in the Local LAN. Ex: 192.168.1.200 for ext 200. This makes getting to the GS HTTP interface easier as it has a fixed IP address which allow to conveniently create bookmark in your browser to get to the GS phone interface.)
IP Address: 192.168.1.200
Subnet Mask: 255.255.255.0
Default Router: 192.168.1.1 (MARS' system LAN IP address)
DNS Server 1: 192.168.1.1 (MARS' system LAN IP address)

5-Set your TimeZone

6- Device Mode: Switch and save the configuration by pressing the "Update" button

7- Select the Advanced Settings Tab, and set the "Local RTP Port" to a value from 10000 to 10016. Each phone should be assigned a different RTP port with a separation of 2 port. I.e. Ext 200 uses RTP port 10000. Ext 201 uses 10002 ext 202 uses 10004 etc ... This step is not really required unless you plan to connect trough a NAT. In the default configuration, MARS' firewall "opens" port 10000 to 10128.

8- Save and update you changes by pressing the "Update" button

9- Select the "Account Tab" and set the following value (This example is for extension 200)
Account Name: <User Name>
SIP Server: 192.168.1.1
(MARS' system LAN IP address)
Sip User ID: 200 (Extension number)
Authenticate ID: 200 (Extension number)
Authenticate Password: 200 (Extension number)

Voice Mail UserID: *98
Send DTMF:  via RTP (RFC2833)
Enable Call Features: No
Preferred Vocoder: 1-PCMU  2-GSM

10- Save and update you changes by pressing the "Update" button

After this step the GS phone should register with the MARS system and be ready to use.
Try calling *77 (Send) .. the system should say the extension number.
Call 7777 (Send or #) to simulate an incoming call (Automated attendant ...)
See the user Manual for more options.
NOTE: The first call to the system will take up to 5 seconds to be answered. The next calls will then be answered immediately.
Grandstream Device Configuration
STATUS BASIC SETTINGS ADVANCED SETTINGS ACCOUNT
End User Password:   (purposely not displayed for security protection)
IP Address:
dynamically assigned via DHCP (default) or PPPoE
(will attempt PPPoE if DHCP fails and following is non-blank)
  PPPoE account ID:
  PPPoE password:
  Host name
(Option 12):
  Domain name
(Option 15):
  Vendor Class ID
(Option 60):
 Preferred DNS server: . . .
statically configured as:
       IP Address:  (*1)   . . .
       Subnet Mask:   . . .
       Default Router: (*2)   . . .
       DNS Server 1:(*2)   . . .
       DNS Server 2:   . . .
Time Zone:  
  Allow DHCP Option 2 to override Time Zone setting:
    No     Yes
Daylight Savings Time:   No      Yes  
 Optional Rule:
Date Display Format:   Year-Month-Day
  Month-Day-Year
  Day-Month-Year
Display Account Name
instead of Date:
  No      Yes
 
System Device Mode
Device Mode:   Switch (default) NAT/Router     
 
NAT/Router Configuration (Not used ...)
 
WAN side http access:   No      Yes   (WAN side access to http server will be rejected if set to No)
Reply to ICMP on WAN port:   No      Yes   (Unit will not respond to PING from WAN side if set to No)
Cloned WAN MAC Addr:             (in hex format)
LAN Subnet Mask:   (default is 255.255.255.0)
LAN DHCP Base IP:   (base IP for the LAN port, default is 192.168.2.1)
DHCP IP Lease Time:   (in units of hours, default is 120 hours or 5 days)
DMZ IP:  
Port Forwarding:     WAN port    LAN IP            LAN port   Protocol
              
             
             
             
             
             
             
             
     
All Rights Reserved Grandstream Networks, Inc. 2004-2006


(*1)  Set to 192.168.1.Ext . Ex: 192.168.1.200 for extension 200, 192.168.1.201 for ext. 201 etc.
(*2)  Set to the LAN IP address of the MARS system (default 192.168.1.1)
Advanced Settings
local RTP port:   (1024-65535, default 5004) Select from 10000 to 10016
Use random port:   No      Yes
Account 
Grandstream Device Configuration
STATUS BASIC SETTINGS ADVANCED SETTINGS ACCOUNT

Account Name:   (e.g., MyCompany)
SIP Server:   (e.g., sip.mycompany.com, or IP address) MARS IP
Outbound Proxy:   (e.g., proxy.myprovider.com, or IP address, if any)
SIP User ID:   (the user part of an SIP address)
Authenticate ID:   (can be identical to or different from SIP User ID)
Authenticate Password:   (purposely not displayed for security protection)
Name:   (optional, e.g., John Doe)
Use DNS SRV:   No      Yes
User ID is phone number:    No       Yes
SIP Registration:    No       Yes
Unregister On Reboot:    No       Yes
Register Expiration:   (in minutes. default 1 hour, max 45 days)
local SIP port:   (default 5060)
SIP T1 Timeout:  
SIP T2 Interval:  
NAT Traversal (STUN):   No     No, but send keep-alive     Yes
SUBSCRIBE for MWI:   No     Yes
Proxy-Require:  
Voice Mail UserID:   (User ID/extension for 3rd party voice mail system)
Send DTMF:   in-audio     via RTP (RFC2833)     via SIP INFO
Early Dial:   No       Yes (use "Yes" only if proxy supports 484 response)
Dial Plan Prefix:   (this prefix string is added to each dialed number)
Enable Call Features:   No      Yes (if Yes, Call Forwarding & Call-Waiting-Disable are supported locally)
Session Expiration:   (in seconds. default 180 seconds)
Min-SE:   (in seconds. default and minimum 90 seconds)
Caller Request Timer:    No       Yes (Request for timer when making outbound calls)
Callee Request Timer:    No       Yes (When caller supports timer but did not request one)
Force Timer:    No       Yes (Use timer even when remote party does not support)
UAC Specify Refresher:   UAC   UAS     Omit (Recommended)
UAS Specify Refresher:   UAC   UAS (When UAC did not specify refresher tag)
Force INVITE:    No       Yes (Always refresh with INVITE instead of UPDATE)
Enable 100rel:    No       Yes
Account Ring Tone:   system ring tone
  custom ring tone 1
  custom ring tone 2
  custom ring tone 3
Send Anonymous:   No      Yes   (caller ID will be blocked if set to Yes)
Anonymous Method:   Use From Header      Use Privacy Header  
Auto Answer:   No      Yes  
Allow Auto Answer by Call-Info:   No      Yes  
Turn off speaker on
remote disconnect:
  No      Yes  
Check SIP User ID
for incoming INVITE:
  No      Yes  
Preferred Vocoder:
(in listed order)
choice 1:  
choice 2:  
choice 3:  
choice 4:  
choice 5:  
choice 6:  
choice 7:  
choice 8:  
SRTP Mode:   Disabled      Enabled but not forced       Enabled and forced  
Special Feature:  

     
All Rights Reserved Grandstream Networks, Inc. 2004-2006
X-Lite Softphone Setup
These instructions are for X-Lite V3 but the setup is similar for most other software phones.

1- Right click on the display and select "Sip Account Setting"
2- Select add to create a new SIP account and enter the following values (This example is for extension 200):

Account:
Display Name:  <Phone's user name>
User Name: 200
Password: 200
Domain: 192.168.1.1

3- Press the Apply button and exit ...

X-lite should now connect to the MARS system.