Example 7941 Config

From FreeSWITCH Wiki
Jump to: navigation, search
Warning

This page was converted to confluence 4/29 by Mario G - DO NOT UPDATE

 



Place this file in the root of your TFTP server named SEP<MAC_ADDRESS>.cnf.xml, along with a dialplan.xml file and the latest firmware you can get your hands on. Alter the load information node to get the firmware to upgrade.

<?xml version="1.0" ?>
<device>
      <deviceProtocol>SIP</deviceProtocol>
      <sshUserId>root</sshUserId>
      <sshPassword>cisco</sshPassword>
      <devicePool>
            <dateTimeSetting>
                  <dateTemplate>D-M-Y</dateTemplate>
                  <timeZone>New Zealand Standard/Daylight Time</timeZone>
                  <ntps>
                        <ntp>
                              <name>10.168.66.1</name>
                              <ntpMode>Unicast</ntpMode>
                        </ntp>
                  </ntps>
            </dateTimeSetting>
            <callManagerGroup>
                  <members>
                        <member priority="0">
                              <callManager>
                                    <processNodeName>192.168.10.98</processNodeName>
                                    <ports>
                                          <sipPort>5060</sipPort>
                                    </ports>
                              </callManager>
                        </member>
                  </members>
            </callManagerGroup>
      </devicePool>
      <sipProfile>
            <sipProxies>
                  <registerWithProxy>true</registerWithProxy>
            </sipProxies>
            <preferredCodec>g711alaw</preferredCodec>
            <phoneLabel>Test 7941</phoneLabel>
            <sipLines>
                  <line button="1">
                        <featureID>9</featureID>
                        <featureLabel>1009</featureLabel>
                        <proxy>192.168.10.98</proxy>
                        <port>5060</port>
                        <authName>1009</authName>
                        <name>1009</name>
                        <authPassword>1234</authPassword>
                        <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
                        <messagesNumber>4000</messagesNumber>
                  </line>
            </sipLines>
            <dialTemplate>dialplan.xml</dialTemplate>
      </sipProfile>
      <loadInformation>SIP41.8-5-2S</loadInformation>
      <networkLocale>New_Zealand</networkLocale>
      <networkLocaleInfo>
            <name>New_Zealand</name>
            <version>5.0(2)a</version>
      </networkLocaleInfo>
      <directoryURL>http://192.168.10.4/cisco/directory</directoryURL>
      <servicesURL>http://192.168.10.4/cisco/directory</servicesURL>
</device>