Sample XML file for a user with SIP Communication Profile

Last Updated : Nov 19, 2012 |

Here is the sample XML of a user profile with basic fields. To create your own XML, replace the value of the tags explained in the Mapping of CM Endpoint Profile elements table in Bulk import XML for users with SIP phone.

<?xml version="1.0" encoding="UTF-8"?>
	<!--  Root Element 'Users' represent collection of  user (containing 1 or more users)--
tns:users xmlns:tns="http://xml.avaya.com/schema/import"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd" >
    <tns:user>
	<authenticationType>BASIC</authenticationType>
	<givenName>John</givenName>
	<loginName>jmiller@avaya.com</loginName>
	<surname>Miller</surname>
	<userPassword>mypassword</userPassword>
	<commPassword>12345</commPassword>
  	<commProfileSet>
	  <commProfileSetName>Primary</commProfileSetName>
	  <isPrimary>true</isPrimary>
	  <handleList>
		<handle>
		  <handleName>sip:jmiller@avaya.com</handleName>
		  <handleType>sip</handleType>
		  <handleSubType>msrtc</handleSubType>
		</handle>
	   </handleList>
	  <!--The below is extended communication profile-->
	  <commProfileList>
		  <commProfile xsi:type="sm:SessionManagerCommProfXML" xmlns:sm="http://xml.avaya.com/schema/import_sessionmanager">
			<commProfileType>SessionManager</commProfileType>
			<sm:primarySM>IBM1-Performance</sm:primarySM>
			<sm:terminationAppSequence>Perf_CM_Appl_Seq</sm:terminationAppSequence
			<sm:originationAppSequence>Perf_CM_Appl_Seq</sm:originationAppSequence
			<sm:homeLocation>SIT Lab</sm:homeLocation>
		  </commProfile>

		  <commProfile xsi:type="ipt:xmlStationProfile" xmlns:ipt="http://xml.avaya.com/schema/import_csm_cm">
			<commProfileType>CM</commProfileType>
			<ipt:cmName>Performance_CM</ipt:cmName>
			<ipt:useExistingExtension>false</ipt:useExistingExtension>
			<ipt:extension>28000</ipt:extension>
			<ipt:template>DEFAULT_9620SIP_CM_5_2</ipt:template>
			<ipt:setType>9620SIP</ipt:setType>
			<ipt:port>S08012</ipt:port>
		  </commProfile>
         </commProfileList>

	  </commProfileSet>
	</tns:user>
</tns:users>