msergiy87 / phone_cisco_6921

My example of SEP.cnf.xml file for IP phone Cisco CP-6921
6 stars 7 forks source link
cisco xml

SEP.cnf.xml for Cisco CP-6921

The main configuration file for the phone. The actual name of the file is based on the MAC address of the phone, eg: SEP58971ECC97C1.cnf.xml (SEP\<MAC>.cnf.xml).

I used configuration the same as in following sites:

(https://github.com/amooma/GS3/wiki/Cisco-CP-69xx-VoIP-Telefone-mit-Asterisk-Gemeinschaft)

(https://zadarma.com/ru/support/instructions/cisco/cisco-6921/)

And get parameters explanations from this pages:

(http://docs.acsdata.co.nz/asterisk-cisco/sepmac-cnf-xml.shtml)

(http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+79x1+xml+configuration+files+for+SIP)

(http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+7970+SIP)

But I need configure some custom settings. For example:

1) I used g729a codec and I need callStats for correct end calls.
<preferredCodec>g729a</preferredCodec>
<callStats>true</callStats>
2) How the phone alerts the user to unread voicemail messages. Set only 'Light' and 'Prompt' signal when you have unread messages. Without stutter.
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>

'Light' is the bright red lamp on the headset.

'Prompt' will show up a flashing voicemail envelope next to the Line on the RHS side of the display when there is voicemail.

3) I need set amount of calls that phone can recive simultaneously. Otherwise it set response busy when have more then one calls.
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
4) Configure 2-nd line with auto answer for conference.
<autoAnswerTimer>1</autoAnswerTimer>

<line button="2">
<featureID>9</featureID>

<autoAnswerEnabled>3</autoAnswerEnabled>
<autoAnswerMode>Auto Answer with Speakerphone</autoAnswerMode>
5) Configure number to dial when the messages key is pressed.
<messagesNumber>VOICEMAIL_NUMBER</messagesNumber>

You can use another number for each line. And can use it for speed dial.

6) Configure access.
<settingsAccess>2</settingsAccess>

<sshAccess>1</sshAccess>
<sshPort>22</sshPort>
<webAccess>1</webAccess>
7) Set minimal ring volume. Maximum is 15.
<minimumRingVolume>10</minimumRingVolume>
8) Configure userLocale fnd networkLocale settings. You will have native language message on the phone display. The Network locales allows the phone to play tones (ringing, busy etc.) native to the phone's country. More here (http://docs.acsdata.co.nz/asterisk-cisco/user-locale.shtml), (http://docs.acsdata.co.nz/asterisk-cisco/network-locale.shtml)
<userLocale>
<networkLocale>
9) URL to use when the directories or contacts key is pressed. If necessary, set folder, where you store phonebook xml file.
<directoryURL>http://ASTERISK_SERVER_IP/phonebook.xml</directoryURL>
10) Set transport protocol. As I'm using not reliable network infrastructure, so I use TCP for transport. As you can, use UDP, it faster.
<transportLayerProtocol>4</transportLayerProtocol>
11) Disable DND.
<dndCallAlert>0</dndCallAlert>
<dndReminderTimer>5</dndReminderTimer>
12) Register first line to first server and second line to second server.
<line button="2">

<processNodeName>ASTERISK_SERVER_IP_2</processNodeName>
<proxy>ASTERISK_SERVER_IP_2</proxy>

6921