[Asterisk-Dev] Use ast_safe_asterisk to start a background task?

Dan Austin Dan_Austin at Phoenix.com
Tue Apr 5 18:21:21 MST 2005


I have a small application to end a MeetMe conference
at a scheduled time.

I'd like to launch it from within an asterisk application.

Is this legal?
	char buf[80];
	snprintf(buf, "/path/to/myapp %s %s&", opt1, opt2);
	ast_safe_system(buf);

Or is it even needed? 

I will be handling errors in the external application, and
do not care to pass the errors back to the calling application.


Thanks,
Dan



More information about the asterisk-dev mailing list