Anthony:
You are da man. Thank you. It's very kind of you to release me from endless
trial :P
On Sat, Oct 24, 2009 at 1:47 AM, Chris Burns ch...@cloudtel.com wrote:
poor bbhenry :)
Added in r15207 please test and update docu if necessary:
Thanks to c6burns on IRC channel for the tip to use execute_on_answer in
combination with eval, and of course everyone here that pointing me to the
right direction.
I was able to execute sched_api with eval, but not with the combination of
execute_on_answer. The argument just don't get parsed as
it's probably related to escaping the data.
I was sick of watching you suffer so i added api_on_answer variable to
trunk.
On Fri, Oct 23, 2009 at 3:54 AM, Henry Huang red.rain.se...@gmail.comwrote:
Thanks to c6burns on IRC channel for the tip to use execute_on_answer in
combination with eval,
poor bbhenry :)
Added in r15207 please test and update docu if necessary:
http://wiki.freeswitch.org/wiki/Variable_api_on_answer
On October 23, 2009 11:02:07 am Anthony Minessale wrote:
it's probably related to escaping the data.
I was sick of watching you suffer so i added api_on_answer
I can't seem to find the right thing to use in mod_java to execute api
commands, only api_after_bridge
2009-10-21 17:42:46.593094 [NOTICE] mod_sofia.c:1509 Pre-Answer
sofia/internal/1688...@192.168.1.66!
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at
Judging by this error I would assume that you're still calling
sched_api as a Dialplan application and not as an FS API command.
You need to figure out how to create an API obj in java and call
sched_api from that object.
-MC
Sent from my iPhone
On Oct 21, 2009, at 2:44 AM, Henry Huang
The syntax is different, but the api is the same as lua:
So you need an API object in order to use it. I don't know the
syntax for creating an api obj in Java but in Lua it goes like this:
api = freeswitch.API();
res = api:execute(sched_api,+300 none my_api my_api_args)
create the API
Yes you need an API object as described in other email.
Which line of code from java caused that segfault
It looks like a simple NULL string issue that we may want to hunt down.
On Wed, Oct 21, 2009 at 4:44 AM, Henry Huang red.rain.se...@gmail.comwrote:
I can't seem to find the right thing to
sched_api is a fsapi command not a dialplan application, I believe
sched_hangup is both.
Mike
On Oct 13, 2009, at 6:14 AM, Henry Huang wrote:
Hi:
I am using mod_java. And in my script I was able to achieve using:
execute(sched_hangup, +300 alloted_timeout);
However, when I try to run
So how would you trigger it from a script dialplan? The only time it seemed
to work is when I did setVariable(api_after_bridge, sched_api blah blah
blah);
but then it gets executed after the channel's been teared down. I thought
api_after_bridge means right after the call gets connected.
I need
On Fri, Oct 16, 2009 at 11:53 AM, Henry Huang red.rain.se...@gmail.comwrote:
So how would you trigger it from a script dialplan? The only time it seemed
to work is when I did setVariable(api_after_bridge, sched_api blah blah
blah);
but then it gets executed after the channel's been teared
You need to pass the UUID to sched_hangup.
Usage: sched_hangup [+]time uuid [cause]
http://wiki.freeswitch.org/wiki/Mod_commands#sched_hangup
On Tue, Oct 13, 2009 at 10:14 AM, Henry Huang b_ball_he...@hotmail.comwrote:
Hi:
I am using mod_java. And in my script I was able to achieve using:
Diego:
You probably miss understood me. I said I was able to make sched_hangup
work, but not the sched_api in the same way I script for sched_hangup
The problem was on the second paragraph.
thanks,
On Wed, Oct 14, 2009 at 2:45 AM, Diego Viola diego.vi...@gmail.com wrote:
You need to pass the
On Oct 13, 2009, at 8:30 PM, Henry Huang red.rain.se...@gmail.com
wrote:
Diego:
You probably miss understood me. I said I was able to make
sched_hangup work, but not the sched_api in the same way I
script for sched_hangup
The problem was on the second paragraph.
Henry, can you
14 matches
Mail list logo