[Freeswitch-users] XML (curl) returned for Event-Calling-Function = switch_xml_locate_user

2009-03-24 Thread Leon de Rooij
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

Re: [Freeswitch-users] XML (curl) returned for Event-Calling-Function = switch_xml_locate_user

2009-03-24 Thread Mathieu Rene
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

Re: [Freeswitch-users] XML (curl) returned for Event-Calling-Function = switch_xml_locate_user

2009-03-24 Thread Raul Fragoso
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

Re: [Freeswitch-users] XML (curl) returned for Event-Calling-Function = switch_xml_locate_user

2009-03-25 Thread Leon de Rooij
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