it's somewhat similar to the unix kill SIG_KILL means kill it for good. SIG_BREAK means stop any blocking you may be doing and return immediately but do not die. on_execute and on_softexecute are state handlers every channel has a chance to do something when each of its states are changed, many do not need to use these but others do. execute is the main state where dialplan is executed. soft_execute is mostly a dummy state used by internal application like bridge and scripts to manually execute commands or use an overridden state to execute a specific function. On Thu, Sep 2, 2010 at 6:46 PM, jesse <chat2jesse@gmail.com> wrote:
Could FS developer please illustrate it to me? in what kind of case FS will send out SWITCH_SIG_BREAK instead of SWITCH_SIG_KILL.
Another question is what is the difference between channel_on_execute and channel_on_softexecute?
thanks!
-jesse
_______________________________________________ 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900