- Joined
- Oct 23, 2020
- Messages
- 19
- Reaction score
- 1
Hey guys,
I'm looking for an idea on how to achieve the following:
The system is self-hosted in Amazon and the SIP Trunk always reachable. But what when the SBC/Deskphones are off / or the site has an outage? Is it possible to route the calls via Script to an external Mobile? Because the call will always go to the PBX and answers with the Voicemail for this extension i.e. Receptionist. But for specific cases, we need to have those calls diverted to a Mobile Number for Emergency purposes. Can this be scripted? Note: I have a failover SIP Trunk which works but as mentioned above, the SIP trunk is always online as it is self-hosted.
I have seen sample scripts and the variable return PhoneSystem.Root.GetDNByNumber(extensionNumber).IsRegistered; but they don't seem to work or I do not get a result using my own CFD script. I also tried https://www.3cx.com/docs/cfd-creating-outbound-dialer/ but I can't get this to work either. Maybe it changed for V20?
Does anyone has an idea?
I'm looking for an idea on how to achieve the following:
The system is self-hosted in Amazon and the SIP Trunk always reachable. But what when the SBC/Deskphones are off / or the site has an outage? Is it possible to route the calls via Script to an external Mobile? Because the call will always go to the PBX and answers with the Voicemail for this extension i.e. Receptionist. But for specific cases, we need to have those calls diverted to a Mobile Number for Emergency purposes. Can this be scripted? Note: I have a failover SIP Trunk which works but as mentioned above, the SIP trunk is always online as it is self-hosted.
I have seen sample scripts and the variable return PhoneSystem.Root.GetDNByNumber(extensionNumber).IsRegistered; but they don't seem to work or I do not get a result using my own CFD script. I also tried https://www.3cx.com/docs/cfd-creating-outbound-dialer/ but I can't get this to work either. Maybe it changed for V20?
Does anyone has an idea?