Yealink pre v.72
Jump to navigation
Jump to search
{line_loop} [ account ] path= /config/voip/sipAccount{$line_m1}.cfg Enable = {$line_active} Label = {$displayname} DisplayName = {$displayname} UserName = {$username} AuthName = {$authname} password = {$secret} MissedCallLog = {$missed_call_log|0} AutoAnswer = {$auto_answer|0} SIPServerHost = {$server_host} SIPServerPort = {$server_port} SIPListenRandom = 0 SIPListenPort = {$local_port} Expire = {$server_expires} UseOutboundProxy = {$enable_outbound_proxy_server} OutboundHost = {$outbound_host} OutboundPort = {$outbound_port} EnableEncrypt = 0 EncryptKey = 29749 EncryptVersion = 1 BakOutboundHost = {$backup_outbound_host} BakOutboundPort = {$backup_outbound_port} EnableSTUN = {$enable_stun} proxy-require = 0 ptime = 20 srtp_encryption = 0 srtp_encryption_algorithm = 0 BackupSIPServerHost = {$backup_server_host} BackupSIPServerPort = {$backup_server_port} Enable 100Rel = 0 precondition = 0 SubsribeRegister = 0 CIDSource = 0 EnableSessionTimer = 0 SessionExpires = SessionRefresher = 0 EnableUserEqualPhone = 0 BLFList_URI = SubsribeMWI = {$subscribe_mwi|1} AnonymousCall = 0 RejectAnonymousCall = 0 Transport = {$transport|0} ShareLine = dialoginfo_callpickup = AnonymousCall_OnCode = AnonymousCall_OffCode = AnonymousReject_OnCode = AnonymousReject_OffCode = BLANumber = SIP Registration Retry Timer = {$sip_registration_retry_timer|30} [ Message ] path=/config/Features/Message.cfg #Set voicemail number for each account VoiceNumber{$line_m1} = {$voicemail_number} [ audio0 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 1 PayloadType = PCMU priority = 1 rtpmap = 0 [ audio1 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 1 PayloadType = PCMA priority = 2 rtpmap = 8 [ audio2 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = G723_53 priority = 0 rtpmap = 4 [ audio3 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = G723_63 priority = 0 rtpmap = 4 [ audio4 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 1 PayloadType = G729 priority = 3 rtpmap = 18 [ audio5 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = G722 priority = 0 rtpmap = 9 [ audio6 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = iLBC priority = 3 rtpmap = 97 [ audio7 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = G726-16 priority = 0 rtpmap = 112 [ audio8 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = G726-24 priority = 0 rtpmap = 102 [ audio9 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = G726-32 priority = 0 rtpmap = 2 [ audio10 ] path=/config/voip/sipAccount{$line_m1}.cfg enable = 0 PayloadType = G726-40 priority = 0 rtpmap = 104 [ DTMF ] path=/config/voip/sipAccount{$line_m1}.cfg DTMFInbandTransfer = 1 DTMFPayload = 101 DTMFToneLen = 300 InbandDtmfVolume = 0 RxLatency = 20 CPTToneCountry = 12 G726CodeWord = 1 InfoType = 0 [ NAT ] path=/config/voip/sipAccount{$line_m1}.cfg MaxRTPPort = 11800 MinRTPPort = 11780 NATTraversal = {$nat_trans} STUNServer = {$stun_server} STUNPort = {$stun_server_port} EnableUDPUpdate = {$udp_keepalive_enable} UDPUpdateTime = {$udp_keepalive_seconds} rport = {$rport_enable} [ ADVANCED ] path=/config/voip/sipAccount{$line_m1}.cfg default_t1 = 0.5 default_t2 = 4 default_t4 = 5 [blf] path=/config/voip/sipAccount{$line_m1}.cfg SubscribePeriod = 3600 {/line_loop} [ VLAN ] path = /config/Network/Network.cfg #ISVLAN,VID and USRPRIORITY are used for VLAN on LAN port #PC_PORT_VLAN_ENABLE,PC_PORT_VID and PC_PORT_PRIORITY are used for PC port ISVLAN = {$voice_vlan_enable} VID = {$voice_vlan_id} USRPRIORITY = 0 PC_PORT_VLAN_ENABLE = {$data_vlan_enable} PC_PORT_VID = {$data_vlan_id} PC_PORT_PRIORITY = 0 [ ContactList ] path = /tmp/download.cfg #to specify a XML phonebook for update #an example for a right server_address:http://192.168.0.132:9/file_provision/contactData1.xml server_address = {$contact_list_address} {loop_remotephonebook} [ RemotePhoneBook{$number} ] path = /config/Setting/Setting.cfg URL = {$url} Name = {$name} {/loop_remotephonebook} [ ringtone ] path = /tmp/download.cfg #to specify a ringtone for update #the format of the ringtone must be WAV #an example for a right server_address:ftp://wxf:123456@192.168.0.132:21/Ring20.wav server_address = {$ringtone_url} [Logo] path = /tmp/download.cfg server_address = {$logo_url} [ Features ] path = /config/Features/Phone.cfg Call_Waiting = 1 Hotlinenumber = BusyToneDelay = LCD_Logo = {$lcdlogo} DND_Code = 480 Refuse_Code = 480 DND_On_Code = *181 DND_Off_Code = *182 ButtonSoundOn = 1 [ Webserver Type ] path = /config/Advanced/Advanced.cfg WebType = {loop_memkey} [ memory{$key} ] path = /config/vpPhone/vpPhone.ini Line = {$line} type = {$parameter} Value = {$extension} Callpickup = DKtype = {$type} PickupValue = {$pickup_value} {/loop_memkey} #START Line Key Options {loop_linekey} [ memory{$number} ] path = /config/vpPhone/vpPhone.ini type = {$mode} DKtype = {$type} Line = {$line} Value = {$extension} {/loop_linekey} #END Line Key Options #START DialNow configuration [ DialNow ] path = /tmp/dialnow.xml {loop_dialnow} {$count} = {$rule} {/loop_dialnow} #END DialNow configuration {loop_sdext38} [ Key{$number} ] Path = /config/vpPhone/Ext38_00000000000001.cfg DKtype = {$type} Line = 0 Value = {$value} type = {$btype} PickupValue = {$pickup_value} Label = {$label} {/loop_sdext38} #START Soft Keys {loop_softkey} [ programablekey{$number} ] path = /config/vpPhone/vpPhone.ini Label = {$label} DKtype = {$type} Line = 0 Value = {$value} XMLPhoneBook = {/loop_softkey} #END Soft Keys #Program UP Key [ programablekey5 ] path = /config/vpPhone/vpPhone.ini DKtype = {$hardkey_up_type} Line = {$hardkey_up_line} Value = {$hardkey_up_extension} XMLPhoneBook = #Program DOWN Key [ programablekey6 ] path = /config/vpPhone/vpPhone.ini DKtype = {$hardkey_down_type} Line = {$hardkey_down_line} Value = {$hardkey_down_extension} XMLPhoneBook = #Program LEFT Key [ programablekey7 ] path = /config/vpPhone/vpPhone.ini DKtype = {$hardkey_left_type} Line = {$hardkey_left_line} Value = {$hardkey_left_extension} XMLPhoneBook = #Program RIGHT Key [ programablekey8 ] path = /config/vpPhone/vpPhone.ini DKtype = {$hardkey_right_type} Line = {$hardkey_right_line} Value = {$hardkey_right_value} XMLPhoneBook = #Program OK Key [ programablekey9 ] path = /config/vpPhone/vpPhone.ini DKtype = {$hardkey_ok_type} Line = {$hardkey_ok_line} Value = {$hardkey_ok_value} XMLPhoneBook = #Program CANCEL Key [ programablekey10 ] path = /config/vpPhone/vpPhone.ini DKtype = {$hardkey_cancel_type} Line = {$hardkey_cancel_line} Value = {$hardkey_cancel_value} XMLPhoneBook = #Program FWD Key [ programablekey14 ] path = /config/vpPhone/vpPhone.ini DKtype = {$hardkey_fwd_type} Line = {$hardkey_fwd_line} Value = {$hardkey_fwd_value} XMLPhoneBook = [ AdminPassword ] path = /config/Setting/autop.cfg Password = {$adminpw}