Post on 07-Jul-2015
description
����
�������������� ����������������
���������������� ����������������� �����������������������������
������������
��� �������� �����
� ������������������ ���
������������ ����������� ���!�� ����� �
"�����
� ���������#�$��
� �����������������
� ������%�����& ���'��()���$����������������������$� ������������������ ���*�����$��������
� ��������������
� ����������
������������ ����������� ���!�� ����� +
,��$-�$����������
��##������������#�$��� �����������##���������
�.�/�$������0-�$���$�����$����1�2
�.��������0����������$����#����2
���#��)���$������0��##������3�����2
�4�����)���$�����
� �������������
������������ ����������� ���!�� ����� �
,��������������)�#5
� ��������%����)��$��� �����#���
� �����#���������������-��$
� ����������%����$�����������������������& ����������� �����������#�6������������ ���
� �������7�& #����������������������/�����
8 ����$�����������������/������� ( $�������7�����-�������#����$�#��$��� �����
8 ����-������)��-����9������-��6�
������������ ����������� ���!�� ����� :
7�-���������
� ������$���7�����-��������������������������& �������������#�$��$�������� ��������������
� 3����� �����������$�������� ������ ����������������������������$� ��������������4������$������;
� ������� ��$����$������� ����������������� �����������
������������ ����������� ���!�� ����� <
�#����������3 �������
�=�$��������$����#���������
�>������#���������������������������#��������0��7�����-���2
�"�������(�����)����������������������$��������$����������������������&�������������������
�"��������#�?�)����������������#��)����� ������#����� ��������������#�$���
������������ ����������� ���!�� ����� @
�������
� ��������%����3/������=������0�3=2� ����)�����#�������������$��� ��������������$��������##���$����1��
� 3������������ ���������������$����
� .�/�)����$��/�����)��������������
� "�����������& A���6�����)������������$������-�������$�)��������##�����������#��/���� ����������
� ��������%��������#��)�����$���-������������ �����$���������������� �/�)��-���� �$� �������������������
������������ ����������� ���!�� ����� B
�����#��������
PSTN/GSMGateway 1
StorageSystem
�����������
���������������
�� ��
PSTN/GSMGateway N
������������ ����������� ���!�� ����� C
,�������"��5
3/���������������������#�� ����������������#��& �������$��$�?�����
8$������$� ��������������������$�#��6�������$����$� ��#������������#��� ���7
8"������$� �����������##�����������������
8������������$�$���)�����������������$� ������#��/��������������
8D��$��������������������� ���#������������������$�����
������������ ����������� ���!�� ����� E�
"���������%����
� ,����������%
� ������������������#)��������� �/�)������ ���������##������������-������������)������ ���$���)���������#
� �����#��������� ������������$�������� �����##���������������������)��)���$��������#�������������#��� �$�� ����� ����������$�$������������ ����������������-�������������F���$������
� ��#�������� �-���������$������)����
������������ ����������� ���!�� ����� EE
����"������-
� '������������$���������( ���$�)����$��$���)��)����#������$���#�����������������
� ��#���������������������������������������0��2
� �������������$�����������������������������������������
� 7����������#�#����#�����#����$����������&��$����������#��/����� �������������
������������ ����������� ���!�� ����� E�
����G����
� ���� ����������� ����������������������������� ��������� ����������� ����������0 �/�$����������#������2���$��������$���������$;
� �-�������$��������-�#�6����$���������)���$���� ����������$�����������0���������#�������������������/���������#�������2
� ��������#��0����������������$� ���$������$������� �������� ���������( =.�����:2���������$���#�� ��#�)���������0 �����#������������� ����H2
� ������ �������������0��$�� ���$�� ���������#���������H2
� ���������$������$� ������)(�����& �#����������#�$�������� ������������
������������ ����������� ���!�� ����� 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
������������ ����������� ���!�� ����� 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
������������ ����������� ���!�� ����� 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
������������ ����������� ���!�� ����� E<
��������������0�����$������#�.������3/������=�����2
� ����������������-������������ ���1��/P����/���� ��#�
� ���4��$���)���������#����6���������������� ���
� �-����-���#�������� ������3/������=������0�3=2%
� $���"��"#�������������%������������������&$'$()*+������������������������������������#��������� ��������� ������� � ���,
� �������� ������+ ������������������$'$()�������������� !������������������ ������������������������������-������
8 ������ ������������������������������������������������$'$()��������������������������������������� ����������,�
������������ ����������� ���!�� ����� E@
�3=������$������#
PSTN/GSMGateway
StorageSystem
$'$()
������� �����
�� !�����������
���
��
.���������������������������
)������������������������/��������������-���
����������0��������� ���������������������������$'$()��������������(��������������#��
����������������� �����������-��������� �
.�������1��������
������������ ����������� ���!�� ����� EB
>���.�������
� 3�������$� ������#��/��������������
� ��#�()���$�����
� .���������%����������� �$�� �$�����������H
� ����$������ �����������������)�������������������$��
� 3�������$��������91���$����
� 3��������$$���-�����
� �� ��#���$����$���
� �����'����������������)�� ���#����"��������������#��& ��������$��������������������
������������ ����������� ���!�� ����� EC
����������
� ����������������#��/���������& �/�)������ ����������#�#���)����6��������)������)�������
� ��#���������������& ��������������$����#�������$�������������� �����������##���������������#��-��$-�$�
� �����$�#��$���� ���������$������#��&A���6�$����#��������� ����������������#�������
������������ ����������� ���!�� ����� ��
=� �������
� 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/