scurry7
Member
- Joined
- Jun 29, 2010
- Messages
- 49
- Reaction score
- 1
I'm using chan-sccp-b with some Cisco phones. Also I'm using SCCP Manager Module. From what I can tell I've set it up properly, but obviously I'm missing something.
The error:
I used these guides:
my sccp.conf
cat /etc/asterisk/extconfig.conf
I imported the mysql-v5.sql from sccp source successfully: (mysql ... asterisk < mysql-v5.sql)
the database
The error:
Code:
SEP000DBCD92F62: is registering, Instance: 1, UserId: 0, Type: Cisco 7905 (20000), Version: 8 (loadinfo '')
[2014-02-17 13:53:05] NOTICE[9154]: sccp_actions.c:517 sccp_handle_register: SEP000DBCD92F62: Rejecting device: Device Unknown
I used these guides:
- chan-sccp-b: http://sourceforge.net/p/chan-sccp-b/wiki/FreePBX/
- SCCP Manager Module: http://wp.daveheavyindustries.com/2012/11/05/sccp-and-asterisk/
my sccp.conf
Code:
cat /etc/asterisk/sccp.conf
[general]
servername = Asterisk
keepalive = 60
debug = core,event,device,channel
context = from-internal
dateFormat = D.M.Y
bindaddr = 0.0.0.0
port = 2000
disallow=all
allow=g722
allow=alaw
allow=ulaw
firstdigittimeout = 16
digittimeout = 8
autoanswer_ring_time = 1
autoanswer_tone = 0x32
remotehangup_tone = 0x32
transfer_tone = 0
callwaiting_tone = 0x2d
musicclass=default
language=en
permit=10.10.1.0/255.255.255.0
deny=0.0.0.0/0.0.0.0
dnd = off
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
private = off
callanswerorder=oldestfirst
meetme = on
meetme = qxd
hotline_enabled=no ; can devices without configuration register
hotline_context=default ; context for hotline
hotline_extension=2000 ; extension will be dialed on offHook
devicetable=sccpdevice
linetable=sccpline
cat /etc/asterisk/extconfig.conf
Code:
sccpdevice => mysql,asterisk,sccpdevice
sccpline => mysql,asterisk,sccpline
the database
Code:
mysql> select * from sccpdevice;
+------+-------+-------------+----------+----------+---------+----------+-----------+--------------+------+--------+------------+-----------+----------+---------+------- ----+-------------+---------------+------------------+---------+---------+------+------------+-----------+-----------+-----------+-----------+------------+-------------- --------------+-------------------------+--------------------+--------------------------+--------------------+--------+----------+-------+-----------------+----------+-- ---------------+
| type | addon | description | tzoffset | transfer | cfwdall | cfwdbusy | dtmfmode | imageversion | deny | permit | dndFeature | directrtp | earlyrtp | mwilamp | mwionc all | pickupexten | pickupcontext | pickupmodeanswer | private | privacy | nat | softkeyset | audio_tos | audio_cos | video_tos | video_cos | conf_allow | conf_play_gen eral_announce | conf_play_part_announce | conf_mute_on_entry | conf_music_on_hold_class | conf_show_conflist | setvar | disallow | allow | backgroundImage | ringtone | n ame |
+------+-------+-------------+----------+----------+---------+----------+-----------+--------------+------+--------+------------+-----------+----------+---------+------- ----+-------------+---------------+------------------+---------+---------+------+------------+-----------+-----------+-----------+-----------+------------+-------------- --------------+-------------------------+--------------------+--------------------------+--------------------+--------+----------+-------+-----------------+----------+-- ---------------+
| 790X | NULL | NULL | NULL | on | on | on | outofband | NULL | NULL | NULL | on | off | progress | on | on | on | NULL | on | on | off | off | softkeyset | NULL | NULL | NULL | NULL | on | on | on | off | default | on | NULL | NULL | NULL | NULL | NULL | S EP000DBCD92F62 |
+------+-------+-------------+----------+----------+---------+----------+-----------+--------------+------+--------+------------+-----------+----------+---------+------- ----+-------------+---------------+------------------+---------+---------+------+------------+-----------+-----------+-----------+-----------+------------+-------------- --------------+-------------------------+--------------------+--------------------------+--------------------+--------+----------+-------+-----------------+----------+-- ---------------+
1 row in set (0.00 sec)
mysql> select * from sccpline;
+------+------+-------+-------------+--------------------+---------------+----------+---------+-------+----------+---------+---------+---------------------------+-------------------------+------------+----------+-------------+------------+--------------------+-----------+-------------+----------+------+--------+------+
| id | pin | label | description | context | incominglimit | transfer | mailbox | vmnum | cid_name | cid_num | trnsfvm | secondary_dialtone_digits | secondary_dialtone_tone | musicclass | language | accountcode | echocancel | silencesuppression | callgroup | pickupgroup | amaflags | dnd | setvar | name |
+------+------+-------+-------------+--------------------+---------------+----------+---------+-------+----------+---------+---------+---------------------------+-------------------------+------------+----------+-------------+------------+--------------------+-----------+-------------+----------+------+--------+------+
| 3000 | 3000 | 3000 | NULL | from-internal-xfer | 2 | on | 3000 | *97 | NULL | 3000 | NULL | NULL | NULL | default | NULL | NULL | on | off | NULL | NULL | NULL | on | NULL | 3000 |
+------+------+-------+-------------+--------------------+---------------+----------+---------+-------+----------+---------+---------+---------------------------+-------------------------+------------+----------+-------------+------------+--------------------+-----------+-------------+----------+------+--------+------+
1 row in set (0.00 sec)