Hello,
a track for you ...
I think that many of the answers to your questions are simply found in the CDRs.
you can set and adjust all the fields you need ...
Gilles
De : FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de CpServiceSPb .
Envoyé : vendredi 17 avril 2020 17:16
À : freeswitch-users@lists.freeswitch.org
Objet : [Freeswitch-users] Device / extension state (status) functionality at Freeswitch or get User (Peer) / Gateway (Trunk) state
There is Freeswitch 1.8.5 built from sources worked on x64 Linux.
I need to check / get internal users / trunck gateways state BEFORE using it to perform different actions in response of got conditions:
1. the called number is not exists in the directory at all;
2. the called number exist in the directory, but not registered at the time, for example don' t launch softphone;
3. the called number is inuse;
4. the called number is busy;
5. the called number is not answered due timeout
6. the called number is answered.
Is there functionality looks like device and / or extension (user) state at Freeswitch as for example <dialstatus> or <channelstarus> ?
How is the best way to get these different states for internal users, for each one and /or for trunk gateways, per each also ?