1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package net.sf.asterisk.manager.event;
18
19 /***
20 * A UnparkedCallEvent is triggered when a channel that has been parked is
21 * resumed.<br>
22 * It is implemented in <code>res/res_features.c</code><br>
23 * Available since Asterisk 1.2
24 *
25 * @author srt
26 * @version $Id: UnparkedCallEvent.java,v 1.1 2005/08/27 12:08:59 srt Exp $
27 * @since 0.2
28 */
29 public class UnparkedCallEvent extends AbstractParkedCallEvent
30 {
31 /***
32 * Serializable version identifier
33 */
34 private static final long serialVersionUID = -7437833328723536814L;
35
36 private String from;
37
38 /***
39 * @param source
40 */
41 public UnparkedCallEvent(Object source)
42 {
43 super(source);
44 }
45
46 /***
47 * Returns the name of the channel that parked the call.
48 */
49 public String getFrom()
50 {
51 return from;
52 }
53
54 /***
55 * Sets the name of the channel that parked the call.
56 */
57 public void setFrom(String from)
58 {
59 this.from = from;
60 }
61 }