Setup Trunk
Trunk Naming: SIPGATE00_T0XX
Local Username: T17_ SIPGATE00_T0XX
Remote Host: sipgate.domain.name ( SIP server )
Remote Port:5060
Remote Username: 80996 ( Provider Username )
Remote Secret: Provider Password
Outbound Registration Setting: Require Registration

Setup Inbound
AnyDID / AnyCID then route it to your ring group / ivr or extensions.

Outbound
Choose the Trunk Name you just configured
Dial Patterns: X.
Configure the Failover Destination: Terminate / or Voice Mail

Then click apply on the top corner, now you can make and receive calls.
