myevents json and xml arguments throwing errors
Hi everyone, I've been trying to use the myevents command to subscribe to the events for an api call, but I've been having some trouble. When I call: myevents <uuid> from my app (or even from a telnet client), I receive back all the event data just fine and the socket closes once the call has completed. However, if I pass a format argument, i.e: myevents json <uuid> I receive a response of: ERR invalid uuid My uuids are definitely valid. The command breaks for all format arguments too (xml, json and plain). Has anyone encountered this problem before? Documentation for myevents is a little light, and web searches so far have been fruitless. Thanks, Adam
Did you try it reversed? On Dec 5, 2011 2:50 PM, "Adam Johnston" <ajohnston@blimessaging.com> wrote:
Hi everyone,
I've been trying to use the myevents command to subscribe to the events for an api call, but I've been having some trouble. When I call: myevents <uuid> from my app (or even from a telnet client), I receive back all the event data just fine and the socket closes once the call has completed. However, if I pass a format argument, i.e: myevents json <uuid> I receive a response of: ERR invalid uuid
My uuids are definitely valid. The command breaks for all format arguments too (xml, json and plain). Has anyone encountered this problem before? Documentation for myevents is a little light, and web searches so far have been fruitless.
Thanks, Adam
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
I have tried with syntax reversed, (myevents <uuid> json and myevents <uuid> xml) with the same result: ERR invalid uuid On Mon, Dec 5, 2011 at 4:03 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
Did you try it reversed? On Dec 5, 2011 2:50 PM, "Adam Johnston" <ajohnston@blimessaging.com> wrote:
Hi everyone,
I've been trying to use the myevents command to subscribe to the events for an api call, but I've been having some trouble. When I call: myevents <uuid> from my app (or even from a telnet client), I receive back all the event data just fine and the socket closes once the call has completed. However, if I pass a format argument, i.e: myevents json <uuid> I receive a response of: ERR invalid uuid
My uuids are definitely valid. The command breaks for all format arguments too (xml, json and plain). Has anyone encountered this problem before? Documentation for myevents is a little light, and web searches so far have been fruitless.
Thanks, Adam
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Adam Johnston
-
Anthony Minessale