[Freeswitch-users] user_exists / user_registered?

Henry Huang red.rain.seven at gmail.com
Fri Apr 30 01:26:14 PDT 2010


Does it also tells you if a user is busy?
If not, what should I do to find out if a user is on phone already so I can
send the second call to some place else?

Thanks,

Henry

On Thu, Apr 29, 2010 at 1:41 PM, Phillip Jones <pjintheusa at gmail.com> wrote:

> Thank you all!
>
>
> On Thu, Apr 29, 2010 at 4:13 PM, David Ponzone <david.ponzone at gmail.com>wrote:
>
>> Phillip,
>>
>> perhaos not the nicest way, but you could use sofia_contact.
>>
>> sofia_contact <profile>/<user id>@<domain>
>>
>> If it returns:
>> error/user_not_registered
>> then you know it is not registered.
>>
>> if it is, the answer would be a string starting with:
>> sofia/<profile>/etc...
>>
>>  David Ponzone  Direction Technique
>> email: david.ponzone at ipeva.fr
>> tel:      01 74 03 18 97
>> gsm:   06 66 98 76 34
>>
>> Service Client IPeva
>> tel:      0811 46 26 26
>> www.ipeva.fr  -   www.ipeva-studio.com
>>
>> *Ce message et toutes les pièces jointes sont confidentiels et établis à
>> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
>> non autorisée est interdite. Tout message électronique est susceptible
>> d'altération. **IPeva** décline toute responsabilité au titre de ce
>> message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas
>> destinataire de ce message, merci de le détruire immédiatement et d'avertir
>> l'expéditeur.*
>> *
>> *
>>
>>
>>
>> Le 29/04/2010 à 21:58, Phillip Jones a écrit :
>>
>> Hi there,
>>
>> You can call the api command user_exists - to see it the user is defined
>> in the /directory.
>>
>> Is there an api command that tells you whether a user is currently
>> registered? Like user_registered??
>>
>>
>>
>> Thanks
>>
>> Pj
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Henry Huang
UniC Solution - Communication Unified
VoIP & Open Source software Consultant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100430/bd2ceea2/attachment.html 


More information about the FreeSWITCH-users mailing list