cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
39593
Views
15
Helpful
52
Replies

Need help to register cisco CP-6941 / CP-8941 with Asterisk server

52 Replies 52

i test this config. If i set "USECALLMANAGER", 7945 has alarm (i can ssh 7945) such as:

-----------------Alarms sent out to UCM--------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<x-cisco-alarm>
<Alarm Name="LastOutOfServiceInformation">
<ParameterList>
<String name="DeviceName">SEP346F9017A92F</String>
<String name="DeviceIPv4Address">10.10.17.250/16</String>
<String name="IPv4DefaultGateway">10.10.255.254</String>
<String name="DeviceIPv6Address"></String>
<String name="IPv6DefaultGateway"></String>
<String name="ModelNumber">CP-7945G</String>
<String name="NeighborIPv4Address">172.16.1.17</String>
<String name="NeighborIPv6Address"></String>
<String name="NeighborDeviceID">C4503E-L3-X</String>
<String name="NeighborPortID">GigabitEthernet2/28</String>
<Enum name="DHCPv4Status">1</Enum>
<Enum name="DHCPv6Status">0</Enum>
<Enum name="TFTPCfgStatus">1</Enum>
<Enum name="DNSStatusUnifiedCM1">1</Enum>
<Enum name="DNSStatusUnifiedCM2">0</Enum>
<Enum name="DNSStatusUnifiedCM3">0</Enum>
<String name="VoiceVLAN">3</String>
<String name="UnifiedCMIPAddress">10.200.200.6</String>
<String name="LocalPort">-1</String>
<String name="TimeStamp">13787939489811423209613727</String>
<Enum name="ReasonForOutOfService">24</Enum>
<String name="LastProtocolEventSent">Sent:REGISTER sip:10.200.200.6 SIP/2.0  Cseq:122 REGISTER CallId:346f9017-a92f0017-0514e3a8-3ef8cf20@10.10.17.250</String>
<String name="LastProtocolEventReceived"></String>
</ParameterList>
</Alarm>
</x-cisco-alarm>

-------------------------------------------------------------------------------

If i set " ims.telecom.com" , 7945 has alarm such as:

 

-----------------Alarms not yet sent out to UCM--------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<x-cisco-alarm>
<Alarm Name="LastOutOfServiceInformation">
<ParameterList>
<String name="DeviceName">SEP346F9017A92F</String>
<String name="DeviceIPv4Address">10.10.17.250/16</String>
<String name="IPv4DefaultGateway">10.10.255.254</String>
<String name="DeviceIPv6Address"></String>
<String name="IPv6DefaultGateway"></String>
<String name="ModelNumber">CP-7945G</String>
<String name="NeighborIPv4Address">172.16.1.x</String>
<String name="NeighborIPv6Address"></String>
<String name="NeighborDeviceID">C4503E-L3-X</String>
<String name="NeighborPortID">GigabitEthernet2/28</String>
<Enum name="DHCPv4Status">1</Enum>
<Enum name="DHCPv6Status">0</Enum>
<Enum name="TFTPCfgStatus">1</Enum>
<Enum name="DNSStatusUnifiedCM1">1</Enum>
<Enum name="DNSStatusUnifiedCM2">0</Enum>
<Enum name="DNSStatusUnifiedCM3">0</Enum>
<String name="VoiceVLAN">3</String>
<String name="UnifiedCMIPAddress">10.200.200.6</String>
<String name="LocalPort">-1</String>
<String name="TimeStamp">13787939489811423209613727</String>
<Enum name="ReasonForOutOfService">24</Enum>
<String name="LastProtocolEventSent">Sent:REGISTER sip:10.200.200.6 SIP/2.0  Cseq:122 REGISTER CallId:346f9017-a92f0017-0514e3a8-3ef8cf20@10.10.17.250</String>
<String name="LastProtocolEventReceived"></String>
</ParameterList>
</Alarm>
</x-cisco-alarm>

-------------------------------------------------------------------------------

i have a problem: "<proxy>USECALLMANAGER</proxy>" why set "USECALLMANAGER". 

Firmware version 9.X is very explicit.  The tag "USECALLMANAGER" is all over the place.  I have set mine this way too.

Hello Leo Laohoo, i use yours configuration(cisco 8961) for my CISCO 8941, but remain in "phone not registered"

IP (tos 0xc0, ttl 64, id 51172, offset 0, flags [none], proto ICMP (1), length 576)
    192.168.199.207 > [PBX IP]: ICMP 192.168.199.207 udp port 54714 unreachable, length 556
    IP (tos 0x60, ttl 64, id 25153, offset 0, flags [none], proto UDP (17), length 596)
    [PBX IP].sip > 192.168.199.207.54714: SIP, length: 568
    SIP/2.0 401 Unauthorized
    Via: SIP/2.0/UDP 192.168.199.207:5060;branch=z9hG4bK4bc9ad6b;received=192.168.199.207;rport=54714
    From: <sip:645@ [PBX IP]>;tag=8478acedd9e900083f65c792-218060a6
    To: <sip:645@ [PBX IP]>;tag=as669ee78c
    Call-ID: 8478aced-d9e90006-134a4358-686985eb@192.168.199.207
    CSeq: 106 REGISTER
    Server: FPBX-12.0.76.4(11.25.1)
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
    Supported: replaces, timer
    WWW-Authenticate: Digest algorithm=MD5, realm="a[|sip]

Why?

Carlo, 

Create a new thread and attach the SEPmacaddress.cnx.xml file used.

Also include in the thread what the "Status All" states on the phone.

Thank you so much Leo for the good job, Unfortunately my phone is not registering here is my SEP file

Hello,  has you try use cisco phone with two or more different SIP proxy for several SIP lines or it is NOT possible ?

do you have any success with 8941? i need help if you have done this.
please let me know which firmware you have used also it would be best if you share one sample .cnf.xml file.

SorenStoutner
Level 1
Level 1

One of my clients had a number of old Cisco CP-6941 phones that previously had been attached to a Cisco Call Manager.  They wanted to use them on a new FreePBX system (FreePBX version 15.0.16.75 running Asterisk 16.13.0).  As much as possible I wanted to use the GUI interface provided by FreePBX, instead of patching Asterisk or writing config files by hand.  These instructions require purchasing the commercial Endpoint Manager module.  The following worked for me.

 

1.  Upgrade the phones from SCCP to SIP.  I used SIP 9.4(1)SR3 downloaded from Cisco's website.  I unzipped the files and used the Endpoint Manager Custom Firmware Managment Tool to upload them to Firmware Slot 2.  This places them in a directory under the /tftpboot directory.  Unfortunately, I was never able to get the phones to update using this configuration.  So, I used the command line on FreePBX to copy the following files from /tftpboot/customfw/cisco to /tftpboot:

 

    BOOT69xx.0-0-0-14.zz.sgn

    DSP69xx.12-4-123-2.160199.zz.sgn

    SIP69xx.9-4-1-3SR3.loads

    SIP69xx.9-4-1-3SR3.zz.sgn

 

Then I created a file named XMLDefault.cnf.xml in /tftpboot whose entire contents are as follows:

 

    <Default>

      <loadInformation>SIP6900.9-4-1-3SR3</loadInformation>

    </Default>

 

I set the DHCP server to pass out the IP address of the FreePBX server on both options 66 (Boot Server Host Name) and 120 (SIP Server).  The SIP one probably isn't needed, but I didn't test it without.  When the phones first boot, they will look for a config file via TFTP.  If they can't fine one with their MAC address, they will look for XMLDefault.cnf.xml.  This will cause them to load the new SIP firmware.  Note that this will not work if they already have an extension configured for their MAC address, as they will see that file and never look for the generic one.  After they are upgraded to SIP I used the Extension Manager to generate config files with all of their settings (see below).

 

2.  Trial and error showed that PJSIP worked, while CHAN_SIP did not with this version of FreePBX and SIP firmware.  Also, the extension password needed to be shortened as the phones would not accept a password of the default length.  An 8 character password worked reliably, although I did not do enough testing to know what the maximum viable length is.

 

3.  To create endpoints, I used the template for the CP7961G phone.  Trial and error showed that this created a configuration file that was compatible with the CP-6941.

 

4.  I wanted to be able to both call and intercom each extension.  For my purposes, I was using three digit extensions.  I created two extensions for each phone.  1xx calls the phone normally.  2xx intercoms the phone.  To make this work right, I had to use Basefile Edit in the Endpoint Manager to customize the Cisco extension, adding the following addition:

 

File:  enterprise

UA:  2autoAnswer

Parameter:  autoAnswerEnabled

Value:  3

 

This added an entry to the second line on each phone that auto answered when that line was dialed.  Then I created two entries for each device in the Endpoint Manager, setting Account 1 to be extension 1xx and Account 2 to be extension 2xx.  This generated an XML file for each MAC address that had all the correct settings.  I also added all the 2xx extensions to a page group, which allowed paging of all devices.

 

5.  I did not get BLF working, as it looked to be a real pain, and I didn't really want to install an Asterisk patch that might or might not add additional problems.