Skip to content

Commit 5b99c20

Browse files
committed
Complete the Confbridge Implementation and Accompanied Tests
1 parent eab953a commit 5b99c20

10 files changed

+994
-2
lines changed

src/PAMI/Message/Event/ConfbridgeEndEvent.php

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,63 @@ public function getConference()
6565
return $this->getKey('Conference');
6666
}
6767

68+
/**
69+
* Returns key: 'BridgeUniqueid'.
70+
*
71+
* @return string
72+
*/
73+
public function getBridgeUniqueid()
74+
{
75+
return $this->getKey('BridgeUniqueid');
76+
}
77+
78+
/**
79+
* Returns key: 'BridgeType'.
80+
*
81+
* @return string
82+
*/
83+
public function getBridgeType()
84+
{
85+
return $this->getKey('BridgeType');
86+
}
87+
88+
/**
89+
* Returns key: 'BridgeTechnology'.
90+
*
91+
* @return string
92+
*/
93+
public function getBridgeTechnology()
94+
{
95+
return $this->getKey('BridgeTechnology');
96+
}
97+
98+
/**
99+
* Returns key: 'BridgeCreator'.
100+
*
101+
* @return string
102+
*/
103+
public function getBridgeCreator()
104+
{
105+
return $this->getKey('BridgeCreator');
106+
}
107+
108+
/**
109+
* Returns key: 'BridgeName'.
110+
*
111+
* @return string
112+
*/
113+
public function getBridgeName()
114+
{
115+
return $this->getKey('BridgeName');
116+
}
117+
118+
/**
119+
* Returns key: 'BridgeNumChannels'.
120+
*
121+
* @return string
122+
*/
123+
public function getBridgeNumChannels()
124+
{
125+
return $this->getKey('BridgeNumChannels');
126+
}
68127
}

src/PAMI/Message/Event/ConfbridgeJoinEvent.php

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,163 @@ public function getCallerIDname()
105105
return $this->getKey('CallerIDname');
106106
}
107107

108+
/**
109+
* Returns key: 'BridgeUniqueid'.
110+
*
111+
* @return string
112+
*/
113+
public function getBridgeUniqueid()
114+
{
115+
return $this->getKey('BridgeUniqueid');
116+
}
117+
118+
/**
119+
* Returns key: 'BridgeType'.
120+
*
121+
* @return string
122+
*/
123+
public function getBridgeType()
124+
{
125+
return $this->getKey('BridgeType');
126+
}
127+
128+
/**
129+
* Returns key: 'BridgeTechnology'.
130+
*
131+
* @return string
132+
*/
133+
public function getBridgeTechnology()
134+
{
135+
return $this->getKey('BridgeTechnology');
136+
}
137+
138+
/**
139+
* Returns key: 'BridgeCreator'.
140+
*
141+
* @return string
142+
*/
143+
public function getBridgeCreator()
144+
{
145+
return $this->getKey('BridgeCreator');
146+
}
147+
148+
/**
149+
* Returns key: 'BridgeName'.
150+
*
151+
* @return string
152+
*/
153+
public function getBridgeName()
154+
{
155+
return $this->getKey('BridgeName');
156+
}
157+
158+
/**
159+
* Returns key: 'BridgeNumChannels'.
160+
*
161+
* @return string
162+
*/
163+
public function getBridgeNumChannels()
164+
{
165+
return $this->getKey('BridgeNumChannels');
166+
}
167+
168+
/**
169+
* Returns key: 'ChannelState'.
170+
*
171+
* @return string
172+
*/
173+
public function getChannelState()
174+
{
175+
return $this->getKey('ChannelState');
176+
}
177+
178+
/**
179+
* Returns key: 'ChannelStateDesc'.
180+
*
181+
* @return string
182+
*/
183+
public function getChannelStateDesc()
184+
{
185+
return $this->getKey('ChannelStateDesc');
186+
}
187+
188+
/**
189+
* Returns key: 'ConnectedLineNum'.
190+
*
191+
* @return string
192+
*/
193+
public function getConnectedLineNum()
194+
{
195+
return $this->getKey('ConnectedLineNum');
196+
}
197+
198+
/**
199+
* Returns key: 'ConnectedLineName'.
200+
*
201+
* @return string
202+
*/
203+
public function getConnectedLineName()
204+
{
205+
return $this->getKey('ConnectedLineName');
206+
}
207+
208+
/**
209+
* Returns key: 'AccountCode'.
210+
*
211+
* @return string
212+
*/
213+
public function getAccountCode()
214+
{
215+
return $this->getKey('AccountCode');
216+
}
217+
218+
/**
219+
* Returns key: 'Context'.
220+
*
221+
* @return string
222+
*/
223+
public function getContext()
224+
{
225+
return $this->getKey('Context');
226+
}
227+
228+
/**
229+
* Returns key: 'Exten'.
230+
*
231+
* @return string
232+
*/
233+
public function getExten()
234+
{
235+
return $this->getKey('Exten');
236+
}
237+
238+
/**
239+
* Returns key: 'Priority'.
240+
*
241+
* @return string
242+
*/
243+
public function getPriority()
244+
{
245+
return $this->getKey('Priority');
246+
}
247+
248+
/**
249+
* Returns key: 'Linkedid'.
250+
*
251+
* @return string
252+
*/
253+
public function getLinkedid()
254+
{
255+
return $this->getKey('Linkedid');
256+
}
257+
258+
/**
259+
* Returns key: 'Admin'.
260+
*
261+
* @return string
262+
*/
263+
public function getAdmin()
264+
{
265+
return $this->getKey('Admin');
266+
}
108267
}

src/PAMI/Message/Event/ConfbridgeLeaveEvent.php

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,163 @@ public function getCallerIDname()
105105
return $this->getKey('CallerIDname');
106106
}
107107

108+
/**
109+
* Returns key: 'BridgeUniqueid'.
110+
*
111+
* @return string
112+
*/
113+
public function getBridgeUniqueid()
114+
{
115+
return $this->getKey('BridgeUniqueid');
116+
}
117+
118+
/**
119+
* Returns key: 'BridgeType'.
120+
*
121+
* @return string
122+
*/
123+
public function getBridgeType()
124+
{
125+
return $this->getKey('BridgeType');
126+
}
127+
128+
/**
129+
* Returns key: 'BridgeTechnology'.
130+
*
131+
* @return string
132+
*/
133+
public function getBridgeTechnology()
134+
{
135+
return $this->getKey('BridgeTechnology');
136+
}
137+
138+
/**
139+
* Returns key: 'BridgeCreator'.
140+
*
141+
* @return string
142+
*/
143+
public function getBridgeCreator()
144+
{
145+
return $this->getKey('BridgeCreator');
146+
}
147+
148+
/**
149+
* Returns key: 'BridgeName'.
150+
*
151+
* @return string
152+
*/
153+
public function getBridgeName()
154+
{
155+
return $this->getKey('BridgeName');
156+
}
157+
158+
/**
159+
* Returns key: 'BridgeNumChannels'.
160+
*
161+
* @return string
162+
*/
163+
public function getBridgeNumChannels()
164+
{
165+
return $this->getKey('BridgeNumChannels');
166+
}
167+
168+
/**
169+
* Returns key: 'ChannelState'.
170+
*
171+
* @return string
172+
*/
173+
public function getChannelState()
174+
{
175+
return $this->getKey('ChannelState');
176+
}
177+
178+
/**
179+
* Returns key: 'ChannelStateDesc'.
180+
*
181+
* @return string
182+
*/
183+
public function getChannelStateDesc()
184+
{
185+
return $this->getKey('ChannelStateDesc');
186+
}
187+
188+
/**
189+
* Returns key: 'ConnectedLineNum'.
190+
*
191+
* @return string
192+
*/
193+
public function getConnectedLineNum()
194+
{
195+
return $this->getKey('ConnectedLineNum');
196+
}
197+
198+
/**
199+
* Returns key: 'ConnectedLineName'.
200+
*
201+
* @return string
202+
*/
203+
public function getConnectedLineName()
204+
{
205+
return $this->getKey('ConnectedLineName');
206+
}
207+
208+
/**
209+
* Returns key: 'AccountCode'.
210+
*
211+
* @return string
212+
*/
213+
public function getAccountCode()
214+
{
215+
return $this->getKey('AccountCode');
216+
}
217+
218+
/**
219+
* Returns key: 'Context'.
220+
*
221+
* @return string
222+
*/
223+
public function getContext()
224+
{
225+
return $this->getKey('Context');
226+
}
227+
228+
/**
229+
* Returns key: 'Exten'.
230+
*
231+
* @return string
232+
*/
233+
public function getExten()
234+
{
235+
return $this->getKey('Exten');
236+
}
237+
238+
/**
239+
* Returns key: 'Priority'.
240+
*
241+
* @return string
242+
*/
243+
public function getPriority()
244+
{
245+
return $this->getKey('Priority');
246+
}
247+
248+
/**
249+
* Returns key: 'Linkedid'.
250+
*
251+
* @return string
252+
*/
253+
public function getLinkedid()
254+
{
255+
return $this->getKey('Linkedid');
256+
}
257+
258+
/**
259+
* Returns key: 'Admin'.
260+
*
261+
* @return string
262+
*/
263+
public function getAdmin()
264+
{
265+
return $this->getKey('Admin');
266+
}
108267
}

0 commit comments

Comments
 (0)