Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added apache license text

  • Loading branch information...
commit d239b3da950204c010839d814c6d94bb1d34921b 1 parent 4ad7777
@marcelog authored
Showing with 2,567 additions and 242 deletions.
  1. +179 −0 LICENSE
  2. +16 −0 README
  3. +15 −0 docs/examples/quickstart/example.php
  4. +15 −0 src/mg/PAMI/Autoloader/PAMI_Autoloader.php
  5. +15 −0 src/mg/PAMI/Client/Exception/ClientException.php
  6. +18 −3 src/mg/PAMI/Client/IClient.php
  7. +15 −0 src/mg/PAMI/Client/Impl/ClientImpl.php
  8. +15 −0 src/mg/PAMI/Exception/PAMIException.php
  9. +17 −2 src/mg/PAMI/Listener/IEventListener.php
  10. +15 −0 src/mg/PAMI/Logger/Logger.php
  11. +16 −1 src/mg/PAMI/Message/Action/AbsoluteTimeoutAction.php
  12. +16 −1 src/mg/PAMI/Message/Action/ActionMessage.php
  13. +16 −1 src/mg/PAMI/Message/Action/AgentLogoffAction.php
  14. +16 −1 src/mg/PAMI/Message/Action/AgentsAction.php
  15. +17 −2 src/mg/PAMI/Message/Action/AttendedTransferAction.php
  16. +17 −2 src/mg/PAMI/Message/Action/BridgeAction.php
  17. +15 −0 src/mg/PAMI/Message/Action/ChangeMonitorAction.php
  18. +16 −1 src/mg/PAMI/Message/Action/CommandAction.php
  19. +15 −0 src/mg/PAMI/Message/Action/CoreSettingsAction.php
  20. +15 −0 src/mg/PAMI/Message/Action/CoreShowChannelsAction.php
  21. +15 −0 src/mg/PAMI/Message/Action/CoreStatusAction.php
  22. +17 −2 src/mg/PAMI/Message/Action/CreateConfigAction.php
  23. +17 −2 src/mg/PAMI/Message/Action/DAHDIDNDOffAction.php
  24. +17 −2 src/mg/PAMI/Message/Action/DAHDIDNDOnAction.php
  25. +16 −1 src/mg/PAMI/Message/Action/DAHDIDialOffHookAction.php
  26. +16 −1 src/mg/PAMI/Message/Action/DAHDIHangupAction.php
  27. +16 −1 src/mg/PAMI/Message/Action/DAHDIRestartAction.php
  28. +16 −1 src/mg/PAMI/Message/Action/DAHDIShowChannelsAction.php
  29. +16 −1 src/mg/PAMI/Message/Action/DBDelAction.php
  30. +16 −1 src/mg/PAMI/Message/Action/DBDelTreeAction.php
  31. +16 −1 src/mg/PAMI/Message/Action/DBGetAction.php
  32. +15 −0 src/mg/PAMI/Message/Action/DBPutAction.php
  33. +15 −0 src/mg/PAMI/Message/Action/EventsAction.php
  34. +15 −0 src/mg/PAMI/Message/Action/ExtensionStateAction.php
  35. +17 −2 src/mg/PAMI/Message/Action/GetConfigAction.php
  36. +17 −2 src/mg/PAMI/Message/Action/GetConfigJSONAction.php
  37. +16 −1 src/mg/PAMI/Message/Action/GetVarAction.php
  38. +16 −1 src/mg/PAMI/Message/Action/HangupAction.php
  39. +15 −0 src/mg/PAMI/Message/Action/JabberSendAction.php
  40. +16 −1 src/mg/PAMI/Message/Action/ListCategoriesAction.php
  41. +15 −0 src/mg/PAMI/Message/Action/ListCommandsAction.php
  42. +15 −0 src/mg/PAMI/Message/Action/LocalOptimizeAwayAction.php
  43. +16 −1 src/mg/PAMI/Message/Action/LoginAction.php
  44. +15 −0 src/mg/PAMI/Message/Action/LogoffAction.php
  45. +17 −2 src/mg/PAMI/Message/Action/MailboxCountAction.php
  46. +17 −2 src/mg/PAMI/Message/Action/MailboxStatusAction.php
  47. +15 −0 src/mg/PAMI/Message/Action/MeetmeListAction.php
  48. +15 −0 src/mg/PAMI/Message/Action/MeetmeMuteAction.php
  49. +15 −0 src/mg/PAMI/Message/Action/MeetmeUnmuteAction.php
  50. +15 −0 src/mg/PAMI/Message/Action/ModuleCheckAction.php
  51. +15 −0 src/mg/PAMI/Message/Action/ModuleLoadAction.php
  52. +15 −0 src/mg/PAMI/Message/Action/ModuleReloadAction.php
  53. +15 −0 src/mg/PAMI/Message/Action/ModuleUnloadAction.php
  54. +15 −0 src/mg/PAMI/Message/Action/MonitorAction.php
  55. +57 −42 src/mg/PAMI/Message/Action/OriginateAction.php
  56. +15 −0 src/mg/PAMI/Message/Action/ParkAction.php
  57. +15 −0 src/mg/PAMI/Message/Action/ParkedCallsAction.php
  58. +15 −0 src/mg/PAMI/Message/Action/PauseMonitorAction.php
  59. +15 −0 src/mg/PAMI/Message/Action/PingAction.php
  60. +16 −1 src/mg/PAMI/Message/Action/PlayDTMFAction.php
  61. +15 −0 src/mg/PAMI/Message/Action/QueueAddAction.php
  62. +15 −0 src/mg/PAMI/Message/Action/QueueLogAction.php
  63. +15 −0 src/mg/PAMI/Message/Action/QueuePauseAction.php
  64. +15 −0 src/mg/PAMI/Message/Action/QueuePenaltyAction.php
  65. +15 −0 src/mg/PAMI/Message/Action/QueueReloadAction.php
  66. +15 −0 src/mg/PAMI/Message/Action/QueueRemoveAction.php
  67. +15 −0 src/mg/PAMI/Message/Action/QueueResetAction.php
  68. +15 −0 src/mg/PAMI/Message/Action/QueueRuleAction.php
  69. +15 −0 src/mg/PAMI/Message/Action/QueueStatusAction.php
  70. +15 −0 src/mg/PAMI/Message/Action/QueueSummaryAction.php
  71. +15 −0 src/mg/PAMI/Message/Action/QueueUnpauseAction.php
  72. +15 −0 src/mg/PAMI/Message/Action/QueuesAction.php
  73. +28 −13 src/mg/PAMI/Message/Action/RedirectAction.php
  74. +16 −1 src/mg/PAMI/Message/Action/ReloadAction.php
  75. +15 −0 src/mg/PAMI/Message/Action/SIPNotifyAction.php
  76. +15 −0 src/mg/PAMI/Message/Action/SIPPeersAction.php
  77. +15 −0 src/mg/PAMI/Message/Action/SIPQualifyPeerAction.php
  78. +15 −0 src/mg/PAMI/Message/Action/SIPShowPeerAction.php
  79. +15 −0 src/mg/PAMI/Message/Action/SIPShowRegistryAction.php
  80. +16 −1 src/mg/PAMI/Message/Action/SendTextAction.php
  81. +16 −1 src/mg/PAMI/Message/Action/SetVarAction.php
  82. +15 −0 src/mg/PAMI/Message/Action/ShowDialPlanAction.php
  83. +16 −1 src/mg/PAMI/Message/Action/StatusAction.php
  84. +15 −0 src/mg/PAMI/Message/Action/StopMonitorAction.php
  85. +15 −0 src/mg/PAMI/Message/Action/UnpauseMonitorAction.php
  86. +16 −1 src/mg/PAMI/Message/Action/VoicemailUsersListAction.php
  87. +18 −3 src/mg/PAMI/Message/Event/AGIExecEvent.php
  88. +15 −0 src/mg/PAMI/Message/Event/AgentloginEvent.php
  89. +15 −0 src/mg/PAMI/Message/Event/AgentlogoffEvent.php
  90. +16 −1 src/mg/PAMI/Message/Event/AgentsCompleteEvent.php
  91. +15 −0 src/mg/PAMI/Message/Event/AgentsEvent.php
  92. +20 −5 src/mg/PAMI/Message/Event/BridgeEvent.php
  93. +20 −5 src/mg/PAMI/Message/Event/ChannelUpdateEvent.php
  94. +24 −9 src/mg/PAMI/Message/Event/CoreShowChannelEvent.php
  95. +16 −1 src/mg/PAMI/Message/Event/CoreShowChannelsCompleteEvent.php
  96. +16 −1 src/mg/PAMI/Message/Event/DAHDIShowChannelsCompleteEvent.php
  97. +18 −3 src/mg/PAMI/Message/Event/DAHDIShowChannelsEvent.php
  98. +15 −0 src/mg/PAMI/Message/Event/DBGetResponseEvent.php
  99. +19 −4 src/mg/PAMI/Message/Event/DTMFEvent.php
  100. +21 −6 src/mg/PAMI/Message/Event/DialEvent.php
  101. +17 −2 src/mg/PAMI/Message/Event/EventMessage.php
  102. +18 −3 src/mg/PAMI/Message/Event/ExtensionStatusEvent.php
  103. +16 −1 src/mg/PAMI/Message/Event/Factory/IEventFactory.php
  104. +15 −0 src/mg/PAMI/Message/Event/Factory/Impl/EventFactoryImpl.php
  105. +18 −3 src/mg/PAMI/Message/Event/HangupEvent.php
  106. +18 −3 src/mg/PAMI/Message/Event/HoldEvent.php
  107. +15 −0 src/mg/PAMI/Message/Event/ListDialplanEvent.php
  108. +17 −2 src/mg/PAMI/Message/Event/MasqueradeEvent.php
  109. +16 −1 src/mg/PAMI/Message/Event/NewAccountCodeEvent.php
  110. +19 −4 src/mg/PAMI/Message/Event/NewCalleridEvent.php
  111. +22 −7 src/mg/PAMI/Message/Event/NewchannelEvent.php
  112. +18 −3 src/mg/PAMI/Message/Event/NewextenEvent.php
  113. +21 −6 src/mg/PAMI/Message/Event/NewstateEvent.php
  114. +16 −1 src/mg/PAMI/Message/Event/ParkedCallsCompleteEvent.php
  115. +21 −6 src/mg/PAMI/Message/Event/PeerEntryEvent.php
  116. +18 −3 src/mg/PAMI/Message/Event/PeerStatusEvent.php
  117. +16 −1 src/mg/PAMI/Message/Event/PeerlistCompleteEvent.php
  118. +15 −0 src/mg/PAMI/Message/Event/QueueMemberEvent.php
  119. +15 −0 src/mg/PAMI/Message/Event/QueueMemberPausedEvent.php
  120. +15 −0 src/mg/PAMI/Message/Event/QueueMemberStatusEvent.php
  121. +15 −0 src/mg/PAMI/Message/Event/QueueParamsEvent.php
  122. +15 −0 src/mg/PAMI/Message/Event/QueueStatusCompleteEvent.php
  123. +15 −0 src/mg/PAMI/Message/Event/QueueSummaryCompleteEvent.php
  124. +15 −0 src/mg/PAMI/Message/Event/QueueSummaryEvent.php
  125. +21 −6 src/mg/PAMI/Message/Event/RTCPReceivedEvent.php
  126. +18 −3 src/mg/PAMI/Message/Event/RTCPReceiverStatEvent.php
  127. +20 −5 src/mg/PAMI/Message/Event/RTCPSentEvent.php
  128. +18 −3 src/mg/PAMI/Message/Event/RTPReceiverStatEvent.php
  129. +18 −3 src/mg/PAMI/Message/Event/RTPSenderStatEvent.php
  130. +16 −1 src/mg/PAMI/Message/Event/RegistrationsCompleteEvent.php
  131. +18 −3 src/mg/PAMI/Message/Event/RenameEvent.php
  132. +15 −0 src/mg/PAMI/Message/Event/ShowDialPlanCompleteEvent.php
  133. +16 −1 src/mg/PAMI/Message/Event/StatusCompleteEvent.php
  134. +25 −10 src/mg/PAMI/Message/Event/StatusEvent.php
  135. +22 −7 src/mg/PAMI/Message/Event/TransferEvent.php
  136. +15 −0 src/mg/PAMI/Message/Event/UnknownEvent.php
  137. +19 −4 src/mg/PAMI/Message/Event/UnlinkEvent.php
  138. +19 −4 src/mg/PAMI/Message/Event/VarSetEvent.php
  139. +16 −1 src/mg/PAMI/Message/Event/VoicemailUserEntryCompleteEvent.php
  140. +22 −7 src/mg/PAMI/Message/Event/VoicemailUserEntryEvent.php
  141. +15 −0 src/mg/PAMI/Message/IncomingMessage.php
  142. +15 −0 src/mg/PAMI/Message/Message.php
  143. +15 −0 src/mg/PAMI/Message/OutgoingMessage.php
  144. +15 −0 src/mg/PAMI/Message/Response/ResponseMessage.php
View
179 LICENSE
@@ -0,0 +1,179 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+
View
16 README
@@ -185,6 +185,22 @@ Of course it is recommended that you do not set DEBUG output in your log4php
configuration (or remove it from the include path so PAGI will notice and not
use it). This *will* create a difference in performance.
--------------------------------------------------------------------------------
+LICENSE
+=======
+Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+--------------------------------------------------------------------------------
Thanks
------
To Jason Blank <rumpled at github> for helping in the debugging of the queue
View
15 docs/examples/quickstart/example.php
@@ -10,6 +10,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
if ($argc != 5) {
echo "Use: $argv[0] <host> <port> <user> <pass>";
View
15 src/mg/PAMI/Autoloader/PAMI_Autoloader.php
@@ -10,6 +10,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
foreach (explode(PATH_SEPARATOR, ini_get('include_path')) as $path) {
$truePath = implode(
View
15 src/mg/PAMI/Client/Exception/ClientException.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Client\Exception;
View
21 src/mg/PAMI/Client/IClient.php
@@ -10,6 +10,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Client;
@@ -39,13 +54,13 @@ public function open();
* Main processing loop. Also called from send(), you should call this in
* your own application in order to continue reading events and responses
* from ami.
- *
+ *
* @todo not suitable for multithreaded applications.
- *
+ *
* @return void
*/
public function process();
-
+
/**
* Closes the connection to ami.
*
View
15 src/mg/PAMI/Client/Impl/ClientImpl.php
@@ -12,6 +12,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Client\Impl;
View
15 src/mg/PAMI/Exception/PAMIException.php
@@ -10,6 +10,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Exception;
View
19 src/mg/PAMI/Listener/IEventListener.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Listener;
@@ -32,9 +47,9 @@
{
/**
* Event handler.
- *
+ *
* @param EventMessage $event The received event.
- *
+ *
* @return void
*/
public function handle(EventMessage $event);
View
15 src/mg/PAMI/Logger/Logger.php
@@ -10,6 +10,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
/**
View
17 src/mg/PAMI/Message/Action/AbsoluteTimeoutAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -33,7 +48,7 @@ class AbsoluteTimeoutAction extends ActionMessage
*
* @param string $channel Channel to work on.
* @param integer $timeout Maximum duration of the call (sec).
- *
+ *
* @return void
*/
public function __construct($channel, $timeout)
View
17 src/mg/PAMI/Message/Action/ActionMessage.php
@@ -10,6 +10,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -32,7 +47,7 @@
* Constructor.
*
* @param string $what Action command.
- *
+ *
* @return void
*/
public function __construct($what)
View
17 src/mg/PAMI/Message/Action/AgentLogoffAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -33,7 +48,7 @@ class AgentLogoffAction extends ActionMessage
*
* @param string $agent Agent ID of the agent to log off.
* @param string $soft Set to true to not hangup existing calls.
- *
+ *
* @return void
*/
public function __construct($agent, $soft = false)
View
17 src/mg/PAMI/Message/Action/AgentsAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* Agents action message.
- *
+ *
* PHP Version 5
*
* @category Pami
View
19 src/mg/PAMI/Message/Action/AttendedTransferAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* Atxfer action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -35,7 +50,7 @@ class AttendedTransferAction extends ActionMessage
* @param string $extension Extension to transfer to.
* @param string $context Context to transfer to.
* @param string $priority Priority to transfer to.
- *
+ *
* @return void
*/
public function __construct($channel, $extension, $context, $priority)
View
19 src/mg/PAMI/Message/Action/BridgeAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* Bridge action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -34,7 +49,7 @@ class BridgeAction extends ActionMessage
* @param string $channel1 Channel1
* @param string $channel1 Channel1
* @param boolean $tone Play courtesy tone to Channel2
- *
+ *
* @return void
*/
public function __construct($channel1, $channel2, $tone = false)
View
15 src/mg/PAMI/Message/Action/ChangeMonitorAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
17 src/mg/PAMI/Message/Action/CommandAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -32,7 +47,7 @@ class CommandAction extends ActionMessage
* Constructor.
*
* @param string $command CLI Command to issue.
- *
+ *
* @return void
*/
public function __construct($command)
View
15 src/mg/PAMI/Message/Action/CoreSettingsAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/CoreShowChannelsAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/CoreStatusAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
19 src/mg/PAMI/Message/Action/CreateConfigAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* CreateConfig action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -32,7 +47,7 @@ class CreateConfigAction extends ActionMessage
* Constructor.
*
* @param string $filename Configuration filename (e.g.: foo.conf).
- *
+ *
* @return void
*/
public function __construct($filename)
View
19 src/mg/PAMI/Message/Action/DAHDIDNDOffAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* DAHDIDNDoff action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -32,7 +47,7 @@ class DAHDIDNDOffAction extends ActionMessage
* Constructor.
*
* @param string $channel Target dahdi Channel.
- *
+ *
* @return void
*/
public function __construct($channel)
View
19 src/mg/PAMI/Message/Action/DAHDIDNDOnAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* DAHDIDNDon action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -32,7 +47,7 @@ class DAHDIDNDOnAction extends ActionMessage
* Constructor.
*
* @param string $channel Target dahdi Channel.
- *
+ *
* @return void
*/
public function __construct($channel)
View
17 src/mg/PAMI/Message/Action/DAHDIDialOffHookAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* DAHDIDiallOffhook action message.
- *
+ *
* PHP Version 5
*
* @category Pami
View
17 src/mg/PAMI/Message/Action/DAHDIHangupAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -32,7 +47,7 @@ class DAHDIHangupAction extends ActionMessage
* Constructor.
*
* @param string $channel Channel to hangup.
- *
+ *
* @return void
*/
public function __construct($channel)
View
17 src/mg/PAMI/Message/Action/DAHDIRestartAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* DAHDIRestart action message.
- *
+ *
* PHP Version 5
*
* @category Pami
View
17 src/mg/PAMI/Message/Action/DAHDIShowChannelsAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* DAHDIShowChannels action message.
- *
+ *
* PHP Version 5
*
* @category Pami
View
17 src/mg/PAMI/Message/Action/DBDelAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -33,7 +48,7 @@ class DBDelAction extends ActionMessage
*
* @param string $family Family.
* @param string $key Name.
- *
+ *
* @return void
*/
public function __construct($family, $key)
View
17 src/mg/PAMI/Message/Action/DBDelTreeAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -33,7 +48,7 @@ class DBDelTreeAction extends ActionMessage
*
* @param string $family Family.
* @param string $key Name (optional)
- *
+ *
* @return void
*/
public function __construct($family, $key = false)
View
17 src/mg/PAMI/Message/Action/DBGetAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -33,7 +48,7 @@ class DBGetAction extends ActionMessage
*
* @param string $family Family.
* @param string $key Name.
- *
+ *
* @return void
*/
public function __construct($family, $key)
View
15 src/mg/PAMI/Message/Action/DBPutAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/EventsAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/ExtensionStateAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
19 src/mg/PAMI/Message/Action/GetConfigAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* GetConfig action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -33,7 +48,7 @@ class GetConfigAction extends ActionMessage
*
* @param string $filename Configuration filename (e.g.: foo.conf).
* @param boolean $category Category in configuration file.
- *
+ *
* @return void
*/
public function __construct($filename, $category = false)
View
19 src/mg/PAMI/Message/Action/GetConfigJSONAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* GetConfigJSON action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -32,7 +47,7 @@ class GetConfigJSONAction extends ActionMessage
* Constructor.
*
* @param string $filename Configuration filename (e.g.: foo.conf).
- *
+ *
* @return void
*/
public function __construct($filename)
View
17 src/mg/PAMI/Message/Action/GetVarAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -33,7 +48,7 @@ class GetVarAction extends ActionMessage
*
* @param string $name Variable name.
* @param string $channel Optional channel name.
- *
+ *
* @return void
*/
public function __construct($name, $channel = false)
View
17 src/mg/PAMI/Message/Action/HangupAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -32,7 +47,7 @@ class HangupAction extends ActionMessage
* Constructor.
*
* @param string $channel Channel to hangup.
- *
+ *
* @return void
*/
public function __construct($channel)
View
15 src/mg/PAMI/Message/Action/JabberSendAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
17 src/mg/PAMI/Message/Action/ListCategoriesAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -30,7 +45,7 @@ class ListCategoriesAction extends ActionMessage
{
/**
* Constructor.
- *
+ *
* @param string $file File to dump categories from.
*
* @return void
View
15 src/mg/PAMI/Message/Action/ListCommandsAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/LocalOptimizeAwayAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
17 src/mg/PAMI/Message/Action/LoginAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
@@ -33,7 +48,7 @@ class LoginAction extends ActionMessage
*
* @param string $user AMI username.
* @param string $password AMI password.
- *
+ *
* @return void
*/
public function __construct($user, $password)
View
15 src/mg/PAMI/Message/Action/LogoffAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
19 src/mg/PAMI/Message/Action/MailboxCountAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* MailboxCount action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -30,7 +45,7 @@ class MailboxCountAction extends ActionMessage
{
/**
* Constructor.
- *
+ *
* @param string $mailbox MailboxId (mailbox@vm-context)
*
* @return void
View
19 src/mg/PAMI/Message/Action/MailboxStatusAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* MailboxStatus action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -30,7 +45,7 @@ class MailboxStatusAction extends ActionMessage
{
/**
* Constructor.
- *
+ *
* @param string $mailbox MailboxId (mailbox@vm-context)
*
* @return void
View
15 src/mg/PAMI/Message/Action/MeetmeListAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/MeetmeMuteAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/MeetmeUnmuteAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/ModuleCheckAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/ModuleLoadAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/ModuleReloadAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/ModuleUnloadAction.php
@@ -11,6 +11,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
15 src/mg/PAMI/Message/Action/MonitorAction.php
@@ -15,6 +15,21 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
View
99 src/mg/PAMI/Message/Action/OriginateAction.php
@@ -11,12 +11,27 @@
* @license http://www.noneyet.ar/ Apache License 2.0
* @version SVN: $Id$
* @link http://www.noneyet.ar/
+ *
+ * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
namespace PAMI\Message\Action;
/**
* Originate action message.
- *
+ *
* PHP Version 5
*
* @category Pami
@@ -30,130 +45,130 @@ class OriginateAction extends ActionMessage
{
/**
* Sets Exten key.
- *
- * @param string $extension Extension to use (requires Context and Priority).
- *
+ *
+ * @param string $extension Extension to use (requires Context and Priority).
+ *
* @return void
*/
public function setExtension($extension)
{
$this->setKey('Exten', $extension);
}
-
+
/**
* Sets Context key.
- *
- * @param string $context Context to use (requires Exten and Priority).
- *
+ *
+ * @param string $context Context to use (requires Exten and Priority).
+ *
* @return void
*/
public function setContext($context)
{
$this->setKey('Context', $context);
}
-
+
/**
* Sets Priority key.
- *
- * @param string $priority Priority to use (requires Exten and Context).
- *
+ *
+ * @param string $priority Priority to use (requires Exten and Context).
+ *
* @return void
*/
public function setPriority($priority)
{
$this->setKey('Priority', $priority);
}
-
+
/**
* Sets Application key.
- *
- * @param string $application Application to execute.
- *
+ *
+ * @param string $application Application to execute.
+ *
* @return void
*/
public function setApplication($application)
{
$this->setKey('Application', $application);
}
-
+
/**
* Sets Data key.
- *
- * @param string $data Data to use (requires Application).
- *
+ *
+ * @param string $data Data to use (requires Application).
+ *
* @return void
*/
public function setData($data)
{
$this->setKey('Data', $data);
}
-
+
/**
* Sets Timeout key.
- *
- * @param integer $timeout How long to wait for call to be answered (in ms).
- *
+ *
+ * @param integer $timeout How long to wait for call to be answered (in ms).
+ *
* @return void
*/
public function setTimeout($timeout)
{
$this->setKey('Timeout', $timeout);
}
-
+
/**
* Sets CallerID key.
- *
- * @param string $clid Caller ID to be set on the outgoing channel.
- *
+ *
+ * @param string $clid Caller ID to be set on the outgoing channel.
+ *
* @return void
*/
public function setCallerId($clid)
{
$this->setKey('CallerID', $clid);
}
-
+
/**
* Sets Account key.
- *
+ *
* @param string $name Channel variable to set, multiple are allowed.
* @param string $value Variable value.
- *
+ *
* @return void
*/
public function setVariable($name, $value)
{
$this->setVariable($name, $value);
}
-
+
/**
* Sets Account key.
- *
- * @param string Account code.
- *
+ *
+ * @param string Account code.
+ *
* @return void
*/
public function setAccount($account)
{
$this->setKey('Account', $account);
}
-
+
/**
* Sets Async key.
- *
+ *
* @param boolean $async Set to true for fast origination.
- *
+ *
* @return void
*/
public function setAsync($async)
{
$this->setKey('Async', $async ? 'true' : 'false');