Grandstream PBX UCM 6304
# support
v
Looking to integrate phone numbers from PBX with Vapi for triggering outbound calls. Is there any documentation that can help ??
a
HeyVexalink Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
message has been deleted
@Vexalink Absolutely! To integrate phone numbers from your PBX system with Vapi for triggering outbound calls, you'll want to follow these steps: 1. **Import Phone Numbers**: If you have existing phone numbers with a telephony provider like Twilio or Vonage, you can import them into your Vapi account. This process will allow you to manage and use these numbers through the Vapi platform. 2. **API Documentation**: For detailed instructions and code samples on how to use the Vapi API to trigger outbound calls, you can refer to the API documentation. This will provide you with the necessary endpoints, request formats, and parameters needed to initiate calls. 3. **Dashboard Usage**: If you prefer to use the dashboard instead of the API, you can manage your phone numbers and initiate outbound calls directly from the Vapi dashboard. The interface is designed to be user-friendly and intuitive. 4. **Support and Help**: If you encounter any issues or have specific questions, the support team is available to assist you. They can provide you with tailored guidance based on your PBX setup and integration requirements. If you need direct links to the documentation or any further assistance, please let me know, and I'll be happy to help!
You can continue this conversation by mentioning me in the message.
v
@Vapi Thanks for response But my phone numbers are not in twilio or vonage Those are in grandstream pbx. So let me know how can i sip trunk them to link with vapi. Also, what are the hostname and link to vapi’s detail for sip trunking
v
@Vexalink Certainly! To SIP trunk your Grandstream PBX phone numbers with Vapi, you'll need to follow these general steps: 1. **Configure Your Grandstream PBX**: Set up a SIP trunk on your Grandstream PBX that points to Vapi's SIP endpoint. You'll need to input Vapi's SIP hostname and credentials into your PBX configuration. 2. **Vapi SIP Details**: The specific hostname and details for SIP trunking with Vapi can typically be found in the Vapi documentation or by accessing your Vapi account dashboard. If you need the exact hostname and additional configuration details, please ask support for more info on this. 3. **SIP Origination**: When configuring the SIP trunk, you'll use the
sipUri
attribute within the
forwardingPhoneNumbers
array to specify the destination SIP address in your Vapi settings. 4. **Ensure Compatibility**: Make sure your Grandstream PBX is configured to handle SIP REFER messages, as Vapi utilizes SIP REFER to transfer SIP calls. 5. **Testing**: After configuration, conduct tests to ensure that the SIP trunking is working correctly and that outbound calls are being triggered through Vapi as expected. If you require the exact hostname for Vapi's SIP trunking or any additional assistance with the configuration, please let me know, and I'll provide further support.
v
@Vapi sure i will need exact hostname for vapi’s SIP trunk
v
@Vexalink Please ask support for more info on this.
v
@Vapi where to ask for support ?
v
@Vexalink For more detailed information on the exact hostname for Vapi's SIP trunking and any other technical support, you should reach out directly to Vapi's support team. You can typically find support through the following channels: 1. **Support Portal**: Visit the official Vapi support portal or help center and look for documentation or the option to submit a support ticket. 2. **Email**: Send an email to the support email address provided by Vapi. This is usually something like support@vapi.com or a similar variant. 3. **Live Chat**: If Vapi offers a live chat service, you can use this feature on their website to get immediate assistance from a support agent. 4. **Phone**: Call the support phone number if Vapi provides one for direct assistance. 5. **Community Forums**: Sometimes, there are community forums or user groups where you can ask for help from other Vapi users or find answers to similar questions. If you need help locating the support contact details or if there's anything else I can assist you with, please let me know!
s
@Vexalink To use local phone numbers with Vapi, you need to check with your telephony provider if they support SIP trunking. If they do, then I will share the further process to set up SIP trunking using your telephony provider and Vapi.
v
@Shubham Bajaj Thanks fir responding Yes they do support SIP trunking Here is what i am getting to enable SIP trunking. But not able to find these details on VAPI api documentation. https://cdn.discordapp.com/attachments/1334251359519641692/1334605681403232356/1.png?ex=679d23e6&is=679bd266&hm=87c8ce0e7d1b9fa3e7b24415e35cafab5962095231ac03967170f1d81a0b56c1&
m
@Shubham Bajaj interested in this thread as well
s
@Vexalink @mindofman Please refer to the following guides that demonstrate how to establish a connection with your SIP provider. **Note**: While these guides use Twilio as an example, the process remains consistent across other telephony providers. https://vapi.notion.site/SIP-104008c8393f80feaeb7de8ca19565ed Do let me know, If you require additional assistance.
v
C:\Users\Administrator>ping 44.229.228.186 Pinging 44.229.228.186 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 44.229.228.186: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), C:\Users\Administrator>tracert 44.229.228.186 Tracing route to ec2-44-229-228-186.us-west-2.compute.amazonaws.com [44.229.228.186] over a maximum of 30 hops: 1 4 ms 3 ms 5 ms 192.168.80.1 2 10 ms 11 ms 17 ms 10.255.254.1 3 * * 19 ms bba-92-97-242-3.alshamil.net.ae [92.97.242.3] 4 13 ms 14 ms 24 ms 10.246.254.253 5 13 ms 15 ms 23 ms 195.229.1.58 6 276 ms 286 ms 273 ms 195.229.0.149 7 578 ms 261 ms 268 ms 206.72.211.146.any2ix.coresite.com [206.72.211.146] 8 * * * Request timed out. 9 * * * Request timed out. 10 * * * Request timed out. 11 * * * Request timed out. 12 * * * Request timed out. 13 * * * Request timed out. 14 * * * Request timed out. 15 * * * Request timed out. 16 * * * Request timed out. 17 * * * Request timed out. 18 * * * Request timed out. 19 * * * Request timed out. 20 * * * Request timed out. 21 * * * Request timed out. 22 * * * Request timed out. 23 * * * Request timed out. 24 * * * Request timed out. 25 * * * Request timed out. 26 * * * Request timed out. 27 * * * Request timed out. 28 * * * Request timed out. 29 * * * Request timed out. 30 * * * Request timed out. Trace com
@Shubham Bajaj not sure if the ips mentioned in documentation works
s
@Vexalink The Vapi IPs do not accept any data (any inbound data requests are blocked) instead, you may only receive data from our IPs. To send any data you wish to transmit, please direct it to sip.vapi.ai.
v
@Shubham Bajaj Any idea what should be added in hostname and transport I did went through the document and whitelisted ips. But this detail i am still not able to figure out.
s
Transport will be UDP and hostname sip.vapi.ai
v
ya i figured that and added the trunk. also added credentials and number in vapi However calling is not taking place getting this { "id": "3927fae6-c909-4bc2-afe3-61a6758f7bd2", "assistantId": "ed3e0153-8bf9-4c08-99a2-3cd9f250fd9a", "phoneNumberId": "5dc7e318-b072-4b54-a673-554dc98f2c86", "type": "outboundPhoneCall", "createdAt": "2025-02-01T11:07:10.136Z", "updatedAt": "2025-02-01T11:07:11.500Z", "orgId": "243ed7f7-e59f-4313-bf1d-2adb6cf46c7a", "cost": 0, "customer": { "number": "+919873755286" }, "status": "ended", "endedReason": "sip-gateway-failed-to-connect-call", "phoneCallProvider": "vapi", "phoneCallProviderId": "db35cf38-ebba-4f25-b5e0-aa8c5cee08ae", "phoneCallTransport": "pstn", "monitor": { "listenUrl": "wss://phone-call-websocket.aws-us-west-2-backend-production1.vapi.ai/3927fae6-c909-4bc2-afe3-61a6758f7bd2/listen", "controlUrl": "https://phone-call-websocket.aws-us-west-2-backend-production1.vapi.ai/3927fae6-c909-4bc2-afe3-61a6758f7bd2/control" }, "transport": {} }
s
v
getting {"message":["property credentials should not exist"],"error":"Bad Request","statusCode":400} when trying to add credentials
s
@Vexalink can you share the call ID for it?
9 Views