<?xml version="1.0" encoding="UTF-8"?>
<!--Template is optimized for firmware ver 2.2.10 and newer. Older firmware has incorrect tag names.-->
<sysConf>
    <Version>2.0000000000</Version>
    <net>
        <WANTYPE>0</WANTYPE>
        <WANIP></WANIP>
        <WANSubnetMask></WANSubnetMask>
        <WANGateway></WANGateway>
        <DomainName></DomainName>
        <PrimaryDNS>{if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if}</PrimaryDNS>
        <SecondaryDNS>{if isset($dns_server_secondary)}{$dns_server_secondary}{else}208.67.222.222{/if}</SecondaryDNS>
        <EnableDHCP>1</EnableDHCP>
        <DHCPAutoDNS>1</DHCPAutoDNS>
        <DHCPAutoTime>1</DHCPAutoTime>
        <DHCPOption100-101>1</DHCPOption100-101>
        <UseVendorClassID>0</UseVendorClassID>
        <VendorClassID>Fanvil X7C</VendorClassID>
        <EnablePPPoE>0</EnablePPPoE>
        <PPPoEUser>user123</PPPoEUser>
        <PPPoEPassword>password</PPPoEPassword>
        <ARPCacheLife>2</ARPCacheLife>
        <MTU>1500</MTU>
        <WAN6IP></WAN6IP>
        <WAN6IPPREFIX></WAN6IPPREFIX>
        <WAN6Gateway></WAN6Gateway>
        <Domain6Name></Domain6Name>
        <PrimaryDNS6></PrimaryDNS6>
        <SecondaryDNS6></SecondaryDNS6>
        <EnableDHCP6>1</EnableDHCP6>
        <DHCP6AutoDNS>1</DHCP6AutoDNS>
        <DHCP6AutoTime>0</DHCP6AutoTime>
        <UseVendor6ClassID>0</UseVendor6ClassID>
        <Vendor6ClassID>Fanvil X7C</Vendor6ClassID>
        <wifi>
            <WIFIEnable>{$fanvil_wifi_enable}</WIFIEnable>
            <WIFILogEnable>0</WIFILogEnable>
            <WANTYPE>0</WANTYPE>
            <WANIP>192.168.1.179</WANIP>
            <WANSubnetMask>255.255.255.0</WANSubnetMask>
            <WANGateway>192.168.1.1</WANGateway>
            <DomainName></DomainName>
            <PrimaryDNS>8.8.8.8</PrimaryDNS>
            <SecondaryDNS>202.96.134.133</SecondaryDNS>
            <EnableDHCP>1</EnableDHCP>
            <DHCPAutoDNS>1</DHCPAutoDNS>
            <DHCPOption100-101>1</DHCPOption100-101>
            <UseVendorClassID>0</UseVendorClassID>
            <VendorClassID>Fanvil X7C</VendorClassID>
            <EnablePPPoE>0</EnablePPPoE>
            <PPPoEUser>user123</PPPoEUser>
            <PPPoEPassword>password</PPPoEPassword>
            <WAN6IP></WAN6IP>
            <WAN6IPPREFIX></WAN6IPPREFIX>
            <WAN6Gateway></WAN6Gateway>
            <Domain6Name></Domain6Name>
            <PrimaryDNS6></PrimaryDNS6>
            <SecondaryDNS6></SecondaryDNS6>
            <EnableDHCP6>1</EnableDHCP6>
            <DHCP6AutoDNS>1</DHCP6AutoDNS>
            <UseVendor6ClassID>0</UseVendor6ClassID>
            <Vendor6ClassID>Fanvil X7C</Vendor6ClassID>
        </wifi>
        <NetGlobal>
            <NetPriority>10</NetPriority>
        </NetGlobal>
    </net>
    <mm>
        <G723BitRate>1</G723BitRate>
        <ILBCPayloadType>97</ILBCPayloadType>
        <ILBCPayloadLen>20</ILBCPayloadLen>
        <AMRPayloadType>108</AMRPayloadType>
        <AMRWBPayloadType>109</AMRWBPayloadType>
        <G726-16PayloadType>103</G726-16PayloadType>
        <G726-24PayloadType>104</G726-24PayloadType>
        <G726-32PayloadType>102</G726-32PayloadType>
        <G726-40PayloadType>105</G726-40PayloadType>
        <DtmfPayloadType>101</DtmfPayloadType>
        <OpusPayloadType>107</OpusPayloadType>
        <OpusSampleRate>0</OpusSampleRate>
        <VAD>0</VAD>
        <H264PayloadType>117</H264PayloadType>
        <ResvAudioBand>0</ResvAudioBand>
        <RTPInitialPort>10000</RTPInitialPort>
        <RTPPortQuantity>1000</RTPPortQuantity>
        <RTPKeepAlive>1</RTPKeepAlive>
        <RTPRelay>0</RTPRelay>
        <RTCPCNAMEUser></RTCPCNAMEUser>
        <RTCPCNAMEHost></RTCPCNAMEHost>
        <SelectYourTone>{if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if}</SelectYourTone>
        <SidetoneGAIN>1</SidetoneGAIN>
        <PlayEgressDTMF>0</PlayEgressDTMF>
        <DialTone>350+440/0</DialTone>
        <RingbackTone>440+480/2000,0/4000</RingbackTone>
        <BusyTone>480+620/500,0/500</BusyTone>
        <CongestionTone></CongestionTone>
        <CallwaitingTone>440/300,0/10000,440/300,0/10000,0/0</CallwaitingTone>
        <HoldingTone></HoldingTone>
        <ErrorTone></ErrorTone>
        <StutterTone></StutterTone>
        <InformationTone></InformationTone>
        <DialRecallTone>350+440/100,0/100,350+440/100,0/100,350+440/100,0/100,350+440/0</DialRecallTone>
        <MessageTone></MessageTone>
        <HowlerTone></HowlerTone>
        <NumberUnobtainable>400/500,0/6000</NumberUnobtainable>
        <WarningTone>1400/500,0/0</WarningTone>
        <RecordTone>440/500,0/5000</RecordTone>
        <AutoAnswerTone></AutoAnswerTone>
        <capability>
            <AudioCodecSets>PCMU,PCMA,G726-16,G726-24,G726-32,G726-40,G729,G723,iLBC</AudioCodecSets>
            <VideoCodecSets>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}H264{/if}</VideoCodecSets>
            <VideoFrameRate>25</VideoFrameRate>
            <VideoBitRate>2000000</VideoBitRate>
            <VideoResolution>4</VideoResolution>
            <VideoNegotiateDir>2</VideoNegotiateDir>
        </capability>
    </mm>
    <sip>
        <SIPPort>{$sip_port}</SIPPort>
        <STUNServer>{$fanvil_stun_server}</STUNServer>
        <STUNPort>{$fanvil_stun_port}</STUNPort>
        <STUNRefreshTime>50</STUNRefreshTime>
        <SIPWaitStunTime>800</SIPWaitStunTime>
        <ExternNATAddrs></ExternNATAddrs>
        <RegFailInterval>32</RegFailInterval>
        <SIPPswdEncryption>0</SIPPswdEncryption>
        <StrictBranchPrefix>0</StrictBranchPrefix>
        <VideoMuteAttr>0</VideoMuteAttr>
        <EnableGroupBackup>0</EnableGroupBackup>
        <EnableRFC4475>1</EnableRFC4475>
        <StrictUAMatch>1</StrictUAMatch>
        <CSTAEnable>0</CSTAEnable>
        <NotifyReboot>1</NotifyReboot>
        <line index="1">
            <PhoneNumber>{$account.1.user_id}</PhoneNumber>
            <DisplayName>{$account.1.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.1.server_address}</RegisterAddr>
            <RegisterPort>{$account.1.sip_port}</RegisterPort>
            <RegisterUser>{$account.1.auth_id}</RegisterUser>
            <RegisterPswd>{$account.1.password}</RegisterPswd>
            <RegisterTTL>{$account.1.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.1.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.1.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.1.sip_port}</ProxyPort>
            <ProxyUser>{$account.1.auth_id}</ProxyUser>
            <ProxyPswd>{$account.1.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.1.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.1.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.1.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line1)}{$fanvil_ringtone_line1}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.1.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.1.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.1.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.1.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.1.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.1.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.1.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.1.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="2">
            <PhoneNumber>{$account.2.user_id}</PhoneNumber>
            <DisplayName>{$account.2.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.2.server_address}</RegisterAddr>
            <RegisterPort>{$account.2.sip_port}</RegisterPort>
            <RegisterUser>{$account.2.auth_id}</RegisterUser>
            <RegisterPswd>{$account.2.password}</RegisterPswd>
            <RegisterTTL>{$account.2.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.2.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.2.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.2.sip_port}</ProxyPort>
            <ProxyUser>{$account.2.auth_id}</ProxyUser>
            <ProxyPswd>{$account.2.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.2.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.2.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.2.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line2)}{$fanvil_ringtone_line2}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.2.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.2.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.2.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.2.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.2.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.2.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.2.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.2.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="3">
            <PhoneNumber>{$account.3.user_id}</PhoneNumber>
            <DisplayName>{$account.3.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.3.server_address}</RegisterAddr>
            <RegisterPort>{$account.3.sip_port}</RegisterPort>
            <RegisterUser>{$account.3.auth_id}</RegisterUser>
            <RegisterPswd>{$account.3.password}</RegisterPswd>
            <RegisterTTL>{$account.3.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.3.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.3.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.3.sip_port}</ProxyPort>
            <ProxyUser>{$account.3.auth_id}</ProxyUser>
            <ProxyPswd>{$account.3.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.3.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.3.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.3.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line3)}{$fanvil_ringtone_line3}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.3.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.3.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.3.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.3.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.3.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.3.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.3.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.3.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="4">
            <PhoneNumber>{$account.4.user_id}</PhoneNumber>
            <DisplayName>{$account.4.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.4.server_address}</RegisterAddr>
            <RegisterPort>{$account.4.sip_port}</RegisterPort>
            <RegisterUser>{$account.4.auth_id}</RegisterUser>
            <RegisterPswd>{$account.4.password}</RegisterPswd>
            <RegisterTTL>{$account.4.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.4.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.4.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.4.sip_port}</ProxyPort>
            <ProxyUser>{$account.4.auth_id}</ProxyUser>
            <ProxyPswd>{$account.4.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.4.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.4.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.4.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line4)}{$fanvil_ringtone_line4}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.4.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.4.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.4.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.4.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.4.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.4.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.4.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.4.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="5">
            <PhoneNumber>{$account.5.user_id}</PhoneNumber>
            <DisplayName>{$account.5.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.5.server_address}</RegisterAddr>
            <RegisterPort>{$account.5.sip_port}</RegisterPort>
            <RegisterUser>{$account.5.auth_id}</RegisterUser>
            <RegisterPswd>{$account.5.password}</RegisterPswd>
            <RegisterTTL>{$account.5.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.5.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.5.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.5.sip_port}</ProxyPort>
            <ProxyUser>{$account.5.auth_id}</ProxyUser>
            <ProxyPswd>{$account.5.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.5.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.5.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.5.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line5)}{$fanvil_ringtone_line5}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.5.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.5.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.5.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.5.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.5.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.5.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.5.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.5.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="6">
            <PhoneNumber>{$account.6.user_id}</PhoneNumber>
            <DisplayName>{$account.6.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.6.server_address}</RegisterAddr>
            <RegisterPort>{$account.6.sip_port}</RegisterPort>
            <RegisterUser>{$account.6.auth_id}</RegisterUser>
            <RegisterPswd>{$account.6.password}</RegisterPswd>
            <RegisterTTL>{$account.6.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.6.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.6.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.6.sip_port}</ProxyPort>
            <ProxyUser>{$account.6.auth_id}</ProxyUser>
            <ProxyPswd>{$account.6.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.6.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.6.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.6.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line6)}{$fanvil_ringtone_line6}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.6.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.6.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.6.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.6.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.6.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.6.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.6.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.6.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="7">
            <PhoneNumber>{$account.7.user_id}</PhoneNumber>
            <DisplayName>{$account.7.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.7.server_address}</RegisterAddr>
            <RegisterPort>{$account.7.sip_port}</RegisterPort>
            <RegisterUser>{$account.7.auth_id}</RegisterUser>
            <RegisterPswd>{$account.7.password}</RegisterPswd>
            <RegisterTTL>{$account.7.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.7.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.7.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.7.sip_port}</ProxyPort>
            <ProxyUser>{$account.7.auth_id}</ProxyUser>
            <ProxyPswd>{$account.7.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.7.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.7.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.7.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line7)}{$fanvil_ringtone_line7}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.7.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.7.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.7.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.7.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.7.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.7.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.7.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.7.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="8">
            <PhoneNumber>{$account.8.user_id}</PhoneNumber>
            <DisplayName>{$account.8.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.8.server_address}</RegisterAddr>
            <RegisterPort>{$account.8.sip_port}</RegisterPort>
            <RegisterUser>{$account.8.auth_id}</RegisterUser>
            <RegisterPswd>{$account.8.password}</RegisterPswd>
            <RegisterTTL>{$account.8.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.8.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.8.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.8.sip_port}</ProxyPort>
            <ProxyUser>{$account.8.auth_id}</ProxyUser>
            <ProxyPswd>{$account.8.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.8.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.8.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.8.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line8)}{$fanvil_ringtone_line8}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.8.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.8.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.8.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.8.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.8.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.8.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.8.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.8.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="9">
            <PhoneNumber>{$account.9.user_id}</PhoneNumber>
            <DisplayName>{$account.9.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.9.server_address}</RegisterAddr>
            <RegisterPort>{$account.9.sip_port}</RegisterPort>
            <RegisterUser>{$account.9.auth_id}</RegisterUser>
            <RegisterPswd>{$account.9.password}</RegisterPswd>
            <RegisterTTL>{$account.9.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.9.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.9.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.9.sip_port}</ProxyPort>
            <ProxyUser>{$account.9.auth_id}</ProxyUser>
            <ProxyPswd>{$account.9.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.9.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.9.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.9.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line9)}{$fanvil_ringtone_line9}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.9.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.9.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.9.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.9.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.9.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.9.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.9.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.9.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="10">
            <PhoneNumber>{$account.10.user_id}</PhoneNumber>
            <DisplayName>{$account.10.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.10.server_address}</RegisterAddr>
            <RegisterPort>{$account.10.sip_port}</RegisterPort>
            <RegisterUser>{$account.10.auth_id}</RegisterUser>
            <RegisterPswd>{$account.10.password}</RegisterPswd>
            <RegisterTTL>{$account.10.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.10.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.10.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.10.sip_port}</ProxyPort>
            <ProxyUser>{$account.10.auth_id}</ProxyUser>
            <ProxyPswd>{$account.10.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.10.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.10.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.10.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line10)}{$fanvil_ringtone_line10}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.10.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.10.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.10.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.10.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.10.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.10.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.10.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.10.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="11">
            <PhoneNumber>{$account.11.user_id}</PhoneNumber>
            <DisplayName>{$account.11.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.11.server_address}</RegisterAddr>
            <RegisterPort>{$account.11.sip_port}</RegisterPort>
            <RegisterUser>{$account.11.auth_id}</RegisterUser>
            <RegisterPswd>{$account.11.password}</RegisterPswd>
            <RegisterTTL>{$account.11.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.11.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.11.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.11.sip_port}</ProxyPort>
            <ProxyUser>{$account.11.auth_id}</ProxyUser>
            <ProxyPswd>{$account.11.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.11.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.11.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.11.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line11)}{$fanvil_ringtone_line11}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.11.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.11.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.11.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.11.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.11.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.11.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.11.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.11.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="12">
            <PhoneNumber>{$account.12.user_id}</PhoneNumber>
            <DisplayName>{$account.12.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.12.server_address}</RegisterAddr>
            <RegisterPort>{$account.12.sip_port}</RegisterPort>
            <RegisterUser>{$account.12.auth_id}</RegisterUser>
            <RegisterPswd>{$account.12.password}</RegisterPswd>
            <RegisterTTL>{$account.12.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.12.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.12.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.12.sip_port}</ProxyPort>
            <ProxyUser>{$account.12.auth_id}</ProxyUser>
            <ProxyPswd>{$account.12.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.12.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.12.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.12.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line12)}{$fanvil_ringtone_line12}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.12.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.12.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.12.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.12.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.12.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.12.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.12.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.12.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="13">
            <PhoneNumber>{$account.13.user_id}</PhoneNumber>
            <DisplayName>{$account.13.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.13.server_address}</RegisterAddr>
            <RegisterPort>{$account.13.sip_port}</RegisterPort>
            <RegisterUser>{$account.13.auth_id}</RegisterUser>
            <RegisterPswd>{$account.13.password}</RegisterPswd>
            <RegisterTTL>{$account.13.register_expires}</RegisterTTL>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.13.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.13.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.13.sip_port}</ProxyPort>
            <ProxyUser>{$account.13.auth_id}</ProxyUser>
            <ProxyPswd>{$account.13.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.13.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.13.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.13.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line13)}{$fanvil_ringtone_line13}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.13.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.13.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.13.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.13.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.13.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.13.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.13.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.13.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="14">
            <PhoneNumber>{$account.14.user_id}</PhoneNumber>
            <DisplayName>{$account.14.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.14.server_address}</RegisterAddr>
            <RegisterPort>{$account.14.sip_port}</RegisterPort>
            <RegisterUser>{$account.14.auth_id}</RegisterUser>
            <RegisterPswd>{$account.14.password}</RegisterPswd>
            <RegisterTTL>{$account.14.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.14.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.14.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.14.sip_port}</ProxyPort>
            <ProxyUser>{$account.14.auth_id}</ProxyUser>
            <ProxyPswd>{$account.14.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.14.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.14.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.14.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line14)}{$fanvil_ringtone_line14}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.14.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.14.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.14.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.14.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.14.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.14.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.14.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.14.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="15">
            <PhoneNumber>{$account.15.user_id}</PhoneNumber>
            <DisplayName>{$account.15.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.15.server_address}</RegisterAddr>
            <RegisterPort>{$account.15.sip_port}</RegisterPort>
            <RegisterUser>{$account.15.auth_id}</RegisterUser>
            <RegisterPswd>{$account.15.password}</RegisterPswd>
            <RegisterTTL>{$account.15.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.15.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.15.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.15.sip_port}</ProxyPort>
            <ProxyUser>{$account.15.auth_id}</ProxyUser>
            <ProxyPswd>{$account.15.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.15.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.15.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.15.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line15)}{$fanvil_ringtone_line15}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.15.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.15.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.15.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.15.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.15.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.15.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.15.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.15.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="16">
            <PhoneNumber>{$account.16.user_id}</PhoneNumber>
            <DisplayName>{$account.16.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.16.server_address}</RegisterAddr>
            <RegisterPort>{$account.16.sip_port}</RegisterPort>
            <RegisterUser>{$account.16.auth_id}</RegisterUser>
            <RegisterPswd>{$account.16.password}</RegisterPswd>
            <RegisterTTL>{$account.16.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.16.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.16.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.16.sip_port}</ProxyPort>
            <ProxyUser>{$account.16.auth_id}</ProxyUser>
            <ProxyPswd>{$account.16.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.16.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.16.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.16.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line16)}{$fanvil_ringtone_line16}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.16.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.16.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.16.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.16.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.16.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.16.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.16.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.16.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="17">
            <PhoneNumber>{$account.17.user_id}</PhoneNumber>
            <DisplayName>{$account.17.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.17.server_address}</RegisterAddr>
            <RegisterPort>{$account.17.sip_port}</RegisterPort>
            <RegisterUser>{$account.17.auth_id}</RegisterUser>
            <RegisterPswd>{$account.17.password}</RegisterPswd>
            <RegisterTTL>{$account.17.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.17.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.17.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.17.sip_port}</ProxyPort>
            <ProxyUser>{$account.17.auth_id}</ProxyUser>
            <ProxyPswd>{$account.17.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.17.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.17.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.17.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line17)}{$fanvil_ringtone_line17}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.17.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.17.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.17.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.17.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.17.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.17.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.17.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.17.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="18">
            <PhoneNumber>{$account.18.user_id}</PhoneNumber>
            <DisplayName>{$account.18.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.18.server_address}</RegisterAddr>
            <RegisterPort>{$account.18.sip_port}</RegisterPort>
            <RegisterUser>{$account.18.auth_id}</RegisterUser>
            <RegisterPswd>{$account.18.password}</RegisterPswd>
            <RegisterTTL>{$account.18.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.18.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.18.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.18.sip_port}</ProxyPort>
            <ProxyUser>{$account.18.auth_id}</ProxyUser>
            <ProxyPswd>{$account.18.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.18.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.18.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.18.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line18)}{$fanvil_ringtone_line18}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.18.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.18.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.18.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.18.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.18.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.18.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.18.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.18.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="19">
            <PhoneNumber>{$account.19.user_id}</PhoneNumber>
            <DisplayName>{$account.19.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.19.server_address}</RegisterAddr>
            <RegisterPort>{$account.19.sip_port}</RegisterPort>
            <RegisterUser>{$account.19.auth_id}</RegisterUser>
            <RegisterPswd>{$account.19.password}</RegisterPswd>
            <RegisterTTL>{$account.19.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.19.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.19.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.19.sip_port}</ProxyPort>
            <ProxyUser>{$account.19.auth_id}</ProxyUser>
            <ProxyPswd>{$account.19.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.19.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.19.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.19.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line19)}{$fanvil_ringtone_line19}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.19.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.19.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.19.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.19.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.19.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.19.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.19.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.19.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <line index="20">
            <PhoneNumber>{$account.20.user_id}</PhoneNumber>
            <DisplayName>{$account.20.display_name}</DisplayName>
            <SipName></SipName>
            <RegisterAddr>{$account.20.server_address}</RegisterAddr>
            <RegisterPort>{$account.20.sip_port}</RegisterPort>
            <RegisterUser>{$account.20.auth_id}</RegisterUser>
            <RegisterPswd>{$account.20.password}</RegisterPswd>
            <RegisterTTL>{$account.20.register_expires}</RegisterTTL>
            <NeedRegOn>0</NeedRegOn>
            <BackupAddr></BackupAddr>
            <BackupPort>5060</BackupPort>
            <BackupTransport>0</BackupTransport>
            <BackupTTL>3600</BackupTTL>
            <BackupNeedRegOn>0</BackupNeedRegOn>
            <EnableReg>{if isset($account.20.password)}1{else}0{/if}</EnableReg>
            <ProxyAddr>{$account.20.outbound_proxy_primary}</ProxyAddr>
            <ProxyPort>{$account.20.sip_port}</ProxyPort>
            <ProxyUser>{$account.20.auth_id}</ProxyUser>
            <ProxyPswd>{$account.20.password}</ProxyPswd>
            <ProxyNeedRegOn>0</ProxyNeedRegOn>
            <BakProxyAddr>{$account.20.outbound_proxy_secondary}</BakProxyAddr>
            <BakProxyPort>{$account.20.sip_port}</BakProxyPort>
            <BakProxyNeedRegOn>0</BakProxyNeedRegOn>
            <EnableFailback>{if isset($account.20.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
            <FailbackInterval>1800</FailbackInterval>
            <SignalFailback>0</SignalFailback>
            <SignalRetryCounts>3</SignalRetryCounts>
            <SigCryptoKey></SigCryptoKey>
            <MediaCrypto>0</MediaCrypto>
            <MedCryptoKey></MedCryptoKey>
            <SRTPAuth-Tag>0</SRTPAuth-Tag>
            <EnableRFC5939>0</EnableRFC5939>
            <LocalDomain></LocalDomain>
            <AlwaysFWD>0</AlwaysFWD>
            <BusyFWD>0</BusyFWD>
            <NoAnswerFWD>0</NoAnswerFWD>
            <AlwaysFWDNum></AlwaysFWDNum>
            <BusyFWDNum></BusyFWDNum>
            <NoAnswerFWDNum></NoAnswerFWDNum>
            <FWDTimer>5</FWDTimer>
            <HotlineNum></HotlineNum>
            <EnableHotline>0</EnableHotline>
            <WarmLineTime>0</WarmLineTime>
            <PickupNum></PickupNum>
            <JoinNum></JoinNum>
            <IntercomNum></IntercomNum>
            <RingType>{if isset($fanvil_ringtone_line20)}{$fanvil_ringtone_line20}{else}default{/if}</RingType>
            <NATUDPUpdate>2</NATUDPUpdate>
            <UDPUpdateTTL>30</UDPUpdateTTL>
            <ServerType>0</ServerType>
            <UserAgent></UserAgent>
            <PRACK>0</PRACK>
            <KeepAUTH>0</KeepAUTH>
            <SessionTimer>0</SessionTimer>
            <STimerExpires>0</STimerExpires>
            <EnableGRUU>0</EnableGRUU>
            <DTMFMode>3</DTMFMode>
            <DTMFInfoMode>0</DTMFInfoMode>
            <NATType>0</NATType>
            <EnableRport>1</EnableRport>
            <Subscribe>{if isset($account.20.user_id)}1{else}{/if}</Subscribe>
            <SubExpire>{$account.20.register_expires}</SubExpire>
            <SingleCodec>0</SingleCodec>
            <CLIR>0</CLIR>
            <StrictProxy>1</StrictProxy>
            <DirectContact>0</DirectContact>
            <HistoryInfo>0</HistoryInfo>
            {if $account.20.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
            {if $account.20.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
            <XFERExpire>0</XFERExpire>
            <BanAnonymous>0</BanAnonymous>
            <DialOffLine>0</DialOffLine>
            <QuotaName>0</QuotaName>
            <PresenceMode>0</PresenceMode>
            <RFCVer>1</RFCVer>
            <PhonePort>0</PhonePort>
            <SignalPort>5060</SignalPort>
            {if $account.20.sip_transport == 'udp'}<Transport>0</Transport>{/if}
            {if $account.20.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
            {if $account.20.sip_transport == 'tls'}<Transport>3</Transport>{/if}
            <UseSRVMixer>0</UseSRVMixer>
            <SRVMixerUri></SRVMixerUri>
            <LongContact>0</LongContact>
            <AutoTCP>1</AutoTCP>
            <UriEscaped>1</UriEscaped>
            <ClicktoTalk>0</ClicktoTalk>
            <MwiNo></MwiNo>
            <MWINum>{if isset($account.20.user_id)}{$voicemail_number}{else}{/if}</MWINum>
            <ParkNo></ParkNo>
            <CallParkNum></CallParkNum>
            <RetrieveNum></RetrieveNum>
            <HelpNo></HelpNo>
            <MSRPHelpNum></MSRPHelpNum>
            <UserIsPhone>0</UserIsPhone>
            <AutoAnswer>0</AutoAnswer>
            <NoAnswerTime>5</NoAnswerTime>
            <MissedCallLog>1</MissedCallLog>
            <ParkMode></ParkMode>
            <SvcCodeMode>1</SvcCodeMode>
            <DNDOnSvcCode></DNDOnSvcCode>
            <DNDOffSvcCode></DNDOffSvcCode>
            <CFUOnSvcCode></CFUOnSvcCode>
            <CFUOffSvcCode></CFUOffSvcCode>
            <CFBOnSvcCode></CFBOnSvcCode>
            <CFBOffSvcCode></CFBOffSvcCode>
            <CFNOnSvcCode></CFNOnSvcCode>
            <CFNOffSvcCode></CFNOffSvcCode>
            <ANCOnSvcCode></ANCOnSvcCode>
            <ANCOffSvcCode></ANCOffSvcCode>
            <SendANOnCode></SendANOnCode>
            <SendANOffCode></SendANOffCode>
            <CWOnCode></CWOnCode>
            <CWOffCode></CWOffCode>
            <VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
            <VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
            <BLFListUri></BLFListUri>
            <BLFServer></BLFServer>
            <Respond182>0</Respond182>
            <EnableBLFList>0</EnableBLFList>
            <CallerIdType>4</CallerIdType>
            <SynClockTime>0</SynClockTime>
            <MohServer></MohServer>
            <UseVPN>1</UseVPN>
            <EnableDND>0</EnableDND>
            <InactiveHold>0</InactiveHold>
            <ReqWithPort>1</ReqWithPort>
            <UpdateRegExpire>1</UpdateRegExpire>
            <EnableSCA>0</EnableSCA>
            <SubCallPark>0</SubCallPark>
            <SubCCStatus>0</SubCCStatus>
            <FeatureSync>0</FeatureSync>
            <EnableXferBack>0</EnableXferBack>
            <XferBackTime>35</XferBackTime>
            <UseTelCall>0</UseTelCall>
            <EnablePreview>0</EnablePreview>
            <PreviewMode>1</PreviewMode>
            <TLSVersion>2</TLSVersion>
            <CSTANumber></CSTANumber>
            <EnableChgPort>0</EnableChgPort>
            <VQName></VQName>
            <VQServer></VQServer>
            <VQServerPort>5060</VQServerPort>
            <VQHTTPServer></VQHTTPServer>
            <FlashMode>0</FlashMode>
            <ContentType></ContentType>
            <ContentBody></ContentBody>
            <UnregisterOnBoot>0</UnregisterOnBoot>
            <EnableMACHeader>0</EnableMACHeader>
            <EnableRegisterMAC>0</EnableRegisterMAC>
            <RecordStart>Record:on</RecordStart>
            <RecordStop>Record:off</RecordStop>
            <BLFDialogMatch>1</BLFDialogMatch>
            <Ptime>0</Ptime>
            <EnableDeal180>1</EnableDeal180>
            <KeepSingleContact>0</KeepSingleContact>
            <SessionTimerT1>500</SessionTimerT1>
            <SessionTimerT2>4000</SessionTimerT2>
            <SessionTimerT4>5000</SessionTimerT4>
            <UnavailableMode>0</UnavailableMode>
            <TCPUseRetryTimer>0</TCPUseRetryTimer>
        </line>
        <p2p>
            <SIPP2PEnableAutoAnswer>0</SIPP2PEnableAutoAnswer>
            <SIPP2PAutoAnswerDelay>30</SIPP2PAutoAnswerDelay>
            <SIPP2PDtmfMode>1</SIPP2PDtmfMode>
            <SIPP2PSipInfoDtmfMode>0</SIPP2PSipInfoDtmfMode>
            <SIPP2PEnablePreview>0</SIPP2PEnablePreview>
            <SIPP2PPreviewMode>0</SIPP2PPreviewMode>
            <SIPP2PUseVPN>1</SIPP2PUseVPN>
        </p2p>
    </sip>
    <call>
        <port index="1">
            <EnableXferDPlan>1</EnableXferDPlan>
            <EnableFwdDPlan>1</EnableFwdDPlan>
            <EnablePreDPlan>0</EnablePreDPlan>
            <IPDialPrefix>.</IPDialPrefix>
            <EnableDND>1</EnableDND>
            <DNDMode>0</DNDMode>
            <EnableSpaceDND>0</EnableSpaceDND>
            <DNDStartTime>1500</DNDStartTime>
            <DNDEndTime>1730</DNDEndTime>
            <EnableWhiteList>1</EnableWhiteList>
            <EnableBlackList>1</EnableBlackList>
            <EnableCallBar>1</EnableCallBar>
            <MuteRinging>0</MuteRinging>
            <BanDialOut>0</BanDialOut>
            <BanEmptyCID>0</BanEmptyCID>
            <EnableCLIP>1</EnableCLIP>
            <CallWaiting>1</CallWaiting>
            <CallTransfer>1</CallTransfer>
            <CallSemiXfer>1</CallSemiXfer>
            <CallConference>1</CallConference>
            <AutoPickupNext>0</AutoPickupNext>
            <BusyNoLine>1</BusyNoLine>
            <AutoOnhook>1</AutoOnhook>
            <AutoOnhookTime>3</AutoOnhookTime>
            <EnableIntercom>1</EnableIntercom>
            <IntercomMute>0</IntercomMute>
            <IntercomTone>1</IntercomTone>
            <IntercomBarge>1</IntercomBarge>
            <UseAutoRedial>0</UseAutoRedial>
            <RedialEnterCallLog>0</RedialEnterCallLog>
            <AutoRedialDelay>30</AutoRedialDelay>
            <AutoRedialTimes>5</AutoRedialTimes>
            <CallComplete>0</CallComplete>
            <CHoldingTone>1</CHoldingTone>
            <CWaitingTone>1</CWaitingTone>
            <HideDTMFType>0</HideDTMFType>
            <TalkDTMFTone>1</TalkDTMFTone>
            <DialDTMFTone>1</DialDTMFTone>
            <PswDialMode>0</PswDialMode>
            <PswDialLength>0</PswDialLength>
            <PswDialPrefix></PswDialPrefix>
            <EnableMultiLine>1</EnableMultiLine>
            <AllowIPCall>1</AllowIPCall>
            <CallerNameType>0</CallerNameType>
            <MuteForRing>0</MuteForRing>
            <AutoHandleVideo>1</AutoHandleVideo>
            <DefaultAnsMode>{$fanvil_default_answer_mode}</DefaultAnsMode>
            <DefaultDialMode>{$fanvil_default_dial_mode}</DefaultDialMode>
            <HoldToTransfer>0</HoldToTransfer>
            <EnablePreDial>1</EnablePreDial>
            <DefaultExtLine>1</DefaultExtLine>
            <EnableDefLine>1</EnableDefLine>
            <EnableSelLine>1</EnableSelLine>
            <RinginHeadset>0</RinginHeadset>
            <AutoHeadset>0</AutoHeadset>
            <DNDReturnCode>480</DNDReturnCode>
            <BusyReturnCode>486</BusyReturnCode>
            <RejectReturnCode>603</RejectReturnCode>
            <ContactType>0</ContactType>
            <EnableCountryCode>0</EnableCountryCode>
            <CountryCode></CountryCode>
            <CallAreaCode></CallAreaCode>
            <NumberPrivacy>0</NumberPrivacy>
            <PrivacyRule></PrivacyRule>
            <TransfDTMFCode></TransfDTMFCode>
            <HoldDTMFCode></HoldDTMFCode>
            <ConfDTMFCode></ConfDTMFCode>
            <DisableDialSearch>0</DisableDialSearch>
            <CallNumberFilter></CallNumberFilter>
            <AutoResumeCurrent>0</AutoResumeCurrent>
            <AlertTimeout>120</AlertTimeout>
            <RingTimeout>120</RingTimeout>
            <RingPriority>0</RingPriority>
        </port>
        <basic>
            <DialbyPound>1</DialbyPound>
            <BTransferbyPound>0</BTransferbyPound>
            <OnhooktoBXfer>0</OnhooktoBXfer>
            <OnhooktoAXfer>0</OnhooktoAXfer>
            <ConfOnhooktoXfer>0</ConfOnhooktoXfer>
            <DialFixedLength>0</DialFixedLength>
            <FixedLengthNums>11</FixedLengthNums>
            <DialbyTimeout>1</DialbyTimeout>
            <DialTimeoutvalue>10</DialTimeoutvalue>
            <EnableEOneSixFour>0</EnableEOneSixFour>
        </basic>
        <alertInfo index="1">
            <Text></Text>
            <Line>-1</Line>
            <RingType>{if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if}</RingType>
        </alertInfo>
        <alertInfo index="2">
            <Text></Text>
            <Line>-1</Line>
            <RingType>{if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 4{/if}</RingType>
        </alertInfo>
        <alertInfo index="3">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
        <alertInfo index="4">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
        <alertInfo index="5">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
        <alertInfo index="6">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
        <alertInfo index="7">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
        <alertInfo index="8">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
        <alertInfo index="9">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
        <alertInfo index="10">
            <Text></Text>
            <Line>-1</Line>
            <RingType>Type 1</RingType>
        </alertInfo>
    </call>
    <phone>
        <MenuPassword>{if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if}</MenuPassword>
        <KeyLockPassword>123</KeyLockPassword>
        <FastKeylockCode></FastKeylockCode>
        <EnableKeyLock>0</EnableKeyLock>
        <KeyLockTimeout>0</KeyLockTimeout>
        <KeyLockStatus>0</KeyLockStatus>
        <EmergencyCall>110</EmergencyCall>
        <PushXMLIP></PushXMLIP>
        <SIPNumberPlan>0</SIPNumberPlan>
        <LDAPSearch>0</LDAPSearch>
        <SearchPath>0</SearchPath>
        <CallerDisplayT>5</CallerDisplayT>
        <CallLogDisplayType>0</CallLogDisplayType>
        <EnableRecvSMS>1</EnableRecvSMS>
        <EnableCallHistory>1</EnableCallHistory>
        <LineDisplayFormat>$name</LineDisplayFormat>
        <EnableMWITone>0</EnableMWITone>
        <AllPswdEncryption>0</AllPswdEncryption>
        <SIPNotifyXML>1</SIPNotifyXML>
        <BlockXMLWhenCall>1</BlockXMLWhenCall>
        <XMLUpdateInterval>30</XMLUpdateInterval>
        <VqmDisplayOrder></VqmDisplayOrder>
        <EnablePushXMLAuth>0</EnablePushXMLAuth>
        <PickupVisualAlert>0</PickupVisualAlert>
        <PickupAudioAlert>0</PickupAudioAlert>
        <PickupRingType></PickupRingType>
        <display>
            <LCDTitle>{$fanvil_greeting}</LCDTitle>
            <LCDConstrast>5</LCDConstrast>
            <EnableEnergysaving>{if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if}</EnableEnergysaving>
            <LCDLuminanceLevel>{if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if}</LCDLuminanceLevel>
            <BacklightOffTime>{if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if}</BacklightOffTime>
            <DisableCHNIME>0</DisableCHNIME>
            <PhoneModel></PhoneModel>
            <HostName>bcm911188sv</HostName>
            <DefaultLanguage>en</DefaultLanguage>
            <EnableGreetings>0</EnableGreetings>
        </display>
        <powerLed>
            <Power>0</Power>
            <MWIOrSMS>3</MWIOrSMS>
            <InUsing>0</InUsing>
            <Ring>2</Ring>
            <Hold>0</Hold>
            <Mute>0</Mute>
            <MissedCall>3</MissedCall>
        </powerLed>
        <lineLed>
            <LineIdleColor>0</LineIdleColor>
            <LineIdleCtl>1</LineIdleCtl>
        </lineLed>
        <blfLed>
            <BLFIdleColor>0</BLFIdleColor>
            <BLFIdleCtl>1</BLFIdleCtl>
            <BLFIdleText>terminated</BLFIdleText>
            <BLFRingColor>1</BLFRingColor>
            <BLFRingCtl>2</BLFRingCtl>
            <BLFRingText>early</BLFRingText>
            <BLFDialingColor>1</BLFDialingColor>
            <BLFDialingCtl>0</BLFDialingCtl>
            <BLFDialingText></BLFDialingText>
            <BLFTalkingColor>1</BLFTalkingColor>
            <BLFTalkingCtl>1</BLFTalkingCtl>
            <BLFTalkingText>confirmed</BLFTalkingText>
            <BLFHoldColor>1</BLFHoldColor>
            <BLFHoldCtl>0</BLFHoldCtl>
            <BLFHoldText></BLFHoldText>
            <BLFFailedColor>2</BLFFailedColor>
            <BLFFailedCtl>0</BLFFailedCtl>
            <BLFFailedText>failed</BLFFailedText>
            <BLFParkedColor>0</BLFParkedColor>
            <BLFParkedCtl>3</BLFParkedCtl>
            <BLFParkedText>parked</BLFParkedText>
        </blfLed>
        <volume>
            <HandsetVol></HandsetVol>
            <HandsetMicVol></HandsetMicVol>
            <HeadsetVol></HeadsetVol>
            <HeadsetMicVol></HeadsetMicVol>
            <HeadsetRingVol></HeadsetRingVol>
            <HandFreeVol></HandFreeVol>
            <HandFreeMicVol></HandFreeMicVol>
            <HandFreeRingVol></HandFreeRingVol>
            <RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 2{/if}</RingType>
        </volume>
        <date>
            <EnableSNTP>{if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if}</EnableSNTP>
            <SNTPServer>{$ntp_server_primary}</SNTPServer>
            <SecondSNTPServer>{$ntp_server_secondary}</SecondSNTPServer>
            <TimeZone>{$fanvil_time_zone}</TimeZone>
            <TimeZoneName>{$fanvil_time_zone_name}</TimeZoneName>
            <Enable_DST>{$fanvil_enable_dst}</Enable_DST>
            <DST_Fixed_Type>{if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if}</DST_Fixed_Type>
            <SNTPTimeout>60</SNTPTimeout>
            <DSTType>1</DSTType>
            <DSTLocation>{if isset($fanvil_location)}{$fanvil_location}{else}4{/if}</DSTLocation>
            <DSTRuleMode>0</DSTRuleMode>
            <DSTMinOffset>{if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if}</DSTMinOffset>
            <DSTStartMon>3</DSTStartMon>
            <DSTStartWeek>5</DSTStartWeek>
            <DSTStartWday>0</DSTStartWday>
            <DSTStartHour>2</DSTStartHour>
            <DSTEndMon>10</DSTEndMon>
            <DSTEndWeek>5</DSTEndWeek>
            <DSTEndWday>0</DSTEndWday>
            <DSTEndHour>2</DSTEndHour>
        </date>
        <timeDisplay>
            <EnableTimeDisplay>0</EnableTimeDisplay>
            <TimeDisplayStyle>{if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if}</TimeDisplayStyle>
            <DateDisplayStyle>{if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if}</DateDisplayStyle>
            <DateSeparator>{if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if}</DateSeparator>
        </timeDisplay>
        <softkey>
            <SoftkeyMode>0</SoftkeyMode>
             <SoftKeyExitStyle>{if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if}</SoftKeyExitStyle>
            <DesktopSoftkey>{if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if}</DesktopSoftkey>
            <TalkingSoftkey>{if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if}</TalkingSoftkey>
            <RingingSoftkey>{if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if}</RingingSoftkey>
            <AlertingSoftkey>end;none;none;none;</AlertingSoftkey>
            <XAlertingSoftkey>end;none;none;xfer;</XAlertingSoftkey>
            <ConferenceSoftkey>hold;none;split;end;</ConferenceSoftkey>
            <WaitingSoftkey>xfer;accept;reject;end;</WaitingSoftkey>
            <EndingSoftkey>redial;none;none;end;</EndingSoftkey>
            <DialerPreSoftkey>send;2aB;delete;exit;</DialerPreSoftkey>
            <DialerCallSoftkey>send;2aB;delete;exit;</DialerCallSoftkey>
            <DialerXferSoftkey>delete;xfer;send;exit;</DialerXferSoftkey>
            <DialerCfwdSoftkey>send;2aB;delete;exit;</DialerCfwdSoftkey>
            <DesktopClick>{if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if}</DesktopClick>
            <DailerClick>pline;nline;none;none;none;</DailerClick>
            <RingingClick>none;none;none;none;none;</RingingClick>
            <CallClick>none;none;voldown;volup;none;</CallClick>
            <DesktopLongPress>status;none;none;none;reset;</DesktopLongPress>
            <DialerConfSoftkey>contact;clogs;redial;video;cancel;</DialerConfSoftkey>
        </softkey>
        <agent>
            <AgentUsername></AgentUsername>
            <AgentPassword></AgentPassword>
            <AgentNumber></AgentNumber>
            <AgentSipline>0</AgentSipline>
            <AgentStatus>0</AgentStatus>
            <AgentStatusReason></AgentStatusReason>
            <AgentClearCallLog>0</AgentClearCallLog>
        </agent>
        <bwDir index="1">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwDir>
        <bwDir index="2">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwDir>
        <bwDir index="3">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwDir>
        <bwDir index="4">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwDir>
        <bwDir index="5">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwDir>
        <bwDir index="6">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwDir>
        <bwCallLog index="1">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwCallLog>
        <bwCallLog index="2">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwCallLog>
        <bwCallLog index="3">
            <Title></Title>
            <URL></URL>
            <Username></Username>
            <Password></Password>
            <SipLine>0</SipLine>
        </bwCallLog>
        <ldap index="1">
            <Title></Title>
            <Server></Server>
            <port>389</port>
            <Base></Base>
            <UseSSL>0</UseSSL>
            <Version>3</Version>
            <CallingLine>-1</CallingLine>
            <BindLine>-1</BindLine>
            <InCallSearch>0</InCallSearch>
            <OutCallSearch>0</OutCallSearch>
            <Authenticate>3</Authenticate>
            <Username></Username>
            <Password></Password>
            <TelAttr>telephoneNumber</TelAttr>
            <MobileAttr>mobile</MobileAttr>
            <OtherAttr>other</OtherAttr>
            <NameAttr>cn sn ou</NameAttr>
            <SortAttr>cn</SortAttr>
            <Displayname>cn</Displayname>
            <NumberFilter>(|(telephoneNumber=%)(mobile=%)(other=%))</NumberFilter>
            <NameFilter>(|(cn=%)(sn=%))</NameFilter>
            <MaxHits>50</MaxHits>
        </ldap>
        <ldap index="2">
            <Title></Title>
            <Server></Server>
            <port>389</port>
            <Base></Base>
            <UseSSL>0</UseSSL>
            <Version>3</Version>
            <CallingLine>-1</CallingLine>
            <BindLine>-1</BindLine>
            <InCallSearch>0</InCallSearch>
            <OutCallSearch>0</OutCallSearch>
            <Authenticate>3</Authenticate>
            <Username></Username>
            <Password></Password>
            <TelAttr>telephoneNumber</TelAttr>
            <MobileAttr>mobile</MobileAttr>
            <OtherAttr>other</OtherAttr>
            <NameAttr>cn sn ou</NameAttr>
            <SortAttr>cn</SortAttr>
            <Displayname>cn</Displayname>
            <NumberFilter>(|(telephoneNumber=%)(mobile=%)(other=%))</NumberFilter>
            <NameFilter>(|(cn=%)(sn=%))</NameFilter>
            <MaxHits>50</MaxHits>
        </ldap>
        <ldap index="3">
            <Title></Title>
            <Server></Server>
            <port>389</port>
            <Base></Base>
            <UseSSL>0</UseSSL>
            <Version>3</Version>
            <CallingLine>-1</CallingLine>
            <BindLine>-1</BindLine>
            <InCallSearch>0</InCallSearch>
            <OutCallSearch>0</OutCallSearch>
            <Authenticate>3</Authenticate>
            <Username></Username>
            <Password></Password>
            <TelAttr>telephoneNumber</TelAttr>
            <MobileAttr>mobile</MobileAttr>
            <OtherAttr>other</OtherAttr>
            <NameAttr>cn sn ou</NameAttr>
            <SortAttr>cn</SortAttr>
            <Displayname>cn</Displayname>
            <NumberFilter>(|(telephoneNumber=%)(mobile=%)(other=%))</NumberFilter>
            <NameFilter>(|(cn=%)(sn=%))</NameFilter>
            <MaxHits>50</MaxHits>
        </ldap>
        <ldap index="4">
            <Title></Title>
            <Server></Server>
            <port>389</port>
            <Base></Base>
            <UseSSL>0</UseSSL>
            <Version>3</Version>
            <CallingLine>-1</CallingLine>
            <BindLine>-1</BindLine>
            <InCallSearch>0</InCallSearch>
            <OutCallSearch>0</OutCallSearch>
            <Authenticate>3</Authenticate>
            <Username></Username>
            <Password></Password>
            <TelAttr>telephoneNumber</TelAttr>
            <MobileAttr>mobile</MobileAttr>
            <OtherAttr>other</OtherAttr>
            <NameAttr>cn sn ou</NameAttr>
            <SortAttr>cn</SortAttr>
            <Displayname>cn</Displayname>
            <NumberFilter>(|(telephoneNumber=%)(mobile=%)(other=%))</NumberFilter>
            <NameFilter>(|(cn=%)(sn=%))</NameFilter>
            <MaxHits>50</MaxHits>
        </ldap>
        <ldap index="5">
            <Title></Title>
            <Server></Server>
            <port>389</port>
            <Base></Base>
            <UseSSL>0</UseSSL>
            <Version>3</Version>
            <CallingLine>-1</CallingLine>
            <BindLine>-1</BindLine>
            <InCallSearch>0</InCallSearch>
            <OutCallSearch>0</OutCallSearch>
            <Authenticate>3</Authenticate>
            <Username></Username>
            <Password></Password>
            <TelAttr>telephoneNumber</TelAttr>
            <MobileAttr>mobile</MobileAttr>
            <OtherAttr>other</OtherAttr>
            <NameAttr>cn sn ou</NameAttr>
            <SortAttr>cn</SortAttr>
            <Displayname>cn</Displayname>
            <NumberFilter>(|(telephoneNumber=%)(mobile=%)(other=%))</NumberFilter>
            <NameFilter>(|(cn=%)(sn=%))</NameFilter>
            <MaxHits>50</MaxHits>
        </ldap>
        <xmlContact index="1">
            <Name></Name>
            <Addr></Addr>
            <UserName></UserName>
            <PassWd></PassWd>
            <Sipline>-1</Sipline>
            <BindLine>-1</BindLine>
        </xmlContact>
        <xmlContact index="2">
            <Name></Name>
            <Addr></Addr>
            <UserName></UserName>
            <PassWd></PassWd>
            <Sipline>-1</Sipline>
            <BindLine>-1</BindLine>
        </xmlContact>
        <xmlContact index="3">
            <Name></Name>
            <Addr></Addr>
            <UserName></UserName>
            <PassWd></PassWd>
            <Sipline>-1</Sipline>
            <BindLine>-1</BindLine>
        </xmlContact>
        <xmlContact index="4">
            <Name></Name>
            <Addr></Addr>
            <UserName></UserName>
            <PassWd></PassWd>
            <Sipline>-1</Sipline>
            <BindLine>-1</BindLine>
        </xmlContact>
        <xmlContact index="5">
            <Name></Name>
            <Addr></Addr>
            <UserName></UserName>
            <PassWd></PassWd>
            <Sipline>-1</Sipline>
            <BindLine>-1</BindLine>
        </xmlContact>
    </phone>
    <dm>
        <OnhookTime>120</OnhookTime>
        <EnableHookflash>0</EnableHookflash>
        <KeyLongPressTime>2</KeyLongPressTime>
        <KeyLongLongPressTime>6</KeyLongLongPressTime>
    </dm>
    <vqm>
        <SessionReport>1</SessionReport>
        <IntervalReport>1</IntervalReport>
        <IntervalPeriod>60</IntervalPeriod>
        <MOS-LQWarning>40</MOS-LQWarning>
        <MOS-LQCritical>25</MOS-LQCritical>
        <DelayWarning>150</DelayWarning>
        <DelayCritical>200</DelayCritical>
        <PhoneReport>1</PhoneReport>
        <WEBReport>1</WEBReport>
    </vqm>
    <cti>
        <EnabledActiveUri>1</EnabledActiveUri>
        <EnabledActionUrl>1</EnabledActionUrl>
        <ActiveUriIP></ActiveUriIP>
        <StartRebootUrl></StartRebootUrl>
        <BootCompletedUrl></BootCompletedUrl>
        <IPChangeUrl></IPChangeUrl>
        <RegOnUrl></RegOnUrl>
        <RegOffUrl></RegOffUrl>
        <RegFailedUrl></RegFailedUrl>
        <PhoneStateIdleUrl></PhoneStateIdleUrl>
        <PhoneStateTalking></PhoneStateTalking>
        <PhoneStateRinging></PhoneStateRinging>
        <DNDOnUrl></DNDOnUrl>
        <DNDOffUrl></DNDOffUrl>
        <AlwaysFWDOnUrl></AlwaysFWDOnUrl>
        <AlwaysFWDOffUrl></AlwaysFWDOffUrl>
        <BusyFWDOnUrl></BusyFWDOnUrl>
        <BusyFWDOffUrl></BusyFWDOffUrl>
        <NoAnsFWDOnUrl></NoAnsFWDOnUrl>
        <NoAnsFWDOffUrl></NoAnsFWDOffUrl>
        <MuteOnUrl></MuteOnUrl>
        <MuteOffUrl></MuteOffUrl>
        <IncomingCallUrl></IncomingCallUrl>
        <OutgoingCallUrl></OutgoingCallUrl>
        <CallActiveUrl></CallActiveUrl>
        <CallStopUrl></CallStopUrl>
        <TransferUrl></TransferUrl>
        <HoldOnUrl></HoldOnUrl>
        <HoldOffUrl></HoldOffUrl>
        <HeldOnUrl></HeldOnUrl>
        <HeldOffUrl></HeldOffUrl>
        <MuteOnCallUrl></MuteOnCallUrl>
        <MuteOffCallUrl></MuteOffCallUrl>
        <NewMissedcallUrl></NewMissedcallUrl>
        <NewMWIUrl></NewMWIUrl>
        <NewSMSUrl></NewSMSUrl>
        <WebAuthChangedUrl></WebAuthChangedUrl>
        <at></at>
    </cti>
    <ateTest>
        <ATEId>0000000000000000</ATEId>
    </ateTest>
    <mcast>
        <Priority>0</Priority>
        <EnablePriority>0</EnablePriority>
        <EnablePrioChan>0</EnablePrioChan>
        <EnableEmerChan>0</EnableEmerChan>
        <MulticastTone>1</MulticastTone>
        <addr index="1">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="2">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="3">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="4">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="5">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="6">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="7">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="8">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="9">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <addr index="10">
            <Name></Name>
            <Host></Host>
            <Port>0</Port>
            <Channel>0</Channel>
        </addr>
        <dynamic>
            <AutoExitExpires>60</AutoExitExpires>
        </dynamic>
    </mcast>
    <dsskey>
        <SelectDsskeyAction>0</SelectDsskeyAction>
        <MemoryKeytoBXfer>3</MemoryKeytoBXfer>
        <FuncKeyPageNum>4</FuncKeyPageNum>
        <SideKeyPageNum>5</SideKeyPageNum>
        <DSSHomePage>0</DSSHomePage>
        <DisplayParkedInfo>0</DisplayParkedInfo>
        <DSSDIALSwitchMode>0</DSSDIALSwitchMode>
        <FirstCallWaitTime>16</FirstCallWaitTime>
        <FirstNumStartTime>360</FirstNumStartTime>
        <FirstNumEndTime>1080</FirstNumEndTime>
        <DSSLongPressAction>1</DSSLongPressAction>
        <Extern1PageBelong>0</Extern1PageBelong>
        <Extern2PageBelong>0</Extern2PageBelong>
        <Extern3PageBelong>0</Extern3PageBelong>
        <Extern4PageBelong>0</Extern4PageBelong>
        <Extern5PageBelong>0</Extern5PageBelong>
        <DSSExtend1MAC></DSSExtend1MAC>
        <DSSExtend1IP></DSSExtend1IP>
        <DSSExtend2MAC></DSSExtend2MAC>
        <DSSExtend2IP></DSSExtend2IP>
        <DSSExtend3MAC></DSSExtend3MAC>
        <DSSExtend3IP></DSSExtend3IP>
        <DSSExtend4MAC></DSSExtend4MAC>
        <DSSExtend4IP></DSSExtend4IP>
        <DSSExtend5MAC></DSSExtend5MAC>
        <DSSExtend5IP></DSSExtend5IP>
        {strip}{*-- 12 dssSide keys --*}{/strip}
        <dssSide index="1">
            {foreach $keys["line"] as $row}
                {if $row.device_key_id <= 12}
                <Fkey index="{$row.device_key_id}">
                    <Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
                    <Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
                    <Title>{$row.device_key_label}</Title>
                    <ICON>{$row.device_key_icon}</ICON>
            	</Fkey>
                {/if}
            {/foreach}
        </dssSide>
        <dssSide index="2">
            {foreach $keys["line"] as $row}
                {if $row.device_key_id > 12 && $row.device_key_id <= 24}
                <Fkey index="{$row.device_key_id-12}">
                    <Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
                    <Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
                    <Title>{$row.device_key_label}</Title>
                    <ICON>{$row.device_key_icon}</ICON>
            	</Fkey>
                {/if}
            {/foreach}
        </dssSide>
        <dssSide index="3">
            {foreach $keys["line"] as $row}
                {if $row.device_key_id > 24 && $row.device_key_id <= 36}
                <Fkey index="{$row.device_key_id-24}">
                    <Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
                    <Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
                    <Title>{$row.device_key_label}</Title>
                    <ICON>{$row.device_key_icon}</ICON>
            	</Fkey>
                {/if}
            {/foreach}
        </dssSide>
        <dssSide index="4">
            {foreach $keys["line"] as $row}
                {if $row.device_key_id > 36 && $row.device_key_id <= 48}
                <Fkey index="{$row.device_key_id-36}">
                    <Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
                    <Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
                    <Title>{$row.device_key_label}</Title>
                    <ICON>{$row.device_key_icon}</ICON>
            	</Fkey>
                {/if}
            {/foreach}
        </dssSide>
        <dssSide index="5">
            {foreach $keys["line"] as $row}
                {if $row.device_key_id > 48 && $row.device_key_id <= 60}
                <Fkey index="{$row.device_key_id-48}">
                    <Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
                    <Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
                    <Title>{$row.device_key_label}</Title>
                    <ICON>{$row.device_key_icon}</ICON>
            	</Fkey>
                {/if}
            {/foreach}
        </dssSide>
        {strip}{*-- 10 dssSoft keys --*}{/strip}
        {foreach $keys["programmable"] as $row}
            <dssSoft index="{$row.device_key_id}">
                <Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
                <Value>{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}</Value>
                <Title>{$row.device_key_label}</Title>
            </dssSoft>
        {/foreach}
    </dsskey>
    <web>
        <WebServerType>0</WebServerType>
        <WebPort>80</WebPort>
        <HttpsWebPort>443</HttpsWebPort>
        <RemoteControl>1</RemoteControl>
        <EnableMMIFilter>0</EnableMMIFilter>
        <WebAuthentication>0</WebAuthentication>
        <EnableTelnet>0</EnableTelnet>
        <TelnetPort>23</TelnetPort>
        <TelnetPrompt></TelnetPrompt>
        <LogonTimeout>15</LogonTimeout>
        <account index="1">
            <Name>{if isset($admin_name)}{$admin_name}{else}admin{/if}</Name>
            <Password>{if isset($admin_password)}{$admin_password}{else}admin{/if}</Password>
            <Level>10</Level>
        </account>
        <account index="2">
            <Name>guest</Name>
            <Password>guest</Password>
            <Level>5</Level>
        </account>
    </web>
    <log>
        <Level>INFO</Level>
        <Style>level,tag</Style>
        <OutputDevice>{if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if}</OutputDevice>
        <FileName>platform.log</FileName>
        <FileSize>512KB</FileSize>
        <SyslogTag>platform</SyslogTag>
        <SyslogServer>{if isset($fanvil_syslog_server)}{$fanvil_syslog_server}{else}0.0.0.0{/if}</SyslogServer>
        <SyslogServerPort>{if isset($fanvil_syslog_server_port)}{$fanvil_syslog_server_port}{else}514{/if}</SyslogServerPort>
    </log>
    <tr069>
        <TR069Tone>1</TR069Tone>
        <CPESerialNumber></CPESerialNumber>
        <ACSServerType>1</ACSServerType>
        <EnableTR069>0</EnableTR069>
        <ACSURL>0.0.0.0</ACSURL>
        <ACSUserName>admin</ACSUserName>
        <ACSPassword></ACSPassword>
        <ACSBackupURL>0.0.0.0</ACSBackupURL>
        <ACSBackupUserName></ACSBackupUserName>
        <ACSBackupPassword></ACSBackupPassword>
        <CPEUserName>dps</CPEUserName>
        <CPEPassword>dps</CPEPassword>
        <PeriodixInterval>3600</PeriodixInterval>
        <TLSVersion>2</TLSVersion>
        <AreaCode>020</AreaCode>
        <STUNEnable>0</STUNEnable>
        <STUNServerAddr>{$fanvil_stun_server}</STUNServerAddr>
        <STUNServerPort>{$fanvil_stun_port}</STUNServerPort>
        <STUNLocalPort>30000</STUNLocalPort>
    </tr069>
    <hotspot>
        <EnableHotspot>0</EnableHotspot>
        <Mode>1</Mode>
        <ListenType>0</ListenType>
        <ListenIP>224.0.2.0</ListenIP>
        <ListenPort>16360</ListenPort>
        <OwnName>SIP Hotspot</OwnName>
        <RingMode>0</RingMode>
        <EnableManageMode>1</EnableManageMode>
        <EnableConfigMode>0</EnableConfigMode>
        <hs index="1">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="2">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="3">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="4">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="5">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="6">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="7">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="8">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="9">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="10">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="11">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="12">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="13">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="14">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="15">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="16">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="17">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="18">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="19">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
        <hs index="20">
            <Enable>1</Enable>
            <ExtPrefix></ExtPrefix>
        </hs>
    </hotspot>
    <vpn>
        <VPNmode>-1</VPNmode>
        <EnableVPN>0</EnableVPN>
        <EnableNat>0</EnableNat>
        <Openvpnmode>0</Openvpnmode>
        <L2TPServerAddress>0.0.0.0</L2TPServerAddress>
        <L2TPUserName></L2TPUserName>
        <L2TPPassword></L2TPPassword>
        <L2TPNegotiateDNS>1</L2TPNegotiateDNS>
        <PPTPServerAddress>0.0.0.0</PPTPServerAddress>
        <PPTPUserName></PPTPUserName>
        <PPTPPassword></PPTPPassword>
    </vpn>
    <mt>
        <ContactUpdateMode>0</ContactUpdateMode>
        <AutoServerDigest>0</AutoServerDigest>
    </mt>
    <ap>
        <DefaultUsername>{$http_auth_username}</DefaultUsername>
        <DefaultPassword>{$http_auth_password}</DefaultPassword>
        <InputCfgFileName></InputCfgFileName>
        <DeviceCfgFileKey></DeviceCfgFileKey>
        <CommonCfgFileKey></CommonCfgFileKey>
        <DownloadCommonConf>1</DownloadCommonConf>
        <SaveProvisionInfo>1</SaveProvisionInfo>
        <CheckFailTimes>5</CheckFailTimes>
        <FlashServerIP>{if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if}</FlashServerIP>
        <FlashFileName>{$fanvil_firmware_config}</FlashFileName>
        <FlashProtocol>5</FlashProtocol>
        <FlashMode>1</FlashMode>
        <FlashInterval>1</FlashInterval>
        <updatePBInterval>720</updatePBInterval>
        <APPswdEncryption>0</APPswdEncryption>
        <pnp>
            <PNPEnable>1</PNPEnable>
            <PNPIP>224.0.1.75</PNPIP>
            <PNPPort>5060</PNPPort>
            <PNPTransport>0</PNPTransport>
            <PNPInterval>1</PNPInterval>
        </pnp>
        <opt>
            <DHCPOption>66</DHCPOption>
            <DHCPv6Option>0</DHCPv6Option>
            <DhcpOption120>0</DhcpOption120>
            <SaveDHCPOpion>0</SaveDHCPOpion>
        </opt>
    </ap>
    <fwCheck>
        <EnableAutoUpgrade>{if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if}</EnableAutoUpgrade>
        <UpgradeServer1>{if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if}</UpgradeServer1>
        <UpgradeServer2>{if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if}</UpgradeServer2>
        <AutoUpgradeInterval>{if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if}</AutoUpgradeInterval>
    </fwCheck>
    <qos>
        <EnableVLAN>{if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if}</EnableVLAN>
        <VLANID>{if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if}</VLANID>
        <EnablePVID>{if isset($fanvil_pc_port_vlan)}2{else}0{/if}</EnablePVID>
        <PVIDValue>{if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if}</PVIDValue>
        <SignallingPriority>{if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if}</SignallingPriority>
        <VoicePriority>{if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if}</VoicePriority>
        <VideoPriority>{if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if}</VideoPriority>
        <LANPortPriority>0</LANPortPriority>
        <EnablediffServ>{if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if}</EnablediffServ>
        <SingallingDSCP>{if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if}</SingallingDSCP>
        <VoiceDSCP>{if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if}</VoiceDSCP>
        <VideoDSCP>{if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if}</VideoDSCP>
        <LLDPTransmit>{if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if}</LLDPTransmit>
        <LLDPRefreshTime>{if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if}</LLDPRefreshTime>
        <LLDPLearnPolicy>{if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if}</LLDPLearnPolicy>
        <LLDPSaveLearnData>0</LLDPSaveLearnData>
        <CDPEnable>1</CDPEnable>
        <CDPRefreshTime>60</CDPRefreshTime>
        <DHCPOptionVlan>132</DHCPOptionVlan>
    </qos>
    <dot1x>
        <XsupMode></XsupMode>
        <XsupUser></XsupUser>
        <XsupPassword></XsupPassword>
        <sslMode>
            <PermissionCTF>0</PermissionCTF>
            <CommonName>0</CommonName>
            <CTFmode>0</CTFmode>
            <DeviceCertMode>0</DeviceCertMode>
        </sslMode>
    </dot1x>
    <pubApp>
        <WatchDogEnabled>1</WatchDogEnabled>
        <EnableInAccess>0</EnableInAccess>
        <EnableOutAccess>0</EnableOutAccess>
    </pubApp>
    <record>
        <Enabled>1</Enabled>
        <VoiceCodec>G729</VoiceCodec>
        <RecordType>0</RecordType>
        <FileSizeLimit>8</FileSizeLimit>
        <ServerAddr>0.0.0.0</ServerAddr>
        <ServerPort>10000</ServerPort>
    </record>
    <UIconfig>
        <BluetoothEnabled>0</BluetoothEnabled>
        <BluetoothAdapterName>Fanvil X7C</BluetoothAdapterName>
        <BluetoothRingMode>1</BluetoothRingMode>
    </UIconfig>
    <background>
        <TimeoutToScreensaver>0</TimeoutToScreensaver>
        <UserChangeBackground>0</UserChangeBackground>
        <UserChangeSubBackground></UserChangeSubBackground>
        <EHSHeadsettype>0</EHSHeadsettype>
        <MissedCallPopup>1</MissedCallPopup>
        <MWIPopup>1</MWIPopup>
        <DeviceConnectPopup>1</DeviceConnectPopup>
        <SMSPopup>1</SMSPopup>
        <OtherPopup>1</OtherPopup>
        <EnablePortMirror>0</EnablePortMirror>
        <AutoCloseLed>0</AutoCloseLed>
        <IdleTimeFontColor>0xffffff</IdleTimeFontColor>
        <CommonTitleFontColor>0xffffff</CommonTitleFontColor>
        <SoftkeyFontColor>0xffffff</SoftkeyFontColor>
        <MenuListFontColor>0x262626</MenuListFontColor>
        <ScrollBarColor>0x5a9dba</ScrollBarColor>
        <WarnThemeColor>0xc4012f</WarnThemeColor>
        <InformThemeColor>0x007bb0</InformThemeColor>
        <FunkeyListFontColor>0xffffff</FunkeyListFontColor>
        <TalkingFontColor>0xffffff</TalkingFontColor>
        <SidekeyLabelLength>0</SidekeyLabelLength>
        <AppIconDisplay>1,1,1,1</AppIconDisplay>
        <DisplayProvisionprompt>0</DisplayProvisionprompt>
    </background>
</sysConf>
