====== Grandstream UCM Vitelity Trunk ====== See also **[[voice:pbx:grandstream_pbx#voip_trunks|Grandstream UCM6100 Series IP-PBX]]** See also **[[voice:phones:grandstream:grandstream_provisioning|Grandstream Phone Provisioning Notes]]** See also **[[voice:vitelity:vitelity|Vitelity SIP Service]]** This is almost certainly not the only way to configure a Vitelity SIP trunk with a Grandstream UCM PBX. ===== Register or Route ===== Some entry-level Grandstream UCM devices have a router function. Unless your UCM will be **the** (NAT) router for your LAN, you will probably want to set the two Ethernet ports to **switch** mode. This disables the routing and NAT, simplifying configuration. **UCM -> System Settings -> Network Settings -> Basic Settings -> Method -> Switch** ==== Registration ==== :!: We use **sip23.vitelity.net** for registration. :!: You probably do **not** want or need any port forwarding when using a **registration** SIP account. :!: For **registration** accounts, choose **Register SIP Trunk** as the **Type** when creating a new trunk. ==== IP Routed ==== :!: For **IP routed** accounts, choose **Peer SIP Trunk** as the **Type** when creating a new trunk. :!: You probably **need** port forwarding when using a **IP routed** SIP account with a PBX behind NAT. :!: Best security is attained by limiting the port forwarding to a [[voice:vitelity:vitelity|list of Vitelity servers]]. These are the likely ports you need to forward into your PBX: |Protocol |Ports | | UDP |5060-5061,10000-20000 | Note that these are just the most common ports forwarded to PBXs. Depending on your reality, you may need to change these port numbers. ===== Trunk Configuration ===== :!: After saving the basic trunk definition, edit **Advanced Settings** and select **Enable Heartbeat Detection** to monitor registration status (qualify). :!: While editing **Advanced Settings**, you should set the **Maximum Number of Call Lines** to limit exposure if hacked. You might set it to your estimate of the anticipated maximum number of simultaneous calls. {{ :voice:vitelity:gs_ucm_vitelity_trunk.png?direct&750 |}} {{ :voice:vitelity:gs_ucm_vitelity_trunk_basic.png?direct&750 |}} {{ :voice:vitelity:gs_ucm_vitelity_trunk_advanced.png?direct&750 |}}