Beispiel #1
0
		static void dam_NewExten(object sender, NewExtenEvent e)
		{
			Console.WriteLine(
				"New Extension Event"
				+ "\n\tChannel\t\t" + e.Channel
				+ "\n\tExtension\t" + e.Extension
				+ "\n\tContext\t\t" + e.Context
				+ "\n\tDateReceived\t" + e.DateReceived.ToString()
				+ "\n\tPriority\t" + e.Priority.ToString()
				+ "\n\tPrivilege\t" + e.Privilege
				+ "\n\tUniqueId\t" + e.UniqueId
				+ "\n\tAppData\t\t" + e.AppData
				+ "\n\tApplication\t" + e.Application
				);
		}
Beispiel #2
0
		static void manager_IgnoreEvent(object sender, NewExtenEvent e)
		{
			// Ignore this event.
		}