Skip to content

Commit f586d0f

Browse files
authored
Merge pull request #147 from mstyles/add-confbridgelist
Add ConfbridgeList action and corresponding response events
2 parents 255e809 + c7d3169 commit f586d0f

9 files changed

+1548
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,11 @@ can still catch them. If you catch one of these, please report it!
118118
* BridgeInfoComplete
119119
* CEL
120120
* ChannelUpdate
121-
* ConfbridgeStart
122121
* ConfbridgeEnd
123122
* ConfbridgeJoin
124123
* ConfbridgeLeave
124+
* ConfbridgeList
125+
* ConfbridgeListComplete
125126
* ConfbridgeMute
126127
* ConfbridgeStart
127128
* ConfbridgeTalking
@@ -205,6 +206,7 @@ can still catch them. If you catch one of these, please report it!
205206
* BridgeInfo
206207
* ChangeMonitor
207208
* Command
209+
* ConfbridgeList
208210
* ConfbridgeMute
209211
* ConfbridgeUnmute
210212
* CoreSettings
Lines changed: 310 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,310 @@
1+
PAMI\Message\Action\ConfbridgeListAction
2+
===============
3+
4+
Lists all users in a particular ConfBridge conference.
5+
6+
PHP Version 5
7+
8+
9+
* Class name: ConfbridgeListAction
10+
* Namespace: PAMI\Message\Action
11+
* Parent class: [PAMI\Message\Action\ActionMessage](PAMI-Message-Action-ActionMessage.md)
12+
13+
14+
15+
Constants
16+
----------
17+
18+
19+
### EOL
20+
21+
const EOL = "\r\n"
22+
23+
24+
25+
26+
27+
### EOM
28+
29+
const EOM = "\r\n\r\n"
30+
31+
32+
33+
34+
35+
Properties
36+
----------
37+
38+
39+
### $lines
40+
41+
protected array<mixed,string> $lines
42+
43+
Message content, line by line. This is what it gets sent
44+
or received literally.
45+
46+
47+
48+
* Visibility: **protected**
49+
50+
51+
### $variables
52+
53+
protected array<mixed,string> $variables
54+
55+
Metadata. Message variables (key/value).
56+
57+
58+
59+
* Visibility: **protected**
60+
61+
62+
### $keys
63+
64+
protected array<mixed,string> $keys
65+
66+
Metadata. Message "keys" i.e: Action: login
67+
68+
69+
70+
* Visibility: **protected**
71+
72+
73+
### $createdDate
74+
75+
protected integer $createdDate
76+
77+
Created date (unix timestamp).
78+
79+
80+
81+
* Visibility: **protected**
82+
83+
84+
Methods
85+
-------
86+
87+
88+
### __construct
89+
90+
void PAMI\Message\Message::__construct()
91+
92+
Constructor.
93+
94+
95+
96+
* Visibility: **public**
97+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
98+
99+
100+
101+
102+
### setActionID
103+
104+
void PAMI\Message\Action\ActionMessage::setActionID($actionID)
105+
106+
Sets Action ID.
107+
108+
The ActionID can be at most 69 characters long, according to
109+
[Asterisk Issue 14847](https://issues.asterisk.org/jira/browse/14847).
110+
111+
Therefore we'll throw an exception when the ActionID is too long.
112+
113+
* Visibility: **public**
114+
* This method is defined by [PAMI\Message\Action\ActionMessage](PAMI-Message-Action-ActionMessage.md)
115+
116+
117+
#### Arguments
118+
* $actionID **mixed** - &lt;p&gt;The Action ID to have this action known by&lt;/p&gt;
119+
120+
121+
122+
### __sleep
123+
124+
array<mixed,string> PAMI\Message\Message::__sleep()
125+
126+
Serialize function.
127+
128+
129+
130+
* Visibility: **public**
131+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
132+
133+
134+
135+
136+
### getCreatedDate
137+
138+
integer PAMI\Message\Message::getCreatedDate()
139+
140+
Returns created date.
141+
142+
143+
144+
* Visibility: **public**
145+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
146+
147+
148+
149+
150+
### setVariable
151+
152+
void PAMI\Message\Message::setVariable(string $key, string $value)
153+
154+
Adds a variable to this message.
155+
156+
157+
158+
* Visibility: **public**
159+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
160+
161+
162+
#### Arguments
163+
* $key **string** - &lt;p&gt;Variable name.&lt;/p&gt;
164+
* $value **string** - &lt;p&gt;Variable value.&lt;/p&gt;
165+
166+
167+
168+
### getVariable
169+
170+
string PAMI\Message\Message::getVariable(string $key)
171+
172+
Returns a variable by name.
173+
174+
175+
176+
* Visibility: **public**
177+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
178+
179+
180+
#### Arguments
181+
* $key **string** - &lt;p&gt;Variable name.&lt;/p&gt;
182+
183+
184+
185+
### setKey
186+
187+
void PAMI\Message\Message::setKey(string $key, string $value)
188+
189+
Adds a variable to this message.
190+
191+
192+
193+
* Visibility: **protected**
194+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
195+
196+
197+
#### Arguments
198+
* $key **string** - &lt;p&gt;Key name (i.e: Action).&lt;/p&gt;
199+
* $value **string** - &lt;p&gt;Key value.&lt;/p&gt;
200+
201+
202+
203+
### getKey
204+
205+
string PAMI\Message\Message::getKey(string $key)
206+
207+
Returns a key by name.
208+
209+
210+
211+
* Visibility: **public**
212+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
213+
214+
215+
#### Arguments
216+
* $key **string** - &lt;p&gt;Key name (i.e: Action).&lt;/p&gt;
217+
218+
219+
220+
### getKeys
221+
222+
array<mixed,string> PAMI\Message\Message::getKeys()
223+
224+
Returns all keys for this message.
225+
226+
227+
228+
* Visibility: **public**
229+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
230+
231+
232+
233+
234+
### getVariables
235+
236+
array<mixed,string> PAMI\Message\Message::getVariables()
237+
238+
Returns all variabels for this message.
239+
240+
241+
242+
* Visibility: **public**
243+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
244+
245+
246+
247+
248+
### finishMessage
249+
250+
string PAMI\Message\Message::finishMessage($message)
251+
252+
Returns the end of message token appended to the end of a given message.
253+
254+
255+
256+
* Visibility: **protected**
257+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
258+
259+
260+
#### Arguments
261+
* $message **mixed**
262+
263+
264+
265+
### serializeVariable
266+
267+
string PAMI\Message\Message::serializeVariable(string $key, string $value)
268+
269+
Returns the string representation for an ami action variable.
270+
271+
272+
273+
* Visibility: **private**
274+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
275+
276+
277+
#### Arguments
278+
* $key **string**
279+
* $value **string**
280+
281+
282+
283+
### serialize
284+
285+
string PAMI\Message\Message::serialize()
286+
287+
Gives a string representation for this message, ready to be sent to
288+
ami.
289+
290+
291+
292+
* Visibility: **public**
293+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
294+
295+
296+
297+
298+
### getActionID
299+
300+
string PAMI\Message\Message::getActionID()
301+
302+
Returns key: 'ActionID'.
303+
304+
305+
306+
* Visibility: **public**
307+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
308+
309+
310+

0 commit comments

Comments
 (0)