ser - sip express router
DESCRIPTION
Presentation given at Libre Software Meeting (LSM) 2003, in Metz, France - about SIP Express Route (SER), rather young project at that time.TRANSCRIPT
����������� ���� ���
���������������������������������� �����
� ������������������ ���
��� ������� �� ���
��!�"#$%&�%''(&�� �)&�����*
� �����������������������������������
��� �
� � ��!"#�!�$ ���%�����&��'
!�� "�(�)�#�*���+�������������,"���-��$
./��0������� �
���,"����%�((�������)�*��"*���,��,"*�������1���%�,�*� ���2
!.34�)����,"������ ��(�������,�** ��,��������*
��((����,�*���,�,����%����'�-��"�*�%%��-��������'���%��������� �������,����,"����'����#�����%����,�** ��,�����
��/��/%����*�����4����5,��-��"���'"������������%����5,��-��"����/���,�*����
����&��'�6 ����&��'����"�����%����*�����%������((��(!"#�!�$ �((���'��"������ �,��������������(��*�,�� ����'��%/���*�����%����,"��/�,�����"������(�����%����*�������(������*�������,���%� �������/�,
� �����������������������������������
��� �
���������������������,��
���������'�����'�1�$�!��,7�8��1!79����%��%�%�'�%�������������*���� ������%���*�����,�** ��,���������� �-���-�����*����%������&
�(��%�����!���:;
������ �%������,��
���/�%� ������(����%���������,�������%��*���������(��%��������/���� ��������%�* ���*%���,��� �����
������ %�(���<��,��/�����,�** ��,�����
� �����������������������������������
��� =
����./�/�-
��,�)�#>4�� ��,���,��
������������'��������%��%��,���/�
���������,�������/��-��"�*�������'���%��/�,�8��?���,��,$����%�����- �*�%�,�����/��,*�������*������,&9�
� ������ �@����������@��� ������A@��� ���!�B�����%�.��B������(��*��������:= ���,"��,� �
� ������ ��"���/=���%���/:��/��4�����%�1���81���������"�-��9
�((��%� �����)���/�*��C;����-"�,"��� %�(���- ����-�����(�-���(�����/���� ���*�������,��/�"�%�,�*���� ������"����(���- ��/�&�
� �����������������������������������
��� 0
4%�1,"����'�
�/���%������� ���/����*�����%�����%����*��� ������$�����(��*
D������������%��%��
B ����-��"�(������)�',,� ������,,��%�2
� �����%�%��� ����*)����A������'��A����%�*����%��� ���'��� �%��������(��
.���� �,���%� ��/�)�!���%� �2
D �����(�,�%/���%�����E�
� �����������������������������������
��� :
����B�%����*���,"��,� �
PSTNGateway
GSMGateway
AccountingSystem
InternetInternet
AnnouncementServer
Instant Messaging(Jabber) Gateway
Voice MailServer
WEB Server(SERWeb)
StorageSystem
SIP Express Router(SER)
�+��
��� �,���*�����
� �����������������������������������
��� F
������,"��,� �
�+-�-��� �
.�������*���-��� �
� ���!����� �
����� �+�� ���*
�+-�/����������! �
/�����*��������
. *����.����������
+����� ��!�����
,��� ��*���������
�� ����*���������
01�+�� ���* �+���+�� ���*
2�* ���������
.������*���
0������ � �3 �
�4.�5 �
�+-�46�� ���.��� ��7��
� �����������������������������������
��� G
����!�� �
������������%��,����%��'�������/��6 ���'���������-��"�%�'��� �"���������
� ��*��� ���� ���'�����,�
�� '����*�% ������(�,
4����,�������/�,
��/=���/:��������������
4���1����������������
.((����*�'��/�,
���,��'��
�>4�� �����
� �����������������������������������
��� H
����!�� ��8�9
� ������(�����������,��'����' �'
<��,�*������%����� �,*����/�
#��-����������
#��-������I���@�� ����%���A�������J�"��
�,,� ����'��"�� '"���'�(����%��� �������%� ��/�
#���,�%��� �����)�*�% ��(������A������'��A����%�����(��
��� ������������$����������,������������� ��'��"�!�!.�����(�,
� �����������������������������������
��� ;�
������ ���'����' �'
Routing flexibility needed to link SIP components (voicemail, PSTN gateway, logging facility, etc.) togetherSIP request routing language (feature conditions, URI-rewriting, request modification, replying, etc.)Example: reporting calls and registration. . .if (method==‘’INVITE’’) {
/* report to syslog */xlog(‘L_INFO’,‘SER:call: time %Tf from %fu to %tu\n’);
};if (method==‘’REGISTER’’) {
/* report to syslog */xlog(‘L_INFO’,‘SER:registration: time %Tf user %tu\n’);
};. . .
� �����������������������������������
��� ;;
������% ������(�,
� ����������%%��-��/�,�,��� �����
������'�*�% �)��,��%��� ���'����,��'��
�' ������������%�'�
� �"���,����������@�� �
'��-�����,,� ����'�/��,
*������((����*�'��/�,2
�,*�% ���((��
��-������� ��������
�����,������(��*�����,����
8��������� 9������ � 6����:8���� ;<�����!���� ������ 6�� �����=� ��*�=>����?�@�� �����ABB�=��CDE��?'F$#"GF'#"GH��H:B;�I� ��!I��=9������� �����:&:J'K':BL�� ��L
ML�I� ��!=BL
M
� �����������������������������������
��� ;�
����!�!.�����(�,
1��� �%�����(�,���������$� ������������'��**��'��/����*��� ��'���!�!.����
����-� �����,������������������
� ����'� ����,������%��� �
� ��%������K ��8&'&���������*�'9�(��*�� ��%��(����
� ���������"��/��"���"
� ����'� �+����(���8&'&���%%@%����� �9
� � ����*�,��(�' ������
� �����������������������������������
��� ;�
����D �����(�,
����-� �����,�������-������,,� ��
��������'� ��,��)
*���'�"�����(��
�%�����������*�'
,��,$����%������ %%�
�*�%�,���
�"���((����*�'�
$����%�*���'�"���%%�� ��$
� �����������������������������������
��� ;=
����D �����(�,
� �����������������������������������
��� ;0
������(��*��,
.���*��%���� �/���(���/�����,�**��������,"��,� �
D��"���L�����% �����4���"������������ ������ �������-��������"�����/�,����������������'����"�B�������% ���'���$�"� �&�
� �����*���'�;0��,�������,��%���������A����M
1"��/��"�� ����-���'�� � ����&��'(�������/�,�(���*����"����-�����
� �����������������������������������
��� ;:
������** ����
E��%� ��B���.�����- ��������(�������� �,����5,��"���)@@%/����& ����&%@���5,�@�
1-��*�����'����
� ��%/N����&��'� %%�,��%�(���%/���*���� ���%�%�, ����� � �������� �����
� �� �N����&��'�%%�,��%�(������� ��,�** �������%�%�, ����� � ���� �����
!�������/�,��������&��'�
� �����������������������������������
��� ;F
������** ����
development community: 17 developers from 8 countries (Czech Republic, Finland, Germany, Greece, Hungary, Romania, Russia, Unites States)deployment community grows: thousands of subscribers worldwide; 27% US, 21% .AU, 20% .NL, 10% .CA, 8% .DE, 14% misc.usage: � European telcos and ISPs (e.g., Austrian national trial)� universities (e.g., Yale, with 6.000 students) � ISPs (e.g, august.net)
� �����������������������������������
��� ;G
�������%*��
1��� �����
���>�'��-��
<��,�,��(��,
�%/��,%� �����/������'
���� ������(��������1��������,��
�%/��,%�,"��'��'���*����,� %��'������%� �����
� �����������������������������������
��� ;H
��(��*�������� �,
�*���)�*����N(�$ &(�� �"�(�&%
����������� ��)�"���)@@---&����&��'@�
!��������/�,)�"���)@@---&����&��'@ �
!"#!.34�)�"���)@@---&(�$ &(�� �"�(�&%
�����!�)�"���)@@---&��(&��'@�(,@�(,��:;&���