Detect unregistered extensions

Status
Not open for further replies.

xavierbonell

Platinum Partner
Advanced Certified
Joined
Mar 13, 2023
Messages
5
Reaction score
2
Hi!

Is there anyway to detect if an extension is registered / unregistered? By a Call Flow I use the component "Get Extension Status", but in both ways returns "Available" even if th extension is not registered. This purpose is for using the "Make call component" in v20. Instead of making the call from the Call Flow to the extension I'll program that the extension calls the Call Flow project. It could be a patch. But before I need to know if the extension is online.

Thanks!
 
Hi there.
You could refer to this community post.
Have a nice day
 
Hi!
I've read this thread. But what's the difference when a phone is not registered / offline? The status is still "Available"
 
Hello @xavierbonell,

The Get Extension Status component will tell you the status, but not if the extension is registered or not. To get that information you would need to run a piece of C# script. For example to check if extension 100 is registered:
C#:
var extension100 = PhoneSystem.Root.GetDNByNumber("100");
return extension100.IsRegistered;

You can use the Execute C# Code component to run that script.

Also, if you're building a dialer with the CFD, you can consider SIP Caller as a much simpler alternative. This is a cloud based outbound call dialer that seamlessly integrates with 3CX, and will let you have your dialer working in a matter of minutes. You can sign up as a SIP Caller partner and configure it for your customers.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,075
Members
164,895
Latest member
jasonkkrause