Wednesday, March 13, 2013

AudioCodes MP-114 - SAS (Stand Alone Survivability) configuration

[asterisk-users] AudioCodes MP-114 - SAS (Stand Alone Survivability) configuration

Joseph syscon780 at
Wed Jan 13 18:23:09 CST 2010

Correct me anybody if I'm wrong but I think SAS option is for WAN only not for the case if AudioCodes MP and Asterisk are on the same network.

I was trying to configure the fail-over mode in scenarios:
- Asterisk sever goes down (doesn't happen very often, never happened to me but it could) 
- hardware failure 
- power loss etc.

(It seems to me Audiocodes caters MS and/or close source hardware; they have many "doc" files on their web-page but very little or none pertaining 
to Asterisk configuration with their hardware MediaPack), so here is my solution without going through 500-pages manual.
So in the above cases the calls should go through IN or OUT without interuptions, Audiocodes MP can be configured for fail-over mode; my old Liksys 3102 CAN 
NOT, when power goes down and Linksys is up, the calls will not go through. 

Here is the relevant configuration for the above scenario:

Protocol Configuration -> Proxies/IpGroups/Registration -> Proxy & Registration -> 
Use Default Proxy: NO
Enable Fallback to Routing Table: Enable
Prefer Routing Table: NO
Enable Registration: Enable
Registrar IP Address:  (enter IP address of the asterisk server, very important)
Gateway Name: (none)
Gateway Registration Name: (none)
Subscription Mode: Per Endpoint
User Name: (none)
Password: Default_Passwd
Cnonce: Default_Cnonce
Authentication Mode: Per Endpoint

Routing Tables -> Routing General Parameters ->
Alt Routing Tel to IP Connectivity Method: SIP OPTION ; (in case asterisk and MP-114 are on the same network)

Tel to IP Routing ->  (your numbers and IP's will be different)
Src. Trunk Group ID  Dest. Phone Prefix  Source Phone Prefix  Dest. IP Address
*                    369                  *          
*                    *                    *          
*                    *                    *          

First line is for fax extension, there is no reason to forward it to asterisk, it should go directly to Hylafax (or your fax machine) regardless of 
asterisk status.
Without playing/entering all internal extensions, second line directs all calls to Asterisk sever. 
Third line is for fail-over mode in case of Asterisk failure, power failure, all calls are directed via to MP-114 so calls go IN and OUT without interruption 

In addition to these setting user must configure:

Routing Tables -> IP to Trunk Group Routing 
Endpoint Settings -> Authentication
Endpoint Settings -> Automatic Dialing
Endpoint Number -> EndPoint Phone Number
Hunt Group -> Hunt Group Settings

and Optionally: 
Manipulation Tables -> Dest Number IP->Tel


Change the IP address of an AudioCodes MP-112 VoIP Gateway

Change the IP address of an AudioCodes MP-112 VoIP Gateway

One of the useful elements in an all-IP environment is an AudioCodes VoIP gateway. The problem with the thing is the IP address. If you want to access it, but you don't have the IP address available, you can change it by using an analog telephone.
- Connect the phone to FXS port 1
- Pick up the phone, and dial ***12345
- Dial 1# to change the IP address
- A voice will spell the current address partially.
- Press #
- The system asks to enter the new IP address
- Enter the new address, use * for a . (so 127*0*0*1 for example)
- The system repeats the IP address entered
- Press 1 to save it
To change the subnet mask you have to choose #2, to change the default gateway you have to choose #3 in the beginning.
After this is done, you can log in using the web interface. Default username and password are Admin-Admin.

It is very simple reset device
then ip :
user : admin
pass ; admin
Use bootp software(Audio Codecs CD) send this config file

[SYSTEM Params]
[BSP Params]

Friday, March 8, 2013

Run Control Panel Applets as Another User

Run Control Panel Applets as Another User

How can I run Control Panel applets as another user (one with administrative privileges)?
Sometimes you'll want to do file and folder modifications, or even partition formatting, but you won't want to do it while logged on as an administrator.

Every Control Panel applet is in fact a file with a .CPL extension. If you perform a search for these files you'll see that they're all located in the %systemroot%\system32 folder.
  1. Right-click any file and choose Run As.

  1. A dialog box will pop-up asking you for a valid username and password. Enter one of a user that has the required administrative privileges to run and manage that applet.

  1. If you gave a valid username and password the applet will open giving you the full permissions to manage it.

That's it!
BTW, it's time you got to know the RUNAS command that's now native in W2K and XP. Open a Command Prompt and run the following command:
runas /user:computername\Administrator command
where computername is the name of your computer, and username is the name of the user you're trying to run the command as (e.g. Administrator). The command is the command you're trying to run (e.g. a batch file, an .exe file or even a control panel applet).
For example, to open System from a command line as an administrator, type:
runas /user:computername\Administrator "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl"
For a list of some of the Control Panel applet filenames see this (incomplete) list:
Control Panel Applet Filename
Accessibility access.cpl
Add New Hardware hdwwiz.cpl
Add/Remove Programs appwiz.cpl
Date/Time Properties timedate.cpl
Display Properties desk.cpl
FindFast findfast.cpl
Internet Properties inetcpl.cpl
Joystick Properties joy.cpl
Keyboard Properties main.cpl
Local Users management nusrmgr.cpl
Microsoft Exchange mlcfg32.cpl
Microsoft Mail Post Office wgpocpl.cpl
Modem Properties modem.cplNote: In Windows NT 4.0, W2K, XP and Windows 2003 - Modem properties is telephon.cpl
Mouse Properties main.cpl
Multimedia Properties mmsys.cpl
Network Properties netcpl.cplNote: In Windows NT 4.0, W2K, XP and Windows 2003 - Network properties is Ncpa.cpl
Password Properties password.cpl
Power Options powercfg.cpl
Regional Settings intl.cpl
Sound Properties mmsys.cpl
System Properties sysdm.cpl
Each applet might have additional features. See the links on the right for more details.
Description of Control Panel (.cpl) Files - 149648