On Thu, Sep 3, 2009 at 2:23 PM, Benedikt Fraunhofer <
fraunhofer.lists.freeswitch-...@traced.net> wrote:

> Hi,
>
>
> > Usage: uuid_exists <uuid>
> > However when I call via an API call I get:
> > INVALID COMMAND!
> > I also don't see it in MOD_COMMAND.C
>
> As a workaround or if your are unable to upgrade, you can use
> "uuid_getvar [some_uuid] thisVariableDoesNotExist"
> ("thisVariableDoesNotExist" is any variable you can think of, a valid
> one or literally 'thisVariableDoesNotExist' :)
> You'll either get an error that this channel does not exist any longer
> or "undef" for the channel variable.
> The api will return "+OK" in case the channel still exists, and
> "ERROR" in case it does not.
>
> Beni.
>
>
You could even do this:
uuid_getvar <the_uuid_you_are_checking> uuid

If it exists then the return will be the uuid. :)

Although I must say I recommend this instead:
make current

:)
-MC
_______________________________________________
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

Reply via email to