|
Revision 7463, 1.1 kB
(checked in by pnlarsson, 3 years ago)
|
A helper module for chan_sccb, v0.1
|
| Line | |
|---|
| 1 |
A helper module for chan_sccp-b |
|---|
| 2 |
|
|---|
| 3 |
Install chan_sccp-b from svn: |
|---|
| 4 |
|
|---|
| 5 |
cd /usr/src |
|---|
| 6 |
svn co https://chan-sccp-b.svn.sourceforge.net/svnroot/chan-sccp-b/branches/v2 chan_sccp2-b |
|---|
| 7 |
cd chan_sccp2-b |
|---|
| 8 |
make |
|---|
| 9 |
make install |
|---|
| 10 |
|
|---|
| 11 |
add this line to /etc/asterisk/modules.conf |
|---|
| 12 |
|
|---|
| 13 |
noload => chan_skinny.so |
|---|
| 14 |
|
|---|
| 15 |
modify /etc/asterisk/sccp.conf to your needs (remove the devices and lines that are in the conf) |
|---|
| 16 |
|
|---|
| 17 |
Add to /etc/asterisk/extconfig.conf |
|---|
| 18 |
|
|---|
| 19 |
sccpdevice => mysql,asterisk |
|---|
| 20 |
sccpline => mysql,asterisk |
|---|
| 21 |
|
|---|
| 22 |
And /etc/asterisk/res_mysql.conf |
|---|
| 23 |
|
|---|
| 24 |
[general] |
|---|
| 25 |
dbhost = localhost |
|---|
| 26 |
dbname = asterisk |
|---|
| 27 |
dbpass = amp109 |
|---|
| 28 |
dbuser = asteriskuser |
|---|
| 29 |
dbsock = /var/lib/mysql/mysql.sock |
|---|
| 30 |
|
|---|
| 31 |
Install tftp |
|---|
| 32 |
|
|---|
| 33 |
yum install tftp-server |
|---|
| 34 |
chmod 777 /tftpboot |
|---|
| 35 |
|
|---|
| 36 |
Set disbaled = no in /etc/xinetd.d/tftp |
|---|
| 37 |
|
|---|
| 38 |
chkconfig xinetd on |
|---|
| 39 |
service xinetd start |
|---|
| 40 |
|
|---|
| 41 |
Module installation: |
|---|
| 42 |
1. untar this module in admin/modules |
|---|
| 43 |
2. Goto freepbx admin -> Module Admin |
|---|
| 44 |
3. Find the module and select Install -> Procced |
|---|
| 45 |
4. In the Setup menu -> SCCP Phone |
|---|
| 46 |
5. Add the phone with its MAC address, type and the freepbx extension |
|---|
| 47 |
6. Apply configuration and you are done! |
|---|
| 48 |
7. Enter the ip of your server into the cisco phone (tftpaddress) and start making calls. |
|---|