Add account.6 settings, add opus, and service codes.
Update {$mac}.cfg (#5438)
This commit is contained in:
parent
fe90773d25
commit
b29b9cdac9
|
|
@ -512,8 +512,6 @@
|
||||||
<ANCOffSvcCode></ANCOffSvcCode>
|
<ANCOffSvcCode></ANCOffSvcCode>
|
||||||
<SendANOnCode>*67</SendANOnCode>
|
<SendANOnCode>*67</SendANOnCode>
|
||||||
<SendANOffCode>*67</SendANOffCode>
|
<SendANOffCode>*67</SendANOffCode>
|
||||||
<SendANOnCode></SendANOnCode>
|
|
||||||
<SendANOffCode></SendANOffCode>
|
|
||||||
<CWOnCode></CWOnCode>
|
<CWOnCode></CWOnCode>
|
||||||
<CWOffCode></CWOffCode>
|
<CWOffCode></CWOffCode>
|
||||||
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||||
|
|
@ -877,26 +875,26 @@
|
||||||
<SessionTimerT4>5000</SessionTimerT4>
|
<SessionTimerT4>5000</SessionTimerT4>
|
||||||
</line>
|
</line>
|
||||||
<line index="6">
|
<line index="6">
|
||||||
<PhoneNumber></PhoneNumber>
|
<PhoneNumber>{$account.6.user_id}</PhoneNumber>
|
||||||
<DisplayName></DisplayName>
|
<DisplayName>{$account.6.display_name}</DisplayName>
|
||||||
<SipName></SipName>
|
<SipName></SipName>
|
||||||
<RegisterAddr></RegisterAddr>
|
<RegisterAddr>{$account.6.server_address}</RegisterAddr>
|
||||||
<RegisterPort>5060</RegisterPort>
|
<RegisterPort>{$account.6.sip_port}</RegisterPort>
|
||||||
<RegisterUser></RegisterUser>
|
<RegisterUser>{$account.6.auth_id}</RegisterUser>
|
||||||
<RegisterPswd></RegisterPswd>
|
<RegisterPswd>{$account.6.password}</RegisterPswd>
|
||||||
<RegisterTTL>3600</RegisterTTL>
|
<RegisterTTL>{$account.6.register_expires}</RegisterTTL>
|
||||||
<BackupAddr></BackupAddr>
|
<BackupAddr></BackupAddr>
|
||||||
<BackupPort>5060</BackupPort>
|
<BackupPort>5060</BackupPort>
|
||||||
<BackupTransport>0</BackupTransport>
|
<BackupTransport>0</BackupTransport>
|
||||||
<BackupTTL>3600</BackupTTL>
|
<BackupTTL>3600</BackupTTL>
|
||||||
<EnableReg>0</EnableReg>
|
<EnableReg>{if isset($account.6.password)}1{else}0{/if}</EnableReg>
|
||||||
<ProxyAddr></ProxyAddr>
|
<ProxyAddr>{$account.6.outbound_proxy_primary}</ProxyAddr>
|
||||||
<ProxyPort>5060</ProxyPort>
|
<ProxyPort>{$account.6.sip_port}</ProxyPort>
|
||||||
<ProxyUser></ProxyUser>
|
<ProxyUser>{$account.6.auth_id}</ProxyUser>
|
||||||
<ProxyPswd></ProxyPswd>
|
<ProxyPswd>{$account.6.password}</ProxyPswd>
|
||||||
<BakProxyAddr></BakProxyAddr>
|
<BakProxyAddr>{$account.6.outbound_proxy_secondary}</BakProxyAddr>
|
||||||
<BakProxyPort>5060</BakProxyPort>
|
<BakProxyPort>{$account.6.sip_port}</BakProxyPort>
|
||||||
<EnableFailback>1</EnableFailback>
|
<EnableFailback>{if isset($account.6.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||||
<FailbackInterval>1800</FailbackInterval>
|
<FailbackInterval>1800</FailbackInterval>
|
||||||
<SignalFailback>0</SignalFailback>
|
<SignalFailback>0</SignalFailback>
|
||||||
<SignalRetryCounts>3</SignalRetryCounts>
|
<SignalRetryCounts>3</SignalRetryCounts>
|
||||||
|
|
@ -920,7 +918,7 @@
|
||||||
<PickupNum></PickupNum>
|
<PickupNum></PickupNum>
|
||||||
<JoinNum></JoinNum>
|
<JoinNum></JoinNum>
|
||||||
<IntercomNum></IntercomNum>
|
<IntercomNum></IntercomNum>
|
||||||
<RingType>default</RingType>
|
<RingType>{if isset($fanvil_ringtone_line6)}{$fanvil_ringtone_line6}{else}default{/if}</RingType>
|
||||||
<NATUDPUpdate>2</NATUDPUpdate>
|
<NATUDPUpdate>2</NATUDPUpdate>
|
||||||
<UDPUpdateTTL>30</UDPUpdateTTL>
|
<UDPUpdateTTL>30</UDPUpdateTTL>
|
||||||
<ServerType>0</ServerType>
|
<ServerType>0</ServerType>
|
||||||
|
|
@ -935,7 +933,7 @@
|
||||||
<NATType>0</NATType>
|
<NATType>0</NATType>
|
||||||
<EnableRport>1</EnableRport>
|
<EnableRport>1</EnableRport>
|
||||||
<Subscribe>0</Subscribe>
|
<Subscribe>0</Subscribe>
|
||||||
<SubExpire>3600</SubExpire>
|
<SubExpire>{$account.6.register_expires}</SubExpire>
|
||||||
<SingleCodec>0</SingleCodec>
|
<SingleCodec>0</SingleCodec>
|
||||||
<CLIR>0</CLIR>
|
<CLIR>0</CLIR>
|
||||||
<StrictProxy>1</StrictProxy>
|
<StrictProxy>1</StrictProxy>
|
||||||
|
|
@ -951,15 +949,17 @@
|
||||||
<RFCVer>1</RFCVer>
|
<RFCVer>1</RFCVer>
|
||||||
<PhonePort>0</PhonePort>
|
<PhonePort>0</PhonePort>
|
||||||
<SignalPort>5060</SignalPort>
|
<SignalPort>5060</SignalPort>
|
||||||
<Transport>0</Transport>
|
{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>2</Transport>{/if}
|
||||||
<UseSRVMixer>0</UseSRVMixer>
|
<UseSRVMixer>0</UseSRVMixer>
|
||||||
<SRVMixerUri></SRVMixerUri>
|
<SRVMixerUri></SRVMixerUri>
|
||||||
<LongContact>0</LongContact>
|
<LongContact>0</LongContact>
|
||||||
<AutoTCP>0</AutoTCP>
|
<AutoTCP>1</AutoTCP>
|
||||||
<UriEscaped>1</UriEscaped>
|
<UriEscaped>1</UriEscaped>
|
||||||
<ClicktoTalk>0</ClicktoTalk>
|
<ClicktoTalk>0</ClicktoTalk>
|
||||||
<MwiNo></MwiNo>
|
<MwiNo></MwiNo>
|
||||||
<MWINum></MWINum>
|
<MWINum>*97</MWINum>
|
||||||
<ParkNo></ParkNo>
|
<ParkNo></ParkNo>
|
||||||
<CallParkNum></CallParkNum>
|
<CallParkNum></CallParkNum>
|
||||||
<RetrieveNum></RetrieveNum>
|
<RetrieveNum></RetrieveNum>
|
||||||
|
|
@ -970,23 +970,23 @@
|
||||||
<NoAnswerTime>5</NoAnswerTime>
|
<NoAnswerTime>5</NoAnswerTime>
|
||||||
<MissedCallLog>1</MissedCallLog>
|
<MissedCallLog>1</MissedCallLog>
|
||||||
<ParkMode></ParkMode>
|
<ParkMode></ParkMode>
|
||||||
<SvcCodeMode>0</SvcCodeMode>
|
<SvcCodeMode>1</SvcCodeMode>
|
||||||
<DNDOnSvcCode></DNDOnSvcCode>
|
<DNDOnSvcCode>*78</DNDOnSvcCode>
|
||||||
<DNDOffSvcCode></DNDOffSvcCode>
|
<DNDOffSvcCode>*79</DNDOffSvcCode>
|
||||||
<CFUOnSvcCode></CFUOnSvcCode>
|
<CFUOnSvcCode>*72</CFUOnSvcCode>
|
||||||
<CFUOffSvcCode></CFUOffSvcCode>
|
<CFUOffSvcCode>*73</CFUOffSvcCode>
|
||||||
<CFBOnSvcCode></CFBOnSvcCode>
|
<CFBOnSvcCode>*72</CFBOnSvcCode>
|
||||||
<CFBOffSvcCode></CFBOffSvcCode>
|
<CFBOffSvcCode>*73</CFBOffSvcCode>
|
||||||
<CFNOnSvcCode></CFNOnSvcCode>
|
<CFNOnSvcCode>*72</CFNOnSvcCode>
|
||||||
<CFNOffSvcCode></CFNOffSvcCode>
|
<CFNOffSvcCode>*73</CFNOffSvcCode>
|
||||||
<ANCOnSvcCode></ANCOnSvcCode>
|
<ANCOnSvcCode></ANCOnSvcCode>
|
||||||
<ANCOffSvcCode></ANCOffSvcCode>
|
<ANCOffSvcCode></ANCOffSvcCode>
|
||||||
<SendANOnCode></SendANOnCode>
|
<SendANOnCode>*67</SendANOnCode>
|
||||||
<SendANOffCode></SendANOffCode>
|
<SendANOffCode>*67</SendANOffCode>
|
||||||
<CWOnCode></CWOnCode>
|
<CWOnCode></CWOnCode>
|
||||||
<CWOffCode></CWOffCode>
|
<CWOffCode></CWOffCode>
|
||||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||||
<VideoCodecMap></VideoCodecMap>
|
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||||
<BLFListUri></BLFListUri>
|
<BLFListUri></BLFListUri>
|
||||||
<BLFServer></BLFServer>
|
<BLFServer></BLFServer>
|
||||||
<Respond182>0</Respond182>
|
<Respond182>0</Respond182>
|
||||||
|
|
@ -1245,16 +1245,18 @@
|
||||||
<RingType></RingType>
|
<RingType></RingType>
|
||||||
</volume>
|
</volume>
|
||||||
<date>
|
<date>
|
||||||
<EnableSNTP>1</EnableSNTP>
|
<EnableSNTP>{if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if}</EnableSNTP>
|
||||||
<SNTPServer>0.pool.ntp.org</SNTPServer>
|
<SNTPServer>{$ntp_server_primary}</SNTPServer>
|
||||||
<SecondSNTPServer>time.nist.gov</SecondSNTPServer>
|
<SecondSNTPServer>{$ntp_server_secondary}</SecondSNTPServer>
|
||||||
<TimeZone>32</TimeZone>
|
<TimeZone>{$fanvil_time_zone}</TimeZone>
|
||||||
<TimeZoneName>UTC+8</TimeZoneName>
|
<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>
|
<SNTPTimeout>60</SNTPTimeout>
|
||||||
<DSTType>0</DSTType>
|
<DSTType>1</DSTType>
|
||||||
<DSTLocation>0</DSTLocation>
|
<DSTLocation>{if isset($fanvil_location)}{$fanvil_location}{else}4{/if}</DSTLocation>
|
||||||
<DSTRuleMode>0</DSTRuleMode>
|
<DSTRuleMode>0</DSTRuleMode>
|
||||||
<DSTMinOffset>60</DSTMinOffset>
|
<DSTMinOffset>{if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if}</DSTMinOffset>
|
||||||
<DSTStartMon>3</DSTStartMon>
|
<DSTStartMon>3</DSTStartMon>
|
||||||
<DSTStartWeek>5</DSTStartWeek>
|
<DSTStartWeek>5</DSTStartWeek>
|
||||||
<DSTStartWday>0</DSTStartWday>
|
<DSTStartWday>0</DSTStartWday>
|
||||||
|
|
@ -1673,84 +1675,21 @@
|
||||||
<DSSExtend4IP></DSSExtend4IP>
|
<DSSExtend4IP></DSSExtend4IP>
|
||||||
<DSSExtend5MAC></DSSExtend5MAC>
|
<DSSExtend5MAC></DSSExtend5MAC>
|
||||||
<DSSExtend5IP></DSSExtend5IP>
|
<DSSExtend5IP></DSSExtend5IP>
|
||||||
<SidekeyConfig1 index="1">
|
{foreach $keys["line"] as $row}
|
||||||
<Type>2</Type>
|
<SidekeyConfig1 index="{$row.device_key_id}">
|
||||||
<Value>SIP1 </Value>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
<Title></Title>
|
<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>
|
||||||
<ICON>Green</ICON>
|
<Title>{$row.device_key_label}</Title>
|
||||||
</SidekeyConfig1>
|
<ICON>{$row.device_key_icon}</ICON>
|
||||||
<SidekeyConfig1 index="2">
|
</SidekeyConfig1>
|
||||||
<Type>2</Type>
|
{/foreach}
|
||||||
<Value>SIP2 </Value>
|
{foreach $keys["programmable"] as $row}
|
||||||
<Title></Title>
|
<dssSoft index="{$row.device_key_id}">
|
||||||
<ICON>Green</ICON>
|
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
|
||||||
</SidekeyConfig1>
|
<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>
|
||||||
<SidekeyConfig1 index="3">
|
<Title>{$row.device_key_label}</Title>
|
||||||
<Type>2</Type>
|
</dssSoft>
|
||||||
<Value>SIP3</Value>
|
{/foreach}
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</SidekeyConfig1>
|
|
||||||
<dssSoft index="1">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="2">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="3">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="4">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="5">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="6">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="7">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="8">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="9">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
<dssSoft index="10">
|
|
||||||
<Type>0</Type>
|
|
||||||
<Value></Value>
|
|
||||||
<Title></Title>
|
|
||||||
<ICON>Green</ICON>
|
|
||||||
</dssSoft>
|
|
||||||
</dsskey>
|
</dsskey>
|
||||||
<web>
|
<web>
|
||||||
<WebServerType>0</WebServerType>
|
<WebServerType>0</WebServerType>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue