uuid_exists not behaving as expected
Hi there, If I call uuid_exists from fs_cli I get a true or false response. uuid_exists 9797297 -- > false If I make the same call from my script (mod_managed) I get no response: apiResult = fsApi.Execute("uuid_exists", "979878686"); ---> empty string and the console shows an error switch_cpp:195 object is not initalized Calling a valid uuid from my script however does behave as expected and returns true. This is not a huge issue - but I just want to check that receiving this error is ok, as I call uuid_exist frequently. Thanks Pj
That sounds like a problem with your api object. Did you call the constructor on it? On Thu, Jul 22, 2010 at 12:30 PM, Phillip Jones <pjintheusa@gmail.com>wrote:
Hi there,
If I call uuid_exists from fs_cli I get a true or false response.
uuid_exists 9797297 -- > false
If I make the same call from my script (mod_managed) I get no response: apiResult = fsApi.Execute("uuid_exists", "979878686"); ---> empty string
and the console shows an error
switch_cpp:195 object is not initalized
Calling a valid uuid from my script however does behave as expected and returns true.
This is not a huge issue - but I just want to check that receiving this error is ok, as I call uuid_exist frequently.
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Yes I did - but - you are correct I am trying to do this after the A leg call is hung up - so although my api object looks good, FreeSWITCH has presumably torn that all down? Which would understandable. emm. On Thu, Jul 22, 2010 at 1:42 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
That sounds like a problem with your api object. Did you call the constructor on it?
On Thu, Jul 22, 2010 at 12:30 PM, Phillip Jones <pjintheusa@gmail.com>wrote:
Hi there,
If I call uuid_exists from fs_cli I get a true or false response.
uuid_exists 9797297 -- > false
If I make the same call from my script (mod_managed) I get no response: apiResult = fsApi.Execute("uuid_exists", "979878686"); ---> empty string
and the console shows an error
switch_cpp:195 object is not initalized
Calling a valid uuid from my script however does behave as expected and returns true.
This is not a huge issue - but I just want to check that receiving this error is ok, as I call uuid_exist frequently.
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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)
-
Anthony Minessale
-
Phillip Jones