Difference between revisions of "Instalasi SER"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Install SER # apt-get install ser Restart SER # /etc/init.d/ser restart ---- * Linux Howto * VoIP) |
Onnowpurbo (talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | Siapkan MySQL Server | ||
| + | |||
| + | # apt-get install mysql-server libmysqlclient15-dev | ||
| + | # apt-get install libphp-adodb | ||
| + | # apt-get install libgd2-xpm libgd2-xpm-dev | ||
| + | # apt-get install php5-mysql | ||
| + | # apt-get install php5-gd | ||
| + | # apt-get install php5-curl | ||
| + | # apt-get install php-image-graph php-image-canvas php-pear | ||
| + | |||
| + | Siapkan Password Root untuk MySQL | ||
| + | |||
| + | mysql | ||
| + | mysql> SET PASSWORD FOR root@localhost=PASSWORD('password'); | ||
| + | |||
| + | |||
| + | |||
Install SER | Install SER | ||
| Line 6: | Line 23: | ||
# /etc/init.d/ser restart | # /etc/init.d/ser restart | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Menggunakan SERctl== | ||
| + | |||
| + | # serctl | ||
| + | /usr/sbin/serctl $Revision: 1.83.2.2 $ | ||
| + | parameter usage: | ||
| + | |||
| + | * subscribers * | ||
| + | add <username> <password> <email> .. add a new subscriber (*) | ||
| + | passwd <username> <passwd> ......... change user's password (*) | ||
| + | rm <username> ...................... delete a user (*) | ||
| + | mail <username> .................... send an email to a user | ||
| + | alias show [<alias>] ............... show aliases | ||
| + | alias rm <alias> ................... remove an alias | ||
| + | alias add <alias> <uri> ............ add an aliases | ||
| + | rpid add <username> <rpid> ......... add rpid for a user (*) | ||
| + | rpid rm <username> ................. set rpid to NULL for a user (*) | ||
| + | rpid show <username> ............... show rpid of a user | ||
| + | |||
| + | * access control lists * | ||
| + | acl show [<username>] .............. show user membership | ||
| + | acl grant <username> <group> ....... grant user membership (*) | ||
| + | acl revoke <username> [<group>] .... grant user membership(s) (*) | ||
| + | |||
| + | * usrloc * | ||
| + | ul show [<username>]................ show in-RAM online users | ||
| + | ul rm <username> ................... delete user's UsrLoc entries | ||
| + | ul add <username> <uri> ............ introduce a permanent UrLoc entry | ||
| + | showdb [<username>] ................ show online users flushed in DB | ||
| + | |||
| + | * pa * | ||
| + | pa pres <p_uri> <pstate>............ set pstate for a presentity | ||
| + | pa loc <p_uri> <loc>................ set location for a presentity | ||
| + | |||
| + | * domains * | ||
| + | domain show ........................ show list of served domains | ||
| + | domain add <domainname> ............ add a new served domain | ||
| + | domain rm <domainname> ............. remove a served domain | ||
| + | |||
| + | * control and diagnostics * | ||
| + | moni ... show internal status start .... start ser | ||
| + | ps ..... show runnig processes stop ..... stop ser | ||
| + | fifo ... send raw FIFO commands restart .. restart ser | ||
| + | ping <uri> .. ping a URI (OPTIONS) | ||
| + | cisco_restart <uri> .. restart a Cisco phone (NOTIFY) | ||
| + | |||
| + | |||
| + | Commands labeled with (*) will prompt for a MySQL password. | ||
| + | If the variable PW is set, the password will not be prompted. | ||
| + | |||
| + | ACL privileges are: local ld int voicemail free-pstn prepaid | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
Revision as of 08:50, 5 March 2008
Siapkan MySQL Server
# apt-get install mysql-server libmysqlclient15-dev # apt-get install libphp-adodb # apt-get install libgd2-xpm libgd2-xpm-dev # apt-get install php5-mysql # apt-get install php5-gd # apt-get install php5-curl # apt-get install php-image-graph php-image-canvas php-pear
Siapkan Password Root untuk MySQL
mysql
mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');
Install SER
# apt-get install ser
Restart SER
# /etc/init.d/ser restart
Menggunakan SERctl
# serctl /usr/sbin/serctl $Revision: 1.83.2.2 $ parameter usage:
* subscribers * add <username> <password> <email> .. add a new subscriber (*) passwd <username> <passwd> ......... change user's password (*) rm <username> ...................... delete a user (*) mail <username> .................... send an email to a user alias show [<alias>] ............... show aliases alias rm <alias> ................... remove an alias alias add <alias> <uri> ............ add an aliases rpid add <username> <rpid> ......... add rpid for a user (*) rpid rm <username> ................. set rpid to NULL for a user (*) rpid show <username> ............... show rpid of a user
* access control lists * acl show [<username>] .............. show user membership acl grant <username> <group> ....... grant user membership (*) acl revoke <username> [<group>] .... grant user membership(s) (*)
* usrloc * ul show [<username>]................ show in-RAM online users ul rm <username> ................... delete user's UsrLoc entries ul add <username> <uri> ............ introduce a permanent UrLoc entry showdb [<username>] ................ show online users flushed in DB
* pa * pa pres <p_uri> <pstate>............ set pstate for a presentity pa loc <p_uri> <loc>................ set location for a presentity
* domains * domain show ........................ show list of served domains domain add <domainname> ............ add a new served domain domain rm <domainname> ............. remove a served domain
* control and diagnostics * moni ... show internal status start .... start ser ps ..... show runnig processes stop ..... stop ser fifo ... send raw FIFO commands restart .. restart ser ping <uri> .. ping a URI (OPTIONS) cisco_restart <uri> .. restart a Cisco phone (NOTIFY)
Commands labeled with (*) will prompt for a MySQL password. If the variable PW is set, the password will not be prompted.
ACL privileges are: local ld int voicemail free-pstn prepaid