cpdl - charging plan definition language

20

Upload: daniel-constantin-mierla

Post on 07-Jul-2015

81 views

Category:

Technology


0 download

DESCRIPTION

Presentation given at SIP Conference 2004, Paris - a proposal to define telephony charging plans using XML in a fashion similar to CPL (Call Processing Language)

TRANSCRIPT

Page 1: CPDL - Charging Plan Definition Language

����

�������������� ����������������

���������������� ����������������� �����������������������������

������������

��� �������� �����

� ������������������ ���

Page 2: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� �

"�����

� ���������#�$��

� �����������������

� ������%�����& ���'��()���$����������������������$� ������������������ ���*�����$��������

� ��������������

� ����������

Page 3: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� +

,��$-�$����������

��##������������#�$��� �����������##���������

�.�/�$������0-�$���$�����$����1�2

�.��������0����������$����#����2

���#��)���$������0��##������3�����2

�4�����)���$�����

� �������������

Page 4: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� �

,��������������)�#5

� ��������%����)��$��� �����#���

� �����#���������������-��$

� ����������%����$�����������������������& ����������� �����������#�6������������ ���

� �������7�& #����������������������/�����

8 ����$�����������������/������� ( $�������7�����-�������#����$�#��$��� �����

8 ����-������)��-����9������-��6�

Page 5: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� :

7�-���������

� ������$���7�����-��������������������������& �������������#�$��$�������� ��������������

� 3����� �����������$�������� ������ ����������������������������$� ��������������4������$������;

� ������� ��$����$������� ����������������� �����������

Page 6: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� <

�#����������3 �������

�=�$��������$����#���������

�>������#���������������������������#��������0��7�����-���2

�"�������(�����)����������������������$��������$����������������������&�������������������

�"��������#�?�)����������������#��)����� ������#����� ��������������#�$���

Page 7: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� @

�������

� ��������%����3/������=������0�3=2� ����)�����#�������������$��� ��������������$��������##���$����1��

� 3������������ ���������������$����

� .�/�)����$��/�����)��������������

� "�����������& A���6�����)������������$������-�������$�)��������##�����������#��/���� ����������

� ��������%��������#��)�����$���-������������ �����$���������������� �/�)��-���� �$� �������������������

Page 8: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� B

�����#��������

PSTN/GSMGateway 1

StorageSystem

�����������

���������������

�� ��

PSTN/GSMGateway N

Page 9: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� C

,�������"��5

3/���������������������#�� ����������������#��& �������$��$�?�����

8$������$� ��������������������$�#��6�������$����$� ��#������������#��� ���7

8"������$� �����������##�����������������

8������������$�$���)�����������������$� ������#��/��������������

8D��$��������������������� ���#������������������$�����

Page 10: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� E�

"���������%����

� ,����������%

� ������������������#)��������� �/�)������ ���������##������������-������������)������ ���$���)���������#

� �����#��������� ������������$�������� �����##���������������������)��)���$��������#�������������#��� �$�� ����� ����������$�$������������ ����������������-�������������F���$������

� ��#�������� �-���������$������)����

Page 11: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� EE

����"������-

� '������������$���������( ���$�)����$��$���)��)����#������$���#�����������������

� ��#���������������������������������������0��2

� �������������$�����������������������������������������

� 7����������#�#����#�����#����$����������&��$����������#��/����� �������������

Page 12: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� E�

����G����

� ���� ����������� ����������������������������� ��������� ����������� ����������0 �/�$����������#������2���$��������$���������$;

� �-�������$��������-�#�6����$���������)���$���� ����������$�����������0���������#�������������������/���������#�������2

� ��������#��0����������������$� ���$������$������� �������� ���������( =.�����:2���������$���#�� ��#�)���������0 �����#������������� ����H2

� ������ �������������0��$�� ���$�� ���������#���������H2

� ���������$������$� ������)(�����& �#����������#�$�������� ������������

Page 13: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� E+

�����������3/�#��

8 ����������� ������������������������������������������������������

I��$ �$JK�/�#��LM

I#���M

I�$$����(�-����� ��$JN$����������N��) ��$JN����NM

I�$$�������JN�6�N�����JNO�CNM

I�����$JN$�#�����NPM

IP�$$����M

I�$$�������JN#����N�����JNQORE(CS0R�(CSO2NM

I���������JK:�NPM

IP�$$����M

I�����-���M

I���������JKE�NPM

IP�����-���M

IP�$$����(�-����M

IP#���M

� ������������������������ �������������������

I�����$JN$�#�����NM

I��#�(�-����M

I��#�

$������JN���+�E�E��B����K

$�������JN�E�DN

��AJN����TK

)�$��JN�" �1 ,3 �D .=NM

I���������JK��NPM

IP��#�M

I�����-���M

I���������JKE�NPM

IP�����-���M

IP��#�(�-����M�

IP���M

IP��$M

Page 14: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� E�

���(G���$��������������#

costs

CPDL-basedCharging System

SessionRecords

CPDLscripts

SignalingSystem(crond)

AccountingSystem

BillingSystem

Costcomputing

CPDL script generator

StorageSystem

LoadingScripts

Connector toStorage System

XMLengine

CPDL engine

CPDL Interpreter

Page 15: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� E:

�����$���������

8����������� ��� ���������������� !"#��������������

Get the prepaidamount = A

Get the cost per time-unit = C(CPDL interpreter)

A>=C

YES

New session

Store the amountA

NO

Sessionended

Terminate the ����

YES NO

A = A - C Wait a time-unit

Page 16: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� E<

��������������0�����$������#�.������3/������=�����2

� ����������������-������������ ���1��/P����/���� ��#�

� ���4��$���)���������#����6���������������� ���

� �-����-���#�������� ������3/������=������0�3=2%

� $���"��"#�������������%������������������&$'$()*+������������������������������������#��������� ��������� ������� � ���,

� �������� ������+ ������������������$'$()�������������� !������������������ ������������������������������-������

8 ������ ������������������������������������������������$'$()��������������������������������������� ����������,�

Page 17: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� E@

�3=������$������#

PSTN/GSMGateway

StorageSystem

$'$()

������� �����

�� !�����������

���

��

.���������������������������

)������������������������/��������������-���

����������0��������� ���������������������������$'$()��������������(��������������#��

����������������� �����������-��������� �

.�������1��������

Page 18: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� EB

>���.�������

� 3�������$� ������#��/��������������

� ��#�()���$�����

� .���������%����������� �$�� �$�����������H

� ����$������ �����������������)�������������������$��

� 3�������$��������91���$����

� 3��������$$���-�����

� �� ��#���$����$���

� �����'����������������)�� ���#����"��������������#��& ��������$��������������������

Page 19: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� EC

����������

� ����������������#��/���������& �/�)������ ����������#�#���)����6��������)������)�������

� ��#���������������& ��������������$����#�������$�������������� �����������##���������������#��-��$-�$�

� �����$�#��$���� ���������$������#��&A���6�$����#��������� ����������������#�������

Page 20: CPDL - Charging Plan Definition Language

������������ ����������� ���!�� ����� ��

=� �������

� Lennox/Schulzrinne, “CPL: A Language for User Control of Internet Telephony Services”, draft-ietf-iptel-cpl-06.txt

� J. Rosenberg, H. Schulzrinne, et. al. "SIP: session initiation protocol," Request for Comments 3261, Internet Engineering Task Force, June 2002.

� SIP Express Router (SER), http://www.iptel.org/ser� IETF, http://www.ietf.org� Extensible Markup Language (XML) – World Wide Web

Consortium, http://www.w3.org/XML/