mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merged revisions 60989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered. This also adds the mods from 1.4/r.61136; ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1914,7 +1914,7 @@ static void make_email_file(FILE *p, char *srcemail, struct ast_vm_user *vmu, in | ||||
|  | ||||
| 	if (!ast_strlen_zero(fromstring)) { | ||||
| 		struct ast_channel *ast; | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, 0))) { | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0))) { | ||||
| 			char *passdata; | ||||
| 			int vmlen = strlen(fromstring)*3 + 200; | ||||
| 			if ((passdata = alloca(vmlen))) { | ||||
| @@ -1936,7 +1936,7 @@ static void make_email_file(FILE *p, char *srcemail, struct ast_vm_user *vmu, in | ||||
| 	fprintf(p, "To: %s <%s>" ENDL, quote(vmu->fullname, passdata2, len_passdata), vmu->email); | ||||
| 	if (!ast_strlen_zero(emailsubject)) { | ||||
| 		struct ast_channel *ast; | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, 0))) { | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0))) { | ||||
| 			char *passdata; | ||||
| 			int vmlen = strlen(emailsubject) * 3 + 200; | ||||
| 			if ((passdata = alloca(vmlen))) { | ||||
| @@ -1990,7 +1990,7 @@ static void make_email_file(FILE *p, char *srcemail, struct ast_vm_user *vmu, in | ||||
| 	fprintf(p, "Content-Type: text/plain; charset=%s" ENDL "Content-Transfer-Encoding: 8bit" ENDL ENDL, charset); | ||||
| 	if (emailbody) { | ||||
| 		struct ast_channel *ast; | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, 0))) { | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0))) { | ||||
| 			char *passdata; | ||||
| 			int vmlen = strlen(emailbody)*3 + 200; | ||||
| 			if ((passdata = alloca(vmlen))) { | ||||
| @@ -2109,7 +2109,7 @@ static int sendpage(char *srcemail, char *pager, int msgnum, char *context, char | ||||
|  | ||||
| 	if (*pagerfromstring) { | ||||
| 		struct ast_channel *ast; | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, 0))) { | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0))) { | ||||
| 			char *passdata; | ||||
| 			int vmlen = strlen(fromstring)*3 + 200; | ||||
| 			if ((passdata = alloca(vmlen))) { | ||||
| @@ -2127,7 +2127,7 @@ static int sendpage(char *srcemail, char *pager, int msgnum, char *context, char | ||||
| 	fprintf(p, "To: %s\n", pager); | ||||
| 	if (pagersubject) { | ||||
| 		struct ast_channel *ast; | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, 0))) { | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0))) { | ||||
| 			char *passdata; | ||||
| 			int vmlen = strlen(pagersubject) * 3 + 200; | ||||
| 			if ((passdata = alloca(vmlen))) { | ||||
| @@ -2146,7 +2146,7 @@ static int sendpage(char *srcemail, char *pager, int msgnum, char *context, char | ||||
| 	strftime(date, sizeof(date), "%A, %B %d, %Y at %r", &tm); | ||||
| 	if (pagerbody) { | ||||
| 		struct ast_channel *ast; | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, 0))) { | ||||
| 		if ((ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0))) { | ||||
| 			char *passdata; | ||||
| 			int vmlen = strlen(pagerbody)*3 + 200; | ||||
| 			if ((passdata = alloca(vmlen))) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user