SEP.cnf.xml for a Cisco 7975G with chan-sccp-b


This is an annotated/censored copy of the SEPxxx.cnf.xml I use with my 7975G and chan-sccp-b/asterisk.

<?xml version="1.0" encoding="UTF-8"?>
<device>
    <fullConfig>true</fullConfig>
    <deviceProtocol>SCCP</deviceProtocol>
    <sshUserId>admin</sshUserId>
    <sshPassword>admin</sshPassword>    
    <!-- 
        After using the above login, you will be prompted again for a username/password.
        Use debug/debug for this second login, and type 'help' for commands.
        (also see note about sshAccess below)
    -->
    <devicePool uuid="{1b1b9eb6-7803-11d3-bdf0-00108302ead1}">
        <revertPriority>0</revertPriority>
        <name>Default</name>
        <dateTimeSetting uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}">
            <name>CMLocal</name> 
            <dateTemplate>D/M/Y</dateTemplate> 
            <!-- <timeZone>SA Eastern Standard Time</timeZone> -->
            <timeZone>Greenwich Standard Time</timeZone>
            <!-- 
                Note that cisco simply doesn't have a tz for where I live (in 
                Argentina), so I find it easiest to set this to UTC, and use
                a tz offset on the phone to fix it.
                (with no negative side effects to date)
            -->
            <ntps> 
                <ntp>
                    <name>pool.ntp.org</name> 
                    <ntpMode>Unicast</ntpMode> 
                </ntp>
            </ntps>
        </dateTimeSetting>
        <callManagerGroup>
            <name>Default</name>
            <tftpDefault>true</tftpDefault>
            <members>
                <member priority="0">
                    <callManager>
                        <name>asteriskserver</name>
                        <description>Primary Asterisk Server</description>
                        <ports>
                            <ethernetPhonePort>2000</ethernetPhonePort>
                            <sipPort>5060</sipPort>
                            <securedSipPort>5061</securedSipPort>
                            <mgcpPorts>
                                <listen>2427</listen>
                                <keepAlive>2428</keepAlive>
                            </mgcpPorts>
                        </ports>
                        <processNodeName>192.168.5.101</processNodeName>
                        <!--
                            'processNodeName' is the ip address of your
                            asterisk server.
                        -->
                    </callManager>
                </member>
            </members>
        </callManagerGroup>
        <srstInfo uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">
            <!-- dunno what this is tbh -->
            <name>Disable</name>
            <srstOption>Disable</srstOption>
            <userModifiable>true</userModifiable>
            <ipAddr1>192.168.5.101</ipAddr1>
            <port1>2000</port1>
            <ipAddr2></ipAddr2>
            <port2>2000</port2>
            <ipAddr3></ipAddr3>
            <port3>2000</port3>
            <sipIpAddr1>192.168.5.101</sipIpAddr1>
            <sipPort1>5060</sipPort1>
            <sipIpAddr2></sipIpAddr2>
            <sipPort2>5060</sipPort2>
            <sipIpAddr3></sipIpAddr3>
            <sipPort3>5060</sipPort3>
            <isSecure>false</isSecure>
        </srstInfo>
        <mlppDomainId>-1</mlppDomainId>
        <mlppIndicationStatus>Default</mlppIndicationStatus>
        <preemption>Default</preemption>
        <connectionMonitorDuration>120</connectionMonitorDuration>
    </devicePool>
    <commonProfile>
        <phonePassword></phonePassword>
        <backgroundImageAccess>true</backgroundImageAccess>
        <callLogBlfEnabled>2</callLogBlfEnabled>
    </commonProfile> 
    <vendorConfig>
        <ehookEnable>1</ehookEnable> 
        <!-- 
            Headset Hookswitch Control 
            This allows the headset to take the phone off-hook (with appropriate
            cables/connections etc)
        -->
        <disableSpeaker>false</disableSpeaker>
        <!--
            Enables and disables the speakerphone.
            true = Disabled.
            false = Enabled (default). 
        -->
        <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
        <!--
            Enables and disables the speakerphone and headset.
            true = Disabled.
            false = Enabled (default). 
        -->
        
        <pcPort>0</pcPort>
        <!--
            Enables and disables the Ethernet switch port on the phone so the IP phone can 
            have access to an Ethernet connection for a PC connection through the phone.
                0 = Enabled (default).
                1 = Disabled. 
        -->
        
        <settingsAccess>1</settingsAccess>
        <!--
            Enables and disables the Settings button on an IP phone.
                0 = Disabled.
                1 = Enabled (default). The phone user can modify features by using the 
                    Settings menu.
                2 = Restricted. The phone user is allowed to access User Preferences and 
                    volume settings only. 
        -->
        
        <garp>0</garp>
        <!--
            Enables and disables IP phone response to gratuitous Address Resolution 
            Protocol (ARP) messages from the IP phone's Ethernet interface.
                0 = Disabled.
                1 = Enabled (default).
        --> 
        
        <voiceVlanAccess>0</voiceVlanAccess>
        <!--
            Enables and disables spanning, which is the IP phone's access to the voice 
            VLAN of the PC to which the IP phone's Ethernet port is connected.
                0 = Enabled (default).
                1 = Disabled. 
        -->
        
        <videoCapability>1</videoCapability>  
        <!-- 
            7975G doesn't have any "real" video capability, it requires (I believe)
            integration with a special pc-only program.  Enabled here just as a 
            curiosity for now.
         -->
         
        <autoSelectLineEnable>0</autoSelectLineEnable>
        <!--
            Enables and disables auto line selection.
                0 = Disabled.
                1 = Enabled (default). 
        -->
        
        <webAccess>0</webAccess> 
        <!--
            Enables and disables web access that allows phone users to configure settings 
            and features on User Option web pages.
                0 = Enabled (default).
                1 = Disabled.
                2 = Read Only.  
        -->
        
        <daysDisplayNotActive>1,7</daysDisplayNotActive> <!-- sunday = 1, sat = 7 -->
        <displayOnTime>08:00</displayOnTime>
        <displayOnDuration>12:00</displayOnDuration>
        <displayIdleTimeout>00:10</displayIdleTimeout>
        <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>

        <loggingDisplay>1</loggingDisplay>

        <!-- <headsetWidebandUIControl>1</headsetWidebandUIControl> -->
        <!--
            Enables or disables wideband headset option on supported IP phones.
            If the headsetWidebandUIControl parameter is set to Enable (0), the option set 
            in the phone UI, by the phone user, has priority over the value set for this 
            parameter.
                0 = Enabled (default). Enables wideband headset on phone.
                1 = Disabled. Disables wideband headset on phone. 
        -->
        
        <!-- <handsetWidebandUIControl>1</handsetWidebandUIControl> -->
        <!--
            Enables or disables control of handset options by phone user.
                0 = Enabled (default). Allows phone user to select either narrowband or 
                    wideband handset in the phone UI.
                1 = Disabled. 
        -->
        
        <!-- <headsetWidebandEnable>1</headsetWidebandEnable> -->
        <!--
            Enables or disables control of headset option by phone user.
                0 = Enabled (default). Allows phone user to select either narrowband or 
                    wideband headset
                1 = Disabled. 
        -->
        
        <!-- <handsetWidebandEnable>1</handsetWidebandEnable> -->
        <!--
            Enables or disables wideband handset option on supported IP phones.
            If the handsetWidebandUIControl parameter is set to Enable (1), the option 
            set in the phone UI, by the phone user, has priority over the value set for 
            this parameter.
                0 = Phone default (default), equal to disabled or enabled and set by 
                    manufacturer.
                1 = Enabled. Enables wideband handset on phone.
                2 = Disabled. Disables wideband headset on phone. 
        -->
        
        <spanToPCPort>1</spanToPCPort>
        <!--
            Enables and disables the path between the Ethernet switch port of an IP phone 
            and a connection to a PC.
                0 = Enabled (default).
                1 = Disabled. 
        -->
        
        <g722CodecSupport>2</g722CodecSupport>
        <!--
            Enables and disables the registration of the G.722 codec on the IP phone.
                0 = Phone default (default), equal to disabled or enabled and set by 
                    manufacturer.
                1 = Disabled. Disables G.722-64K2 codec on phone.
                2 = Enabled. Enables G.722-64K codec on phone. 
            See also advertiseG722Codec
        -->

        <peerFirmwareSharing>1</peerFirmwareSharing>
        <enableCdpSwPort>1</enableCdpSwPort>
        <enableCdpPcPort>1</enableCdpPcPort>
        <enableLldpSwPort>1</enableLldpSwPort>
        <enableLldpPcPort>1</enableLldpPcPort>
        <lldpAssetId></lldpAssetId>
        <powerPriority>1</powerPriority>
        <!-- 
            I have the above turned on just for curiosity.
        -->
 
        <sshAccess>0</sshAccess> <!-- 0 = enabled -->
        <sshPort>22</sshPort>
        <!--
            The above 2 lines are *required* to enable ssh on this phone, it is off
            by default.
        -->
        
    </vendorConfig> 
    <versionStamp>{Jan 01 2003 00:00:00}</versionStamp>
    <loadInformation>SCCP75.9-2-1SR2S</loadInformation>
    <!-- 
        The firmware version that the phone looks for at boot.
    -->
    
    <userLocale>
        <name>English_United_Kingdom</name>
        <langCode>en</langCode>
    </userLocale>
    <networkLocale>Ireland</networkLocale>
    <!--
        This is something to do with dialtones.  The above config gives
        me Irish dialtones anyway.
    -->
    
    <authenticationURL>http://192.168.5.101/authentication.php</authenticationURL>
    <!--
        The above is simply a dummy authentication page.  It literally contains
        one word: AUTHORIZED
        (it receives UserId, Password, and devicename in the url - if you truly wish
        to implement special auth)
    -->
    
    <!-- <directoryURL>http://192.168.5.101/pb.php</directoryURL> -->
    <!-- 
        This is the URL for a CiscoIPPhoneMenu which gets appended to the end of the
        Missed/Received/Placed calls.  I don't use it (I find it makes more sense to 
        put my phone book under services)
    -->
    
    <servicesURL>http://192.168.5.101/services.php</servicesURL>
    <!--
        @TODO
    -->
    
    <idleURL></idleURL>
    <!--
        URL of CiscoIPPhoneImage.  
        Requires a non-zero setting in idleTimeout.
    -->
    
    <idleTimeout>0</idleTimeout>
    
    
    <informationURL></informationURL>
    <messagesURL></messagesURL>
    <proxyServerURL></proxyServerURL>

    <phonePersonalization>1</phonePersonalization>
    <singleButtonBarge>1</singleButtonBarge>
    <joinAcrossLines>1</joinAcrossLines>
    <autoCallPickupEnable>false</autoCallPickupEnable>
    <blfAudibleAlertSettingOfIdleStation>1</blfAudibleAlertSettingOfIdleStation>
    <blfAudibleAlertSettingOfBusyStation>1</blfAudibleAlertSettingOfBusyStation>
    

    <mobility>
        <handoffdn></handoffdn>
        <dtmfdn></dtmfdn>
        <ivrdn></ivrdn>
        <dtmfHoldCode>*81</dtmfHoldCode>
        <dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
        <dtmfResumeCode>*83</dtmfResumeCode>
        <dtmfTxfCode>*84</dtmfTxfCode>
        <dtmfCnfCode>*85</dtmfCnfCode>
    </mobility>

    <encrConfig>false</encrConfig> 
    <advertiseG722Codec>1</advertiseG722Codec> 
    
</device>

, , , ,

  1. #1 by Marcos on November 20, 2013 - 2:14 pm

    Hi men!
    I’m from Argentina and the daylight timezone is getting me crazy! There is no timezone for Argentina to be used on 79xx Cisco Phone when is configure for SIP with Asterisk.
    Could you let me know how to set is offset on the phone to fix it?
    Thanks in advance.

    • #2 by Bricky on November 20, 2013 - 2:22 pm

      Hi Marcos,

      This drove me crazy also! I don’t think there’s any timezone you can set on the phone which is correct for argentina (I’ve been through everything that looked likely).

      So the way I fix it is to tell the phone that it’s using UTC:
      <timeZone>Greenwich Standard Time</timeZone>

      and then, in sccp.conf on the asterisk server to set an offset of 3 hours, i.e.
      tzoffset=-3

      Of course this is specific to sccp, but I expect there’s a similar setting for SIP in asterisk.
      (aside: if you have the choice, SCCP is far more functional than SIP for the cisco phones)

  2. #3 by Andre on March 20, 2015 - 5:08 pm

    I found out that the E. South America Standard/Daylight Time solves the problem.

  3. #4 by Marcos on November 18, 2015 - 4:15 pm

    Still with problems on the timezone for Argentina. tzoffset=-3 is not an available command for Asterisk. It would be easier typing GMT-300

    • #5 by Bricky on November 19, 2015 - 9:29 am

      My guess is that you’re using the SIP firmware on your phone? You should try using the SCCP firmware instead, it’s much more capable. (and asterisk works really well with chan-sccp-b)

(will not be published)


css.php