Chapter 18 Traffic Shaping : Examples : Example setup for VoIP : Creating the traffic shapers : VoIP shaper
  
VoIP shaper
The VoIP functionary is a key component to the business as a communication tool and as such requires a guaranteed bandwidth.
To create a VoIP shaper - web-based manager
1. Go to Policy & Objects > Objects > Traffic Shapers and select Create New.
2. Set the Type to Shared.
3. Enter the Name voip.
4. Select Per Policy.
5. Set the Traffic Priority to High.
6. Select Maximum Bandwidth and enter 1000 Kb/s.
7. Select Guaranteed Bandwidth and enter 800 Kb/s.
8. Select OK.
To create a VoIP shaper - CLI
config firewall shaper traffic-shaper
edit voip
set maximum-bandwidth 1000
set guaranteed-bandwidth 800
set per-policy enable
set priority high
end
This ensures that regardless of the number of policies that use this shaper, the defined bandwidth will always be the same. At the same time, the bandwidth is continually guaranteed at 800 Kb/s but if available can be as much as 1000 Kb/s. Setting the priority to high ensures that the FortiGate unit always considers VoIP traffic the most important.
See also 
Creating the traffic shapers
FTP shaper
Regular traffic shaper
Creating security policies