External Trunk and Internal Extensions

I have a DID that needs to ring an external trunk for a dispatch console and Internal Extensions on Vital PBX at the same time. I thought I could accomplish this by creating a custom application setting the destination as the pjsip trunk then creating a virtual extension to dial the code then adding the virtual extension into a queue with my internal extensions but it did not work. I will list below an example of what I am trying to accomplish:

Citizen calls dispatch - dispatch answers on their consoles (pjsip trunk - another carrier) - if their carrier goes down or they are busy we need it to ring our vital pbx extensions. I read a few things about how I could possibly achieve this with a dial plan - then creating a custom contexts. Just wondering if I am over thinking this or if anyone could offer any suggestions.

As a temp work around - I have my inbound route pointed to my queue with my vital pbx extensions - rings for 5 seconds then the final destination is the trunk but I really need to find a solution to have both the trunk and extensions ring at the same time until answered.

1 Like

You can accomplish this with a ring group ., no custom dialplan or queue should be necessary.

Add your internal extensions and the external dispatch number to the ring group, set the strategy to Ring All , and point the inbound route to it. The external number will use the configured outbound route/pjsip trunk.

Whichever destination answers first will take the call, and the others will stop ringing. Just make sure the dispatch number does not immediately answer with voicemail or an announcement, since that would stop the internal extensions from ringing.

This would work if they would let us assign a phone number to their trunk but they won’t and due to this being a 911 center - the admin calls coming into our system (vital pbx) needs to use the 911 trunk to hit their 911 consoles. If the trunk ever goes down we need it to failover to the our extensions (vital pbx) and the 911 failover trunk simultaneously.

Example we have the admin phone number in Vital PBX

123-555-9999 (ex DID)

Caller calls admin line 123-555-9999 (Vital Pbx) - if I set the inbound route destination to the 911 trunk that goes to their 911 console they can answer 911 calls and admin calls but if the trunk fails they have no way of answering calls unless we change the inbound route destination.

In our old system they would have their yealink phones on silent under their desk and if their 911 trunk went down they would pull out the yealink phones and answer those until the trunk connected again. Their old 911 vendor allowed us to use pjsip credentials from an extension to establish the trunk so in the old system we had a queue that had our yealink extensions and the pjsip trunk extension so both would ring at the same time.

They are moving to a new 911 provider that will not let us do that or let us assign a phone number to that trunk other than the admin phone number. Just trying to figure out a failover option that prevents us from having to change the inbound destination if the trunk goes down and us having to remember to put it back once the trunk comes back on which is why I asked is there some way (preferably simple way lol) to set a pjsip trunk and Vital pbx extensions to ring at the same time.