Skip to content

Feature 7050: Some Vendorextensions replaced by using prefixinfo (prefixrange and facilityaction)

Hemlata requested to merge vendorextension into devel

Some of the vendor extension under uci section feature (calling_features) are replaced using prefixinfo (facilityaction and prefixrange) to input the featurecode.

TestCases:

Test 1 - obuspa -c get Device.Services.VoiceService.1.CallControl.NumberingPlan. Device.Services.VoiceService.1.CallControl.NumberingPlan.1.Alias => cpe-1 Device.Services.VoiceService.1.CallControl.NumberingPlan.1.InterDigitTimerOpen => 3000 Device.Services.VoiceService.1.CallControl.NumberingPlan.1.InterDigitTimerStd => 15000 Device.Services.VoiceService.1.CallControl.NumberingPlan.1.MaximumNumberOfDigits => 15 Device.Services.VoiceService.1.CallControl.NumberingPlan.1.MinimumNumberOfDigits => 1 Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.Enable => 1 Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.FacilityAction => Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.PrefixRange => 1111|22xx.T|33xx Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.2.Enable => 1 Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.2.FacilityAction => DND_ACTIVATE Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.2.PrefixRange => *261#

Test 2- root@iopsys:#obuspa -c set Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.Enable '0' Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.Enable => 0 root@iopsys:# obuspa -c get Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.Enable Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.Enable => 0

Test 3- root@iopsys:# obuspa -c set Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.FacilityAction CW_ACTIVATE Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.FacilityAction => CW_ACTIVATE root@iopsys:# obuspa -c get Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.FacilityAction Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.FacilityAction => CW_ACTIVATE

Test 4-

root@iopsys:# obuspa -c set Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.PrefixRange '*43#' Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.PrefixRange => *43# root@iopsys:# obuspa -c get Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.PrefixRange Device.Services.VoiceService.1.CallControl.NumberingPlan.1.PrefixInfo.1.PrefixRange => *43#

Merge request reports