Trunk Groups
Defines a list of Trunks to consider for making a call. The system will attempt will attempt call out to trunks in the order they are defined, and if each one fails, the call will not be completed. It is important to have your Trunks defined before creating a Trunk Group.
Adding a Trunk Group
1) Enter the CLI's configuration mode.
2) Enter the name of the Trunk Group you wish to create. You will be prompted with the minimum required settings.
vbox-markm(config)# trunk_group main_office !! Notice: Editing new item: main_office !! Notice: Minimum requirements needed for insert: !! desc !! capacity vbox-markm(config-trunk-group main_office)# desc "Main Office Trunk Grou" vbox-markm(config-trunk-group main_office)# capacity 20 vbox-markm(config-trunk-group main_office)# |
3) Next define the Trunks that the Trunk Group will call out too. We will assume we are using 3 Trunks in this example.
vbox-markm(config-trunk-group main_office)# trunk_pos 1 vbox-markm(config-trunk-group main_office pos- 1 )# trunk_name ### Use Tab to get a list of available trunks AudioCodesFXO1 branch-iax isoft-sr-in- 2 pbx-sip-t1-gw2 building_a isoft pbx-sip-t1-gw1 isoft-sr-out- 1 Nathan_Test_Trunk isoft-vit-out- 1 isoft-sr-in- 1 trunk-bob vbox-markm(config-trunk-group main_office pos- 1 )# trunk_name building_a vbox-markm(config-trunk-group main_office pos- 1 )# exit ### Returns to main config options for the trunk group vbox-markm(config-trunk-group main_office pos- 1 )# exit force vbox-markm(config-trunk-group main_office)# show ! Generating running-config !!! ! -------------- Trunk Groups ---------------- trunk_group main_office callerid passthrough capacity 20 desc "Main Office Trunk Grou" record inherit trunk_pos 1 ### This trunk group has been successfully added as position 1 trunk_name building_a exit exit exit vbox-markm(config-trunk-group main_office)# |
4) Next as needed, add additional Trunks to the Trunk Group.
vbox-markm(config-trunk-group main_office)# trunk_pos 2 vbox-markm(config-trunk-group main_office pos- 2 )# trunk_name AudioCodesFXO1 branch-iax isoft-sr-in- 2 pbx-sip-t1-gw2 building_a isoft pbx-sip-t1-gw1 isoft-sr-out- 1 Nathan_Test_Trunk isoft-vit-out- 1 isoft-sr-in- 1 trunk-bob vbox-markm(config-trunk-group main_office pos- 2 )# trunk_name isoft vbox-markm(config-trunk-group main_office pos- 2 )# exit vbox-markm(config-trunk-group main_office pos- 2 )# exit force vbox-markm(config-trunk-group main_office)# trunk_pos 3 vbox-markm(config-trunk-group main_office pos- 3 )# trunk_name AudioCodesFXO1 branch-iax isoft-sr-in- 2 pbx-sip-t1-gw2 building_a isoft pbx-sip-t1-gw1 isoft-sr-out- 1 Nathan_Test_Trunk isoft-vit-out- 1 isoft-sr-in- 1 trunk-bob vbox-markm(config-trunk-group main_office pos- 3 )# trunk_name Nathan_Test_Trunk vbox-markm(config-trunk-group main_office pos- 3 )# exit vbox-markm(config-trunk-group main_office pos- 3 )# exit force vbox-markm(config-trunk-group main_office)# |
5) Lastly use the show command to ensure your settings have been saved.
vbox-markm(config-trunk-group main_office)# show ! Generating running-config !!! ! -------------- Trunk Groups ---------------- trunk_group main_office callerid passthrough capacity 20 desc "Main Office Trunk Grou" record inherit trunk_pos 1 trunk_name building_a exit trunk_pos 2 trunk_name isoft exit trunk_pos 3 trunk_name Nathan_Test_Trunk exit exit exit vbox-markm(config-trunk-group main_office)# |
Trunk Groups Settings Description
You can also use the ? key to view description while in CLI. * indicates a requires setting.
callerid | Callerid option for when this trunk group is utilized. |
callerid_number_postpend | Append these digits to the callerid when making an outbound call on this trunk group |
callerid_number_prepend | Prepend these digits to the callerid on outbound calls after processing removal |
callerid_number_remove | Force remove digits from callerid for outbound calls |
callerid_number_replace | Force replace callerid with this number for outbound calls on this trunk group |
capacity | (*) Maximum number of concurrent calls to/from this trunk group |
desc | (*) Non-functional description of this trunk group |
do | To run exec commands in config mode |
exit | Exit from this level (with notification of incomplete config) |
no | Clear settings |
record | Whether to record all calls to/from this trunk group |
reorder | Change the order of trunk group includes |
show | Show the running-config for the current item |
trunk_pos | Create or change an include in this trunk group |