mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Add support for monitoring MWI on FXO lines.
This introduces two new options for zapata.conf: mwimonitor and mwimonitornotify. The mwimonitor option enables MWI monitoring. When the MWI state on a line changes, then the script specified by mwimonitornotify will be executed for custom handling of the state change, similar to the externnotify option of voicemail.conf. Also, when the MWI state on an FXO line changes, an internal Asterisk event is generated to indicate the new state of the associated mailbox. That may, any module that cares about MWI information will get notified and can handle it just as if app_voicemail had sent this notification. (BE-253, original patch from markster, with some minor modifications by me to add comments, documentation, and internal event support) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -49,6 +49,8 @@ | ||||
| #define CID_PRIVATE_NUMBER		(1 << 1) | ||||
| #define CID_UNKNOWN_NAME		(1 << 2) | ||||
| #define CID_UNKNOWN_NUMBER		(1 << 3) | ||||
| #define CID_MSGWAITING			(1 << 4) | ||||
| #define CID_NOMSGWAITING		(1 << 5) | ||||
|  | ||||
| #define CID_SIG_BELL	1 | ||||
| #define CID_SIG_V23	2 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user