ast_func_read() needs a writable copy of the function name to be passed
[asterisk-bristuff.git] / doc / PEERING
blobc1f0b383123e3eacb3eb5d7a51db36f17253ff81
1                     DIGIUM GENERAL PEERING AGREEMENT (TM)
2                       Version 1.0.0, September 2004 
3  Copyright (C) 2004 Digium, Inc.
4             150 West Park Loop Suite 100, Huntsville, AL 35806 USA 
6  Everyone is permitted to copy and distribute complete verbatim copies
7  of this General Peering Agreement provided it is not modified in any
8  manner.
10         ------------------------------------------------------
12                     DIGIUM GENERAL PEERING AGREEMENT
14                                 PREAMBLE
16   For most of the history of telecommunications, the power of being able
17 to locate and communicate with another person in a system, be it across
18 a hall or around the world, has always centered around a centralized
19 authority -- from a local PBX administrator to regional and national
20 RBOCs, generally requiring fees, taxes or regulation.  By contrast,
21 DUNDi is a technology developed to provide users the freedom to
22 communicate with each other without the necessity of any centralized
23 authority.  This General Peering Agreement ("GPA") is used by individual
24 parties (each, a "Participant") to allow them to build the E164 trust
25 group for the DUNDi protocol.
27   To protect the usefulness of the E164 trust group for those who use
28 it, while keeping the system wholly decentralized, it is necessary to
29 replace many of the responsibilities generally afforded to a company or
30 government agency, with a set of responsibilities implemented by the
31 parties who use the system, themselves.  It is the goal of this document
32 to provide all the protections necessary to keep the DUNDi E164 trust
33 group useful and reliable.
35   The Participants wish to protect competition, promote innovation and
36 value added services and make this service valuable both commercially
37 and non-commercially.  To that end, this GPA provides special terms and
38 conditions outlining some permissible and non-permissible revenue
39 sources.
41   This GPA is independent of any software license or other license
42 agreement for a program or technology employing the DUNDi protocol.  For
43 example, the implementation of DUNDi used by Asterisk is covered under a
44 separate license.  Each Participant is responsible for compliance with
45 any licenses or other agreements governing use of such program or
46 technology that they use to peer.
48   You do not have to execute this GPA to use a program or technology
49 employing the DUNDi protocol, however if you do not execute this GPA,
50 you will not be able to peer using DUNDi and the E164 context with
51 anyone who is a member of the trust group by virtue of their having
52 executed this GPA with another member.
54 The parties to this GPA agree as follows: 
56   0. DEFINITIONS.  As used herein, certain terms shall be defined as
57 follows:
59     (a) The term "DUNDi" means the DUNDi protocol as published by
60         Digium, Inc. or its successor in interest with respect to the
61         DUNDi protocol specification.
63     (b) The terms "E.164" and "E164" mean ITU-T specification E.164 as
64         published by the International Telecommunications Union (ITU) in
65         May, 1997.
67     (c) The term "Service" refers to any communication facility (e.g.,
68         telephone, fax, modem, etc.), identified by an E.164-compatible
69         number, and assigned by the appropriate authority in that
70         jurisdiction.
72     (d) The term "Egress Gateway" refers an Internet facility that
73         provides a communications path to a Service or Services that may
74         not be directly addressable via the Internet.
76     (e) The term "Route" refers to an Internet address, policies, and
77         other characteristics defined by the DUNDi protocol and
78         associated with the Service, or the Egress Gateway which
79         provides access to the specified Service.
81     (f) The term "Propagate" means to accept or transmit Service and/or
82         Egress Gateway Routes only using the DUNDi protocol and the
83         DUNDi context "e164" without regard to case, and does not apply
84         to the exchange of information using any other protocol or
85         context. 
87     (g) The term "Peering System" means the network of systems that
88         Propagate Routes.
90     (h) The term "Subscriber" means the owner of, or someone who
91         contracts to receive, the services identified by an E.164
92         number.
94     (i) The term "Authorizing Individual" means the Subscriber to a
95         number who has authorized a Participant to provide Routes
96         regarding their services via this Peering System. 
98     (j) The term "Route Authority" refers to a Participant that provides 
99         an original source of said Route within the Peering System. 
100         Routes are propagated from the Route Authorities through the
101         Peering System and may be cached at intermediate points.  There
102         may be multiple Route Authorities for any Service.
104     (k) The term "Participant" (introduced above) refers to any member
105         of the Peering System. 
107     (l) The term "Service Provider" refers to the carrier (e.g.,
108         exchange carrier, Internet Telephony Service Provider, or other
109         reseller) that provides communication facilities for a
110         particular Service to a Subscriber, Customer or other End User.
112     (m) The term "Weight" refers to a numeric quality assigned to a
113         Route as per the DUNDi protocol specification.  The current
114         Weight definitions are shown in Exhibit A.
116   1. PEERING. The undersigned Participants agree to Propagate Routes
117 with each other and any other member of the Peering System and further
118 agree not to Propagate DUNDi Routes with a third party unless they have
119 first have executed this GPA (in its unmodified form) with such third
120 party.  The Participants further agree only to Propagate Routes with
121 Participants whom they reasonably believe to be honoring the terms of
122 the GPA.  Participants may not insert, remove, amend, or otherwise
123 modify any of the terms of the GPA. 
125   2. ACCEPTABLE USE POLICY.  The DUNDi protocol contains information
126 that reflect a Subscriber's or Egress Gateway's decisions to receive
127 calls.  In addition to the terms and conditions set forth in this GPA,
128 the Participants agree to honor the intent of restrictions encoded in
129 the DUNDi protocol.  To that end, Participants agree to the following:
131     (a) A Participant may not utilize or permit the utilization of 
132         Routes for which the Subscriber or Egress Gateway provider has
133         indicated that they do not wish to receive "Unsolicited Calls"
134         for the purpose of making an unsolicited phone call on behalf of
135         any party or organization.
137     (b) A Participant may not utilize or permit the utilization of
138         Routes which have indicated that they do not wish to receive
139         "Unsolicited Commercial Calls" for the purpose of making an
140         unsolicited phone call on behalf of a commercial organization.
142     (c) A Participant may never utilize or permit the utilization of any 
143         DUNDi route for the purpose of making harassing phone calls.
145     (d) A Party may not utilize or permit the utilization of DUNDi 
146         provided Routes for any systematic or random calling of numbers
147         (e.g., for the purpose of locating facsimile, modem services, or
148         systematic telemarketing).
150     (e) Initial control signaling for all communication sessions that 
151         utilize Routes obtained from the Peering System must be sent
152         from a member of the Peering System to the Service or Egress
153         Gateway identified in the selected Route.  For example, 'SIP
154         INVITES' and IAX2 "NEW" commands must be sent from the
155         requesting DUNDi node to the terminating Service.
157     (f) A Participant may not disclose any specific Route, Service or 
158         Participant contact information obtained from the Peering System
159         to any party outside of the Peering System except as a
160         by-product of facilitating communication in accordance with
161         section 2e (e.g., phone books or other databases may not be
162         published, but the Internet addresses of the Egress Gateway or
163         Service does not need to be obfuscated.)
165     (g) The DUNDi Protocol requires that each Participant include valid
166         contact information about itself (including information about
167         nodes connected to each Participant).  Participants may use or
168         disclose the contact information only to ensure enforcement of
169         legal furtherance of this Agreement.
171   3. ROUTES. The Participants shall only propagate valid Routes, as
172 defined herein, through the Peering System, regardless of the original
173 source.  The Participants may only provide Routes as set forth below,
174 and then only if such Participant has no good faith reason to believe
175 such Route to be invalid or unauthorized.
177     (a) A Participant may provide Routes if each Route has as its
178         original source another member of the Peering System who has
179         duly executed the GPA and such Routes are provided in accordance
180         with this Agreement; provided that the Routes are not modified
181         (e.g., with regards to existence, destination, technology or
182         Weight); or
184     (b) A Participant may provide Routes for Services with any Weight
185         for which it is the Subscriber; or
187     (c) A Participant may provide Routes for those Services whose
188         Subscriber has authorized the Participant to do so, provided 
189         that the Participant is able to confirm that the Authorizing
190         Individual is the Subscriber through:
192             i. a written statement of ownership from the Authorizing
193                Individual, which the Participant believes in good faith 
194                to be accurate (e.g., a phone bill with the name of the
195                Authorizing Individual and the number in question); or
197            ii. the Participant's own direct personal knowledge that the
198                Authorizing Individual is the Subscriber.
200     (d) A Participant may provide Routes for Services, with Weight in
201         accordance with the Current DUNDi Specification, if it can in
202         good faith provide an Egress Gateway to that Service on the
203         traditional telephone network without cost to the calling party.
205   4. REVOCATION. A Participant must provide a free, easily accessible
206 mechanism by which a Subscriber may revoke permission to act as a Route
207 Authority for his Service.  A Participant must stop acting as a Route
208 Authority for that Service within 7 days after:
210     (a) receipt of a revocation request; 
212     (b) receiving other notice that the Service is no longer valid; or
214     (c) determination that the Subscriber's information is no longer
215         accurate (including that the Subscriber is no longer the service
216         owner or the service owner's authorized delegate).
218   5. SERVICE FEES. A Participant may charge a fee to act as a Route
219 Authority for a Service, with any Weight, provided that no Participant
220 may charge a fee to propagate the Route received through the Peering
221 System.
223   6. TOLL SERVICES. No Participant may provide Routes for any Services
224 that require payment from the calling party or their customer for
225 communication with the Service.  Nothing in this section shall prohibit
226 a Participant from providing routes for Services where the calling party
227 may later enter into a financial transaction with the called party
228 (e.g., a Participant may provide Routes for calling cards services). 
230   7. QUALITY. A Participant may not intentionally impair communication
231 using a Route provided to the Peering System (e.g. by adding delay,
232 advertisements, reduced quality).  If for any reason a Participant is
233 unable to deliver a call via a Route provided to the Peering System,
234 that Participant shall return out-of-band Network Congestion
235 notification (e.g. "503 Service Unavailable" with SIP protocol or
236 "CONGESTION" with IAX protocol).
238   8. PROTOCOL COMPLIANCE.  Participants agree to Propagate Routes in
239 strict compliance with current DUNDi protocol specifications.
241   9. ADMINISTRATIVE FEES. A Participant may charge (but is not required
242 to charge) another Participant a reasonable fee to cover administrative
243 expenses incurred in the execution of this Agreement.  A Participant may
244 not charge any fee to continue the relationship or to provide Routes to
245 another Participant in the Peering System.
247   10. CALLER IDENTIFICATION. A Participant will make a good faith effort
248 to ensure the accuracy and appropriate nature of any caller
249 identification that it transmits via any Route obtained from the Peering
250 System. Caller identification shall at least be provided as a valid
251 E.164 number.
253   11. COMPLIANCE WITH LAWS.  The Participants are solely responsible for
254 determining to what extent, if any, the obligations set forth in this
255 GPA conflict with any laws or regulations their region.  A Participant
256 may not provide any service or otherwise use DUNDi under this GPA if
257 doing so is prohibited by law or regulation, or if any law or regulation
258 imposes requirements on the Participant that are inconsistent with the
259 terms of this GPA or the Acceptable Use Policy. 
261   12. WARRANTY. EACH PARTICIPANT WARRANTS TO THE OTHER PARTICIPANTS THAT
262 IT MADE, AND WILL CONTINUE TO MAKE, A GOOD FAITH EFFORT TO AUTHENTICATE
263 OTHERS IN THE PEERING SYSTEM AND TO PROVIDE ACCURATE INFORMATION IN
264 ACCORDANCE WITH THE TERMS OF THIS GPA.  THIS WARRANTY IS MADE BETWEEN
265 THE PARTICIPANTS, AND THE PARTICIPANTS MAY NOT EXTEND THIS WARRANTY TO
266 ANY NON-PARTICIPANT INCLUDING END-USERS. 
268   13. DISCLAIMER OF WARRANTIES. THE PARTICIPANTS UNDERSTAND AND AGREE
269 THAT ANY SERVICE PROVIDED AS A RESULT OF THIS GPA IS "AS IS." EXCEPT FOR
270 THOSE WARRANTIES OTHERWISE EXPRESSLY SET FORTH HEREIN, THE PARTICIPANTS
271 DISCLAIM ANY REPRESENTATIONS OR WARRANTIES OF ANY KIND OR NATURE,
272 EXPRESS OR IMPLIED, AS TO THE CONDITION, VALUE OR QUALITIES OF THE
273 SERVICES PROVIDED HEREUNDER, AND SPECIFICALLY DISCLAIM ANY
274 REPRESENTATION OR WARRANTY OF MERCHANTABILITY, SUITABILITY OR FITNESS
275 FOR A PARTICULAR PURPOSE OR AS TO THE CONDITION OR WORKMANSHIP THEREOF,
276 OR THE ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT,
277 INCLUDING ANY WARRANTIES ARISING FROM A COURSE OF DEALING, USAGE OR
278 TRADE PRACTICE.  EXCEPT AS EXPRESSLY PROVIDED HEREIN, THE PARTICIPANTS
279 EXPRESSLY DISCLAIM ANY REPRESENTATIONS OR WARRANTIES THAT THE PEERING
280 SERVICE WILL BE CONTINUOUS, UNINTERRUPTED OR ERROR-FREE, THAT ANY DATA
281 SHARED OR OTHERWISE MADE AVAILABLE WILL BE ACCURATE OR COMPLETE OR
282 OTHERWISE COMPLETELY SECURE FROM UNAUTHORIZED ACCESS.
284   14. LIMITATION OF LIABILITIES.  NO PARTICIPANT SHALL BE LIABLE TO ANY
285 OTHER PARTICIPANT FOR INCIDENTAL, INDIRECT, CONSEQUENTIAL, SPECIAL,
286 PUNITIVE OR EXEMPLARY DAMAGES OF ANY KIND (INCLUDING LOST REVENUES OR
287 PROFITS, LOSS OF BUSINESS OR LOSS OF DATA) IN ANY WAY RELATED TO THIS
288 GPA, WHETHER IN CONTRACT OR IN TORT, REGARDLESS OF WHETHER SUCH
289 PARTICIPANT WAS ADVISED OF THE POSSIBILITY THEREOF.
291   15. END-USER AGREEMENTS.  The Participants may independently enter
292 into agreements with end-users to provide certain services (e.g., fees
293 to a Subscriber to originate Routes for that Service).  To the extent
294 that provision of these services employs the Peering System, the Parties
295 will include in their agreements with their end-users terms and
296 conditions consistent with the terms of this GPA with respect to the
297 exclusion of warranties, limitation of liability and Acceptable Use
298 Policy.  In no event may a Participant extend the warranty described in
299 Section 12 in this GPA to any end-users. 
301   16. INDEMNIFICATION.  Each Participant agrees to defend, indemnify and
302 hold harmless the other Participant or third-party beneficiaries to this
303 GPA (including their affiliates, successors, assigns, agents and
304 representatives and their respective officers, directors and employees)
305 from and against any and all actions, suits, proceedings,
306 investigations, demands, claims, judgments, liabilities, obligations,
307 liens, losses, damages, expenses (including, without limitation,
308 attorneys' fees) and any other fees arising out of or relating to (i)
309 personal injury or property damage caused by that Participant, its
310 employees, agents, servants, or other representatives; (ii) any act or
311 omission by the Participant, its employees, agents, servants or other
312 representatives, including, but not limited to, unauthorized
313 representations or warranties made by the Participant; or (iii) any
314 breach by the Participant of any of the terms or conditions of this GPA. 
316   17. THIRD PARTY BENEFICIARIES. This GPA is intended to benefit those
317 Participants who have executed the GPA and who are in the Peering
318 System. It is the intent of the Parties to this GPA to give to those
319 Participants who are in the Peering System standing to bring any
320 necessary legal action to enforce the terms of this GPA.
322   18. TERMINATION. Any Participant may terminate this GPA at any time,
323 with or without cause.  A Participant that terminates must immediately
324 cease to Propagate. 
326   19. CHOICE OF LAW. This GPA and the rights and duties of the Parties
327 hereto shall be construed and determined in accordance with the internal
328 laws of the State of New York, United States of America, without regard
329 to its conflict of laws principles and without application of the United
330 Nations Convention on Contracts for the International Sale of Goods.
332   20. DISPUTE RESOLUTION. Unless otherwise agreed in writing, the
333 exclusive procedure for handling disputes shall be as set forth herein.
334 Notwithstanding such procedures, any Participant may, at any time, seek
335 injunctive relief in addition to the process described below. 
337     (a) Prior to mediation or arbitration the disputing Participants
338         shall seek informal resolution of disputes. The process shall be
339         initiated with written notice of one Participant to the other
340         describing the dispute with reasonable particularity followed
341         with a written response within ten (10) days of receipt of
342         notice. Each Participant shall promptly designate an executive
343         with requisite authority to resolve the dispute.  The informal
344         procedure shall commence within ten (10) days of the date of
345         response. All reasonable requests for non-privileged information
346         reasonably related to the dispute shall be honored. If the
347         dispute is not resolved within thirty (30) days of commencement
348         of the procedure either Participant may proceed to mediation or
349         arbitration pursuant to the rules set forth in (b) or (c) below.
351     (b) If the dispute has not been resolved pursuant to (a) above or,
352         if the disputing Participants fail to commence informal dispute
353         resolution pursuant to (a) above, either Participant may, in
354         writing and within twenty (20) days of the response date noted
355         in (a) above, ask the other Participant to participate in a one
356         (1) day mediation with an impartial mediator, and the other
357         Participant shall do so. Each Participant will bear its own
358         expenses and an equal share of the fees of the mediator.  If the
359         mediation is not successful the Participants may proceed with
360         arbitration pursuant to (c) below.
362     (c) If the dispute has not been resolved pursuant to (a) or (b)
363         above, the dispute shall be promptly referred, no later than one
364         (1) year from the date of original notice and subject to
365         applicable statute of limitations, to binding arbitration in
366         accordance with the UNCITRAL Arbitration Rules in effect on the
367         date of this contract.  The appointing authority shall be the
368         International Centre for Dispute Resolution. The case shall be
369         administered by the International Centre for Dispute Resolution
370         under its Procedures for Cases under the UNCITRAL Arbitration
371         Rules.  Each Participant shall bear its own expenses and shall
372         share equally in fees of the arbitrator. All arbitrators shall
373         have substantial experience in information technology and/or in
374         the telecommunications business and shall be selected by the
375         disputing participants in accordance with UNCITRAL Arbitration
376         Rules. If any arbitrator, once selected is unable or unwilling
377         to continue for any reason, replacement shall be filled via the
378         process described above and a re-hearing shall be conducted. The
379         disputing Participants will provide each other with all
380         requested documents and records reasonably related to the
381         dispute in a manner that will minimize the expense and
382         inconvenience of both parties. Discovery will not include
383         depositions or interrogatories except as the arbitrators
384         expressly allow upon a showing of need. If disputes arise 
385         concerning discovery requests, the arbitrators shall have sole
386         and complete discretion to resolve the disputes. The parties and
387         arbitrator shall be guided in resolving discovery disputes by
388         the Federal Rules of Civil Procedure. The Participants agree
389         that time of the essence principles shall guide the hearing and
390         that the arbitrator shall have the right and authority to issue
391         monetary sanctions in the event of unreasonable delay. The
392         arbitrator shall deliver a written opinion setting forth
393         findings of fact and the rationale for the award within thirty
394         (30) days following conclusion of the hearing. The award of the
395         arbitrator, which may include legal and equitable relief, but
396         which may not include punitive damages, will be final and
397         binding upon the disputing Participants, and judgment may be
398         entered upon it in accordance with applicable law in any court
399         having jurisdiction thereof.  In addition to award the
400         arbitrator shall have the discretion to award the prevailing
401         Participant all or part of its attorneys' fees and costs,
402         including fees associated with arbitrator, if the arbitrator
403         determines that the positions taken by the other Participant on
404         material issues of the dispute were without substantial
405         foundation. Any conflict between the UNCITRAL Arbitration Rules
406         and the provisions of this GPA shall be controlled by this GPA.
408   21. INTEGRATED AGREEMENT. This GPA, constitutes the complete
409 integrated agreement between the parties concerning the subject matter
410 hereof.  All prior and contemporaneous agreements, understandings,
411 negotiations or representations, whether oral or in writing, relating to
412 the subject matter of this GPA are superseded and canceled in their
413 entirety.
415   22. WAIVER. No waiver of any of the provisions of this GPA shall be
416 deemed or shall constitute a waiver of any other provision of this GPA,
417 whether or not similar, nor shall such waiver constitute a continuing
418 waiver unless otherwise expressly so provided in writing.  The failure
419 of either party to enforce at any time any of the provisions of this
420 GPA, or the failure to require at any time performance by either party
421 of any of the provisions of this GPA, shall in no way be construed to be
422 a present or future waiver of such provisions, nor in any way affect the
423 ability of a Participant to enforce each and every such provision
424 thereafter. 
426   23. INDEPENDENT CONTRACTORS. Nothing in this GPA shall make the
427 Parties partners, joint venturers, or otherwise associated in or with
428 the business of the other.  Parties are, and shall always remain,
429 independent contractors.  No Participant shall be liable for any debts,
430 accounts, obligations, or other liabilities of the other Participant,
431 its agents or employees.  No party is authorized to incur debts or other
432 obligations of any kind on the part of or as agent for the other.  This
433 GPA is not a franchise agreement and does not create a franchise
434 relationship between the parties, and if any provision of this GPA is
435 deemed to create a franchise between the parties, then this GPA shall
436 automatically terminate. 
438   24. CAPTIONS AND HEADINGS. The captions and headings used in this GPA
439 are used for convenience only and are not to be given any legal effect.
441   25. EXECUTION. This GPA may be executed in counterparts, each of which
442 so executed will be deemed to be an original and such counterparts
443 together will constitute one and the same Agreement.  The Parties shall
444 transmit to each other a signed copy of the GPA by any means that
445 faithfully reproduces the GPA along with the Signature.  For purposes of
446 this GPA, the term "signature" shall include digital signatures as
447 defined by the jurisdiction of the Participant signing the GPA.
449                          Exhibit A
451 Weight Range            Requirements 
453 0-99                    May only be used under authorization of Owner
455 100-199                 May only be used by the Owner's service
456                         provider, regardless of authorization.
458 200-299                 Reserved -- do not use for e164 context.
460 300-399                 May only be used by the owner of the code under
461                         which the Owner's number is a part of.
463 400-499                 May be used by any entity providing access via
464                         direct connectivity to the Public Switched
465                         Telephone Network.
467 500-599                 May be used by any entity providing access via
468                         indirect connectivity to the Public Switched
469                         Telephone Network (e.g. Via another VoIP
470                         provider)
472 600-                    Reserved-- do not use for e164 context.                 
474                  Participant                         Participant
476 Company:
478 Address:
480 Email:
483           _________________________           _________________________
484           Authorized Signature                Authorized Signature
486 Name:
489 END OF GENERAL PEERING AGREEMENT
491 ------------------------------------------------
493 How to Peer using this GPA If you wish to exchange routing information
494 with parties using the e164 DUNDi context, all you must do is execute
495 this GPA with any member of the Peering System and you will become a
496 member of the Peering System and be able to make Routes available in
497 accordance with this GPA.
499 DUNDi, IAX, Asterisk and GPA are trademarks of Digium, Inc.