Thank you all!

On Thu, Apr 29, 2010 at 4:13 PM, David Ponzone <david.ponzone@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
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org