mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Enable on hook transfer for vmwi
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -4815,6 +4815,9 @@ static void *do_monitor(void *data) | ||||
| 									ast_log(LOG_WARNING, "Unable to flush input on channel %d\n", last->channel); | ||||
| 								last->cidspill = malloc(8192); | ||||
| 								if (last->cidspill) { | ||||
| 									/* Turn on on hook transfer for 4 seconds */ | ||||
| 									x = 4000; | ||||
| 									ioctl(last->subs[SUB_REAL].zfd, ZT_ONHOOKTRANSFER, &x); | ||||
| 									last->cidlen = vmwi_generate(last->cidspill, res, 1, AST_LAW(last)); | ||||
| 									last->cidpos = 0; | ||||
| #if 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user