userdoc:tt_asterisk-fop2-install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt_asterisk-fop2-install [2013/08/03 20:44]
abelbeck [Install FOP2 via Web Interface]
userdoc:tt_asterisk-fop2-install [2015/10/31 07:09] (current)
droemel [Install FOP2 via CLI]
Line 1: Line 1:
 ====== Install FOP2 Add-On Package ====== ====== Install FOP2 Add-On Package ======
  
-The FOP2 Add-On Package requires hardware with 512 MB or more of RAM.+The FOP2 Add-On Package requires hardware with 512 MB or more of RAM.  FOP2 requires about 100 MB of RAM including AstLinux's RAM based ''/tmp/par-root/'' files. 
 + 
 +  * PC Engines Alix board, only 256 MB of RAM -> too little for FOP2 and other services. 
 +  * Soekris net5501 with 512 MB RAM -> works surprisingly well except for the long startup time of 61 secs. 
 +  * Dual Core Atom boards, Jetway, Lanner, etc. with 1024+ RAM -> works very nicely, startup time of 15 secs.
  
 !!Note: AstLinux 1.1.3 or later is required!! !!Note: AstLinux 1.1.3 or later is required!!
Line 24: Line 28:
   write = all   write = all
   writetimeout = 1000   writetimeout = 1000
-  eventfilter=!Event: RTCPSent +  eventfilter=!Event: RTCP*
-  eventfilter=!Event: RTCPReceived+
   eventfilter=!Event: VarSet   eventfilter=!Event: VarSet
   eventfilter=!Event: Cdr   eventfilter=!Event: Cdr
 +  eventfilter=!Event: DTMF
 +  eventfilter=!Event: AGIExec
   eventfilter=!Event: ExtensionStatus   eventfilter=!Event: ExtensionStatus
   eventfilter=!Event: ChannelUpdate   eventfilter=!Event: ChannelUpdate
 +  eventfilter=!Event: ChallengeSent
 +  eventfilter=!Event: SuccessfulAuth
 +  eventfilter=!Event: HangupRequest
 +  eventfilter=!Event: SoftHangupRequest
 +  eventfilter=!Event: NewAccountCode
 +  eventfilter=!Event: MusicOnHold
 +  eventfilter=!Event: LocalBridge
  
 Also, Edit the ''/etc/asterisk/sip.conf'' file and enable callevents: Also, Edit the ''/etc/asterisk/sip.conf'' file and enable callevents:
Line 45: Line 57:
 and at the end of ''users.cfg'' add a line something like: and at the end of ''users.cfg'' add a line something like:
  
-  user=admin:astlinux:all+  user=1234:4242:dial,transfer,pickup,meetme,preferences
  
-Finally, you can now create buttons with the ''/etc/fop2/buttons.cfg'' file.  Apply ''buttons.cfg'' file changes with "Reload Asterisk FOP2":+Finally, you can now create buttons with the ''buttons.cfg'' file.  Apply ''buttons.cfg'' file changes with "Reload Asterisk FOP2":
  
 {{:userdoc:edit-tab-fop2-reload.jpg?nolink|Reload FOP2}} {{:userdoc:edit-tab-fop2-reload.jpg?nolink|Reload FOP2}}
  
-In the web interface, upper right corner, click **FOP2**:+In the web interface, upper right corner, click on **FOP2**:
  
 {{:userdoc:all-tabs-fop2-link.png?nolink|FOP2 Link}} {{:userdoc:all-tabs-fop2-link.png?nolink|FOP2 Link}}
  
-You should be presented with a login dialog, login with the credentials defined above.+You should be presented with a new window and login dialog, login with the credentials defined above.
  
 \\ \\
Line 63: Line 75:
  
 will automatically stop any running daemon and remove the FOP2 code.  The ''/mnt/kd/fop2/'' directory is left alone, so later enabling (Upgrade/Install) fop2 picks up where you left off. will automatically stop any running daemon and remove the FOP2 code.  The ''/mnt/kd/fop2/'' directory is left alone, so later enabling (Upgrade/Install) fop2 picks up where you left off.
- 
- 
 ===== Install FOP2 via CLI ===== ===== Install FOP2 via CLI =====
  
Line 86: Line 96:
   write = all   write = all
   writetimeout = 1000   writetimeout = 1000
-  eventfilter=!Event: RTCPSent +  eventfilter=!Event: RTCP*
-  eventfilter=!Event: RTCPReceived+
   eventfilter=!Event: VarSet   eventfilter=!Event: VarSet
   eventfilter=!Event: Cdr   eventfilter=!Event: Cdr
 +  eventfilter=!Event: DTMF
 +  eventfilter=!Event: AGIExec
   eventfilter=!Event: ExtensionStatus   eventfilter=!Event: ExtensionStatus
   eventfilter=!Event: ChannelUpdate   eventfilter=!Event: ChannelUpdate
 +  eventfilter=!Event: ChallengeSent
 +  eventfilter=!Event: SuccessfulAuth
 +  eventfilter=!Event: HangupRequest
 +  eventfilter=!Event: SoftHangupRequest
 +  eventfilter=!Event: NewAccountCode
 +  eventfilter=!Event: MusicOnHold
 +  eventfilter=!Event: LocalBridge
  
 Also, Edit the ''/etc/asterisk/sip.conf'' file and enable callevents: Also, Edit the ''/etc/asterisk/sip.conf'' file and enable callevents:
Line 97: Line 115:
   callevents=yes   callevents=yes
  
-Next, start the fop2 sevice with the following CLI commands:+Next, start the fop2 service with the following CLI commands:
  
   asterisk -rx "manager reload"   asterisk -rx "manager reload"
Line 111: Line 129:
 Next, Edit the ''/etc/fop2/users.cfg'' file and at the end add a line something like: Next, Edit the ''/etc/fop2/users.cfg'' file and at the end add a line something like:
  
-  user=admin:astlinux:all+  user=1234:4242:dial,transfer,pickup,meetme,preferences
  
 Finally, you can now create buttons with the ''/etc/fop2/buttons.cfg'' file.  Apply ''buttons.cfg'' file changes with: Finally, you can now create buttons with the ''/etc/fop2/buttons.cfg'' file.  Apply ''buttons.cfg'' file changes with:
  • userdoc/tt_asterisk-fop2-install.1375580687.txt.gz
  • Last modified: 2013/08/03 20:44
  • by abelbeck