mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Make chan_zap compile for people without libpri again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -2570,12 +2570,14 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast) | ||||
| 			} | ||||
| 			break; | ||||
| 		case ZT_EVENT_ALARM: | ||||
| #ifdef ZAPATA_PRI | ||||
| #ifdef PRI_DESTROYCALL | ||||
| 			pri_destroycall(p->pri->pri, p->call); | ||||
| 			if (p->call && p->pri->pri) | ||||
| 				pri_destroycall(p->pri->pri, p->call); | ||||
| 			p->call = NULL; | ||||
| 			p->owner = NULL; | ||||
| #else | ||||
| #error Please "cvs update" and recompile libpri | ||||
| #endif | ||||
| #endif | ||||
| 			p->inalarm = 1; | ||||
| 			res = get_alarms(p); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user