Hi,
I'm trying to get some cli commands working in combination with xml-
curl.
Endpoints are parsed properly for SIP registrations and invites, but
when I use the CLI command "user_exists" it returns false, while I do
return an endpoint (same syntax as for a sofia_reg_parse_auth event)
on
As Raul said, the user_exists function will look for a user
*attribute* so unless you write your user as , you need to use id (and the later wouldnt set
the accountcode variable, no)
Math
On 25-Mar-09, at 1:53 AM, Raul Fragoso wrote:
> You should use the id value of the user, not accountcode
You should use the id value of the user, not accountcode:
user_exists id gigaset toyos.nl
Regards,
Raul
On Tue, 2009-03-24 at 15:55 +0100, Leon de Rooij wrote:
> Hi,
>
> I'm trying to get some cli commands working in combination with xml-
> curl.
>
> Endpoints are parsed properly for SIP reg
Thanks.. I see it's even documented at
http://wiki.freeswitch.org/wiki/Mod_commands#user_exists
(doh)
regards,
Leon
On Mar 25, 2009, at 6:57 AM, Mathieu Rene wrote:
> As Raul said, the user_exists function will look for a user
> *attribute* so unless you write your user as accountcode="bl