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 ?
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 ?
May you explain more detailed what did you imply for the case ? For example there are some internal peers = 100, 101 and some external trunks = VoIPProv1, VoIPProv2. User with 100 tries to call user with 101. And just before calling how is to get 101 peer status/state using CDR to implemen logic - for example, to redirect call to peer 101 cell number in case of 101 busy answer or to speak peer 100 message that peer 101 is busy ? The same is for external trunks. How is to do si by CDR as for out as for in coming calling as for internal peers as for external gateways ? ср, 22 апр. 2020 г. в 05:53, Gilles SAUVAIRE <Gilles@sauvaire.com>:
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 ?
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
CpServiceSPb .
-
Gilles SAUVAIRE