Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk
> app_nv_faxdetect.c.1.4.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File app_nv_faxdetect.c.1.4.patch of Package asterisk (Revision 97)
Currently displaying revision
97
,
show latest
--- app_nv_faxdetect.c.old 2006-02-24 04:52:29.000000000 +0100-+ +++ app_nv_faxdetect.c 2007-08-16 03:40:21.000000000 +0200 @@ -77,7 +77,7 @@ static int nv_detectfax_exec(struct ast_channel *chan, void *data) { int res = 0; - struct localuser *u; + //struct localuser *u; char tmp256 = "\0"; char *p = NULL; char *waitstr = NULL; @@ -157,7 +157,7 @@ ast_log(LOG_DEBUG, "Preparing detect of fax (waitdur=%dms, sildur=%dms, mindur=%dms, maxdur=%dms)\n", waitdur, sildur, mindur, maxdur); - LOCAL_USER_ADD(u); + //LOCAL_USER_ADD(u); if (chan->_state != AST_STATE_UP && !skipanswer) { /* Otherwise answer unless we're supposed to send this while on-hook */ res = ast_answer(chan); @@ -307,14 +307,14 @@ if (dsp) ast_dsp_free(dsp); - LOCAL_USER_REMOVE(u); + //LOCAL_USER_REMOVE(u); return res; } int unload_module(void) { - STANDARD_HANGUP_LOCALUSERS; + //STANDARD_HANGUP_LOCALUSERS; return ast_unregister_application(app); } @@ -339,3 +339,5 @@ { return ASTERISK_GPL_KEY; } + +AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Fax detection application");