*** title: Phone Numbers & PSTN subtitle: Use PSTN numbers for inbound entry points and outbound caller ID -------------------------------------------------------------------------- ## Overview To make and receive calls to public mobile and landline numbers, attach a phone number to your Voximplant application. For inbound calls, this number is your entry point. For outbound PSTN calls, this number is your caller ID. ## Buy a number In [manage.voximplant.com](https://manage.voximplant.com), open **Numbers** from the main menu. ![Numbers section](https://files.buildwithfern.com/voximplant.docs.buildwithfern.com/41dd435842d4ca770ea19c290394004e69913f564025b31a6b5b0f87fa2b4f5f/docs/assets/getting-started/phone-numbers-menu.png) Click **Buy a new phone number**. ![Buy a new number](https://files.buildwithfern.com/voximplant.docs.buildwithfern.com/341bd1fe8a17227486e5b42f980a494932a0dc4e5573884f67cf10115bc598e9/docs/assets/getting-started/phone-numbers-buy.png) Choose country/region and select either real or test numbers. ![Phone number list](https://files.buildwithfern.com/voximplant.docs.buildwithfern.com/3b296223ba05b6f924561eee965db1aa16c929bca92df9f837e6a7a49008079c/docs/assets/getting-started/phone-numbers-list.png) Some regions require additional verification steps to buy real numbers. Test numbers require extra dialing steps and cannot be used as outbound caller ID. We recommend starting with a real number. ## Attach the number to your application Go to **Applications**, select your app, then open the **Numbers** tab. Select an available number and click **Attach**. ![Attach a number to app](https://files.buildwithfern.com/voximplant.docs.buildwithfern.com/f71555f71f0b4f1e7fcbc2d832d1e55b670bcd7f86727cbad98d047c292f765f/docs/assets/getting-started/phone-numbers-attach.png) Attach a routing rule now or configure it after. ![Select routing rule while attaching](https://files.buildwithfern.com/voximplant.docs.buildwithfern.com/e0519f7b697a359b1425161d3a07aa7af9f3ceadc603547598e4278bf60fdc37/docs/assets/getting-started/phone-numbers-rule.png) ### Outbound specifics For outbound PSTN, place calls with `VoxEngine.callPSTN(destination, callerId)` and use a valid rented/verified caller ID. ```js title="Outbound PSTN" const call = VoxEngine.callPSTN("+15551234567", "+15557654321"); ``` #### More information: * [Phone numbers basic concepts](https://voximplant.com/docs/getting-started/basic-concepts/phone-numbers) * [VoxEngine Call class](https://voximplant.com/docs/references/voxengine/call) * [VoxEngine.callPSTN](https://voximplant.com/docs/references/voxengine/voxengine/callpstn)