Cisco CP-8821 an Asterisk / freePBX bzw. Sipgate.de

trsi1337

Neuer User
Mitglied seit
1 Nov 2019
Beiträge
4
Punkte für Reaktionen
0
Punkte
1
Hallo zusammen,

gibt es hier jemanden, der es geschafft hat das Cisco CP-8821 an einem Asterisk / freePBX Server über cucm oder cfg.xml per tftp erfolgreich anzumelden?

Wenn ja, würde ich mich wahnsinnig über eine Anleitung bzw. entsprechende tftp Files freuen.

Nachdem das Einstellen von Nicht-3PCC IP-Phones von Cisco meine Nerven bis aufs Letzte ausgereizt hat, hoffe ich jetzt hier auf Hilfe.
 
Habs nun selbst über die entsprechenden Einstellungen sepMAC.cnf.xml und tftp hinbekommen. Verbindung zu Asterisk / FreePBX oder direkt zu Sipgate.de geht problemlos. Wenn hier jemand das selbe Problem hat, kann sich gerne melden. Ansonsten kann der Thread auch geschlossen werden.
 
Vielleicht kannst Du deine Datei oder zumindest die entscheidenden Einstellungen hier einstellen. Ich überlege zumindest einen Asterisk /FreePBK Server einzurichten und würde mich über ein paar zusätzliche Infos freuen.

Gruß Sindbad6
 
Kein Problem. Die Konfiguration für das Cisco CP-8821 beinhaltet eine Line von 6 für einen Asterisk / FreePBX 15 Server. Dieser läuft im Internet auf auf einem vServer mit Centos 7.

Ich habe mehrere Telefone dran hängen, wie z.B. ein Cisco CP-8861, Cisco SPA 525G und das CP8821 mit mehreren Telefonnummern. Alle Telefone laufen seit den letzten Wochen ohne Probleme.

Bei der Einrichtung des Asterisk / FreePBX Server mussten die Extensions allesamt mit chan_sip angelegt werden, da mit pjsip Verbindungsabbrüche und Connectionfehler aufgetreten sind. Die Konfiguration ist in den Screenshots ersichtlich.

Als Trunks sind zwei Trunks zu Sipgate.de konfiguriert. Die Inbound- und Outboundroutes sind dem entsprechend konfiguriert.

Der große Knackpunkt war die Konfiguration über chan_sip. Logischerweise müssen die Cisco Phones eine sip-Firmware haben oder 3PCC-Modelle sein. Und wichtig: Manche Cisco Phones nehmen nur Passwörter mit max. 16 Zeichen an.

Die Konfiguration des CP-8821 durch TFTP über die sepMAC.cnf.xml:
Bildschirmfoto 2019-12-05 um 17.27.30.jpg -- Bildschirmfoto 2019-12-05 um 17.28.05.jpg

XML:
<?xml version="1.0" encoding="UTF-8"?>
<device>
    <deviceProtocol>SIP</deviceProtocol>
    <sshUserId>cisco</sshUserId>
    <sshPassword>cisco</sshPassword>
    <tzdata>
        <tzolsonversion>2015a</tzolsonversion>
        <tzupdater>tzupdater.jar</tzupdater>
    </tzdata>
    <devicePool>
        <dateTimeSetting>
            <name>CMLocal</name>
            <dateTemplate>D.M.YYa</dateTemplate>
            <timeZone>Central Standard/Daylight Time</timeZone>
            <olsonTimeZone>Europe/Berlin</olsonTimeZone>
            <ntps>
                <ntp>
                    <name>pool.ntp.org</name>
                    <ntpMode>Unicast</ntpMode>
                </ntp>
            </ntps>
        </dateTimeSetting>
        <callManagerGroup>
            <members>
                <member priority="0">
                    <callManager>
                        <ports>
                            <ethernetPhonePort>2000</ethernetPhonePort>
                            <sipPort>5060</sipPort>
                            <securedSipPort>5061</securedSipPort>
                        </ports>
                        <processNodeName>IP_DES_ASTERISK_FREEPBX_SERVERS</processNodeName>
                    </callManager>
                </member>
            </members>
        </callManagerGroup>
    </devicePool>
    <commonProfile>
        <phonePassword></phonePassword>
        <backgroundImageAccess>true</backgroundImageAccess>
        <callLogBlfEnabled>2</callLogBlfEnabled>
    </commonProfile>
    <loadInformation>sip8821.11-0-3SR6-15</loadInformation>
    <featurePolicyFile>DefaultFP.xml</featurePolicyFile>
    <vendorConfig>
        <disableSpeaker>false</disableSpeaker>
        <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
        <pcPort>0</pcPort>
        <settingsAccess>1</settingsAccess>
        <garp>0</garp>
        <voiceVlanAccess>0</voiceVlanAccess>
        <ciscoCamera>1</ciscoCamera>
        <videoCapability>1</videoCapability>
        <usbClasses>0,1,2</usbClasses>
        <sdio>1</sdio>
        <wifi>0</wifi>
        <bluetoothProfile>0,1</bluetoothProfile>
        <powerNegotiation>0</powerNegotiation>
        <autoSelectLineEnable>0</autoSelectLineEnable>
        <webAccess>0</webAccess>
        <sshAccess>0</sshAccess>
        <sshPort>22</sshPort>
        <g722CodecSupport>2</g722CodecSupport>
        <daysDisplayNotActive>1,7</daysDisplayNotActive>
        <displayOnTime>07:00</displayOnTime>
        <displayOnDuration>12:00</displayOnDuration>
        <displayIdleTimeout>00:15</displayIdleTimeout>
        <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
        <spanToPCPort>1</spanToPCPort>
        <loggingDisplay>1</loggingDisplay>
        <loadServer></loadServer>
    </vendorConfig>
    <commonConfig>
        <usb1>1</usb1>
        <usb2>1</usb2>
        <ciscoCamera>1</ciscoCamera>
        <usbClasses>0,1,2</usbClasses>
        <sdio>1</sdio>
        <bluetooth>1</bluetooth>
        <wifi>0</wifi>
        <bluetoothProfile>0,1</bluetoothProfile>
        <joinAndDirectTransferPolicy>0</joinAndDirectTransferPolicy>
    </commonConfig>
    <enterpriseConfig>
        <usb1>1</usb1>
        <usb2>1</usb2>
        <ciscoCamera>1</ciscoCamera>
        <usbClasses>0,1,2</usbClasses>
        <sdio>1</sdio>
        <bluetooth>1</bluetooth>
        <wifi>0</wifi>
        <bluetoothProfile>0,1</bluetoothProfile>
        <joinAndDirectTransferPolicy>0</joinAndDirectTransferPolicy>
        <videoCapability>0</videoCapability>
        <webAccess>0</webAccess>
        <eapAuthentication>2</eapAuthentication>
        <webProtocol>0</webProtocol>
    </enterpriseConfig>
    <advertiseG722Codec>1</advertiseG722Codec>
    <userLocale>
        <name>german_germany</name>
        <uid>9</uid>
        <langCode>de_de</langCode>
        <version>1.0</version>
        <winCharSet></winCharSet>
    </userLocale>
    <networkLocale>german_germany</networkLocale>
    <networkLocaleInfo>
        <name>german_germany</name>
        <uid>9</uid>
        <version>1.0.0.0-1</version>
    </networkLocaleInfo>
    <deviceSecurityMode>1</deviceSecurityMode>
    <idleTimeout>0</idleTimeout>
    <authenticationURL></authenticationURL>
    <directoryURL>DEINE_DIRECTORY_URL</directoryURL>
    <idleURL></idleURL>
    <informationURL></informationURL>
    <messagesNumber></messagesNumber>
    <messagesURL></messagesURL>
    <proxyServerURL></proxyServerURL>
    <servicesURL>http://cisco.internect.net/</servicesURL>
    <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
    <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
    <dscpForCm2Dvce>96</dscpForCm2Dvce>
    <transportLayerProtocol>1</transportLayerProtocol>
    <dndCallAlert>5</dndCallAlert>
    <phonePersonalization>1</phonePersonalization>
    <rollover>0</rollover>
    <singleButtonBarge>0</singleButtonBarge>
    <joinAcrossLines>1</joinAcrossLines>
    <autoCallPickupEnable>false</autoCallPickupEnable>
    <blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
    <blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
    <capfAuthMode>0</capfAuthMode>
    <capfList>
        <capf>
            <phonePort>3804</phonePort>
        </capf>
    </capfList>
    <certHash></certHash>
    <encrConfig>false</encrConfig>
    <sipProfile>
        <sipProxies>
            <backupProxy>USECALLMANAGER</backupProxy>
            <backupProxyPort>5160</backupProxyPort>
            <emergencyProxy>USECALLMANAGER</emergencyProxy>
            <emergencyProxyPort>5160</emergencyProxyPort>
            <outboundProxy></outboundProxy>
            <outboundProxyPort></outboundProxyPort>
            <registerWithProxy>true</registerWithProxy>
        </sipProxies>
        <sipCallFeatures>
            <cnfJoinEnabled>true</cnfJoinEnabled>
            <callForwardURI>x-cisco-serviceuri-cfwdall</callForwardURI>
            <callPickupURI>x-cisco-serviceuri-pickup</callPickupURI>
            <callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI>
            <callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI>
            <meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI>
            <abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI>
            <rfc2543Hold>false</rfc2543Hold>
            <callHoldRingback>2</callHoldRingback>
            <localCfwdEnable>true</localCfwdEnable>
            <semiAttendedTransfer>true</semiAttendedTransfer>
            <anonymousCallBlock>2</anonymousCallBlock>
            <callerIdBlocking>2</callerIdBlocking>
            <dndControl>1</dndControl>
            <remoteCcEnable>true</remoteCcEnable>
            <retainForwardInformation>true</retainForwardInformation>
        </sipCallFeatures>
        <sipStack>
            <sipInviteRetx>6</sipInviteRetx>
            <sipRetx>10</sipRetx>
            <timerInviteExpires>180</timerInviteExpires>
            <timerRegisterExpires>3600</timerRegisterExpires>
            <timerRegisterDelta>5</timerRegisterDelta>
            <timerKeepAliveExpires>120</timerKeepAliveExpires>
            <timerSubscribeExpires>120</timerSubscribeExpires>
            <timerSubscribeDelta>5</timerSubscribeDelta>
            <timerT1>500</timerT1>
            <timerT2>4000</timerT2>
            <maxRedirects>70</maxRedirects>
            <remotePartyID>false</remotePartyID>
            <userInfo>None</userInfo>
        </sipStack>
        <autoAnswerTimer>0</autoAnswerTimer>
        <autoAnswerAltBehavior>false</autoAnswerAltBehavior>
        <autoAnswerOverride>true</autoAnswerOverride>
        <transferOnhookEnabled>false</transferOnhookEnabled>
        <enableVad>false</enableVad>
        <preferredCodec>none</preferredCodec>
        <dtmfAvtPayload>101</dtmfAvtPayload>
        <dtmfDbLevel>3</dtmfDbLevel>
        <dtmfOutofBand>avt</dtmfOutofBand>
        <alwaysUsePrimeLine>true</alwaysUsePrimeLine>
        <alwaysUsePrimeLineVoiceMail>true</alwaysUsePrimeLineVoiceMail>
        <kpml>3</kpml>
        <natEnabled>true</natEnabled>
        <natAddress>188.192.196.245</natAddress>
        <stutterMsgWaiting>2</stutterMsgWaiting>
        <callStats>false</callStats>
        <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
        <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
        <startMediaPort>10000</startMediaPort>
        <stopMediaPort>20000</stopMediaPort>
        <voipControlPort>5160</voipControlPort>
        <dscpForAudio>184</dscpForAudio>
        <dscpVideo>136</dscpVideo>
        <dscpForTelepresence>128</dscpForTelepresence>
        <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
        <softKeyFile>softKey8821.xml</softKeyFile>
        <dialTemplate>dialplan.xml</dialTemplate>
        <phoneLabel>DEIN_PHONE_LABEL</phoneLabel>
        <sipLines>
            <line button="1" lineIndex="1">
                <featureID>9</featureID>
                <featureLabel>DEIN_LINE_LABEL</featureLabel>
                <name>DEINE_LINE_EXTENSION</name>
                <displayName>DEINE_LINE_EXTENSION</displayName>
                <contact>DEINE_LINE_EXTENSION</contact>
                <proxy>USECALLMANAGER</proxy>
                <port>5060</port>
                <autoAnswer>
                    <autoAnswerEnabled>2</autoAnswerEnabled>
                </autoAnswer>
                <callWaiting>3</callWaiting>
                <authName>DEINE_LINE_EXTENSION</authName>
                <authPassword>DEIN_EXTENSION_PASSWORT</authPassword>
                <sharedLine>false</sharedLine>
                <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
                <messageWaitingAMWI>1</messageWaitingAMWI>
                <messagesNumber>999</messagesNumber>
                <ringSettingIdle>4</ringSettingIdle>
                <ringSettingActive>5</ringSettingActive>
                <forwardCallInfoDisplay>
                    <callerName>true</callerName>
                    <callerNumber>false</callerNumber>
                    <redirectedNumber>false</redirectedNumber>
                    <dialedNumber>true</dialedNumber>
                </forwardCallInfoDisplay>
                <maxNumCalls>4</maxNumCalls>
                <busyTrigger>2</busyTrigger>
            </line>
            <line  button="2">
                <featureID>21</featureID>
                <featureLabel>LABEL BUTTON 3</featureLabel>
                <speedDialNumber>NUMBER</speedDialNumber>
                <featureOptionMask>1</featureOptionMask>
            </line>
            <line  button="3">
                <featureID>21</featureID>
                <featureLabel>LABEL BUTTON 3</featureLabel>
                <speedDialNumber>NUMBER</speedDialNumber>
                <featureOptionMask>1</featureOptionMask>
            </line>
            <line  button="4">
                <featureID>21</featureID>
                <featureLabel>LABEL BUTTON 4</featureLabel>
                <speedDialNumber>NUMBER</speedDialNumber>
                <featureOptionMask>1</featureOptionMask>
            </line>
            <line  button="5">
                <featureID>21</featureID>
                <featureLabel>LABEL BUTTON 5</featureLabel>
                <speedDialNumber>NUMBER</speedDialNumber>
                <featureOptionMask>1</featureOptionMask>
            </line>
            <line  button="6">
                <featureID>21</featureID>
                <featureLabel>LABEL BUTTON 6</featureLabel>
                <speedDialNumber>NUMBER</speedDialNumber>
            </line>
        </sipLines>
    </sipProfile>
    <phoneServices>
        <provisioning>1</provisioning>
        <phoneService  type="1" category="0">
            <name>Missed Calls</name>
            <url>Application:Cisco/MissedCalls</url>
            <vendor></vendor>
            <version></version>
        </phoneService>
        <phoneService  type="2" category="0">
            <name>Voicemail</name>
            <url>Application:Cisco/Voicemail</url>
            <vendor></vendor>
            <version></version>
        </phoneService>
        <phoneService  type="1" category="0">
            <name>Received Calls</name>
            <url>Application:Cisco/ReceivedCalls</url>
            <vendor></vendor>
            <version></version>
        </phoneService>
        <phoneService  type="1" category="0">
            <name>Placed Calls</name>
            <url>Application:Cisco/PlacedCalls</url>
            <vendor></vendor>
            <version></version>
        </phoneService>
        <phoneService  type="0" category="0">
            <name>Australian Services</name>
            <url>http://cisco.internect.net/</url>
            <vendor></vendor>
            <version></version>
        </phoneService>
    </phoneServices>
</device>
 
Zuletzt bearbeitet von einem Moderator:
Hallo,

bin dabei ein Cisco Enterprise Gerät bei einem non CUCM Server anzumelden,
habe folgende Daten von meinem SIP Provider:

Registrar: domain.com
Proxy: proxy.domain.com

Jetzt berücksichtigt mein Cisco aber laut meiner Meinung die Parameter aus dem SEPmac.cnf.xml nicht richtig.
Es gibt da im Prinzip ja 3 relevante Zeilen, oder?: processNodeName, outboundProxy und proxy

Nun hätte ich gern einen Clue, wie ich dem Telefon beibringe die SIP messages an "proxy.domain.com" zu senden, und die Registrierung wie folgt zu bilden [email protected] (User + Registrar).
Ich habe die Parameter wie folgt konfiguriert und auch mit anderen Möglichkeiten herumgespielt, aber das Telefon versucht sich immer an "domain.com" (Registrar) zu registrieren anstatt an "proxy.domain.com" (OutboundProxy) oder wenn ich die Parameter verändere, dann bildet es die Registrierung aus [email protected] (User + OutboundProxy) und sendet die SIP-messages an domain.com, was falsch ist.

outboundProxy: proxy.domain.com
proxy: USECALLMANAGER
processNodeName: domain.com

Danke für die Hilfe
 
Dear,

I have set up TFTP and SEP_MAC.cnf.xml for 8821 but it looks that is is not the only file needed. What else files do I need ?
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.