Specifications
10. Create a route, ext-br, with pattern “2XX” and number of digits stripped “0”, no prefix.
11. Create a routegroup, pstn-out, containing route pstn only.
12. Create a routegroup, to-br, containing routes pstn-br and ext-br.
13. Create a PSTN trunk with ID “1”, port “1-4”, choose pstn-out as outbound routegroup, do not
select any DID of extension, and select ext-all as the usergroup of privilege.
14. Create a dynamic peer SIP trunk with ID 100; password hq-secret; choose to-br as outbound
routegroup, do not select DID, and select staff as the usergroup of privilege.
15. Return to usergroup configuration. For usergroup staff, select 100, pstnl in Associated Trunks,
and select utility in Reachable User Group; while for usergroup utility, only select staff in
Reachable User Group.
16. Reload the IP PBX Service.
Configuration steps in B-BR:
1. Create usergroups named staff, utility, and ext-all.
2. Add staff and utility in the Reachable User Groups of ext-all.
3. Create a user account for each staff and assign it to usergroup staff.
4. Create an additional user account named public and assign it to usergroup utility.
5. Create a device for each physical phone and designate an extension.
6. Assign extensions of staff phones to corresponding users.
7. Assign all extensions of utility phones to share the same user, public.
8. Create a route, pstn, with pattern “9Z.” with number of digits stripped “1”, no prefix.
9. Create a route, pstn-hq, with pattern “9001408.” with number of digits stripped “7”, prefix “9”.
10. Create a route, ext-hq, with pattern “1XX” and number of digits stripped “0”, no prefix.
11. Create a routegroup, pstn-out, containing route pstn only.
12. Create a routegroup, to-hq, containing routes pstn-hq and ext-hq.
13. Create a PSTN trunk with ID 1, port 1-2, choose pstn-out as outbound routegroup, do not select
any DID of extension, and select ext-all as the usergroup of privilege.
14. Create a SIP trunk with ID 100 pointing to 64.1.0.1 port 5060; password hq-secret; choose to-hq
as outbound routegroup, do not select DID, and select staff as the usergroup of privilege.
15. Return to usergroup configuration. For usergroup staff, select 100, pstnl in Associated Trunks
and select utility in Reachable User Group; while for usergroup utility, only select staff in
Reachable User Group.
16. Reload the IP PBX Service.
60