1 | <?php |
||
30 | class BridgeBlindTransfer extends Event implements IdentifiableEventInterface |
||
31 | { |
||
32 | /** |
||
33 | * @var Bridge (optional) - The bridge being transferred |
||
34 | */ |
||
35 | private $bridge; |
||
36 | |||
37 | /** |
||
38 | * @var Channel The channel performing the blind transfer |
||
39 | */ |
||
40 | private $channel; |
||
41 | |||
42 | /** |
||
43 | * @var string The context transferred to |
||
44 | */ |
||
45 | private $contex; |
||
46 | |||
47 | /** |
||
48 | * @var string The extension transferred to |
||
49 | */ |
||
50 | private $exten; |
||
51 | |||
52 | /** |
||
53 | * @var boolean Whether the transfer was externally initiated or not |
||
54 | */ |
||
55 | private $isExternal; |
||
56 | |||
57 | /** |
||
58 | * @var Channel (optional) - The channel that is replacing transferer when the transferee(s) can not be transferred directly |
||
59 | */ |
||
60 | private $replaceChannel; |
||
61 | |||
62 | /** |
||
63 | * @var string The result of the transfer attempt |
||
64 | */ |
||
65 | private $result; |
||
66 | |||
67 | /** |
||
68 | * @var Channel (optional) - The channel that is being transferred |
||
69 | */ |
||
70 | private $transferee; |
||
71 | |||
72 | /** |
||
73 | * @return Bridge (optional) - The bridge being transferred |
||
74 | */ |
||
75 | public function getBridge() |
||
79 | |||
80 | /** |
||
81 | * @return Channel The channel performing the blind transfer |
||
82 | */ |
||
83 | public function getChannel() |
||
87 | |||
88 | /** |
||
89 | * @return string The context transferred to |
||
90 | */ |
||
91 | public function getContext() |
||
95 | |||
96 | /** |
||
97 | * @return string The extension transferred to |
||
98 | */ |
||
99 | public function getExten() |
||
103 | |||
104 | /** |
||
105 | * @return boolean Whether the transfer was externally initiated or not |
||
106 | */ |
||
107 | public function isExternal() |
||
111 | |||
112 | /** |
||
113 | * @return Channel (optional) - The channel that is replacing transferer when the transferee(s) can not be transferred directly |
||
114 | */ |
||
115 | public function getReplaceChannel() |
||
119 | |||
120 | /** |
||
121 | * @return string The result of the transfer attempt |
||
122 | */ |
||
123 | public function getResult() |
||
127 | |||
128 | /** |
||
129 | * @return Channel (optional) - The channel that is being transferred |
||
130 | */ |
||
131 | public function getTransferee() |
||
135 | |||
136 | public function getEventId() |
||
140 | |||
141 | /** |
||
142 | * @param AriClient $client |
||
143 | * @param string $response |
||
144 | */ |
||
145 | public function __construct(AriClient $client, $response) |
||
158 | } |
||
159 |