1 الوظائف الأساسية لاختبار هاتف IP

The core functions for testing an IP phone are mainly divided into 3 parts: the ability to record, the ability to make calls, and additional services such as call forwarding and conferences. Users can evaluate IP phones based on these three aspects. To test the terminal, we usually need to specify a SIP server. It is recommended to use Asterisk 1.6 or Asterisk 1.8. The reasons are as follows: 1) Asterisk is open source, easy to obtain the version, you can download from www.asterisk.org; 2) Asterisk is very popular and has rich features, it can support all testing programs.

1.1 القدرة على التسجيل

The following table describes the phone registration capacity test, with the SIP server being Asterisk
الجدول 1 اختبار قدرة هاتف IP على التسجيل

القدرة على التسجيل

No.

عنصر الاختبار

Test Target

عملية

النتيجة المطلوبة

تأكيد (Y/N)

1

التسجيل

تحقق مما إذا كان هاتف IP يمكنه التسجيل بنجاح أم لا.

Create a SIP extension on Asterisk and configure the IP phone.

تم تسجيل هاتف IP بنجاح

2

وقت التسجيل

تحقق مما إذا كان وقت التسجيل يلبي احتياجاتك

Enter the command:

asterisk -rx “sip show peers”

قد ترى المعلومات المشابهة للإرجاع التالي:

503/503 192.168.1.45 D N A 5060 OK (62 ms)

في اختبار الشبكة المحلية، يجب أن يكون زمن التسجيل أقل من أو يساوي 180 مللي ثانية.

3

الحفاظ على التسجيل

اختبر ما إذا كان هاتف IP يمكنه الحفاظ على حالة التسجيل أم لا.

Enter the command:

tail -f /var/log/asterisk/full | grep Unregistered

Please continue testing this for at least one minute.

Once the phone is successfully registered, there should be no Unregistered message.

1.2 القدرة على إجراء المكالمات

الجدول التالي يصف اختبار القدرة الأساسية للاتصال للهاتف.
الجدول 2 اختبار قدرة الهاتف على إجراء المكالمات

القدرة على إجراء المكالمات

No.

عنصر الاختبار

Test Target

عملية

النتيجة المطلوبة

تأكيد (Y/N)

1

المكالمات الصادرة

Test whether a SIP phone can make outbound calls and call quality

إجراء مكالمات إلى أي امتدادات أخرى


Bidirectional calls have been set up successfully, and neither side hears echo or buzz-like noise.

2

المكالمات الواردة

Test whether the SIP phone can receive calls and the call quality

استقبال المكالمات من أي امتداد

Two‑way calls have been set up successfully, and neither side hears echo or buzz noise.

1.3 الخدمات الإضافية

الجدول التالي يصف اختبار الخدمات التكميلية للهاتف.
الجدول 3 اختبار الخدمات التكميلية للهاتف

اختبارات الخدمات التكميلية

No.

عنصر الاختبار

Test Target

عملية

النتيجة المطلوبة

تأكيد(Y/N)

1

DTMFSending

Test whether the IP phone can correctly send the following DTMF signals: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, *

اتصل *98 للدخول إلى صندوق البريد 1234567890*

في واجهة سطر أوامر Asterisk، يمكنك رؤية الإخراج التالي:

--المستخدم أدخل '1234567890*'

2

DTMFSending

Test whether the SIP phone can correctly send the following DTMF signal: #

ارفع المكالمة الواردة واضغط '##'

سيسمع المستخدم إشعار معلومات تحويل المكالمة.

3

اختبار مفتاح الوظيفة - تحويل المكالمة

اختبار قدرة نقل المكالمة


استقبل مكالمة واردة، واضغط على مفتاح 'نقل المكالمة' وأدخل رقم الهاتف.

يمكن للمتصلين التواصل مع امتداد هدف 'نقل المكالمة'.

4

اختبار مفتاح الوظيفة-عدم الإزعاج

اختبار DND

Use the DND button to enable or disable DND


عند تمكين DND، لن يتلقى الهاتف في الاختبار أي مكالمة واردة؛
عند تعطيل DND، يمكن للهاتف في الاختبار استقبال المكالمات.

5

اختبار مفتاح الوظيفة-الإمساك

اختبار الإيقاف

Press the HOLD button during an active call

The remote party must be on hold and listening to hold music generated by Asterisk.

6

اختبار مفتاح الوظيفة-مؤتمر

مؤتمر اختبار

Press the 'Conference' button during an active call, and call the third party to start the conference.

أثناء المؤتمر، أي عضو في المؤتمر يمكنه سماع الجزأين الآخرين والسماح للآخرين بسماع صوته.

7

اختبار مفتاح الوظيفة - البريد الصوتي

اختبار البريد الصوتي

اترك رسالة على الهاتف في الاختبار واضغط زر 'Voicemail' على الهاتف

يمكن للهاتف قيد الاختبار الدخول إلى صندوق البريد الصوتي بنجاح ويمكن للمستخدم سماع الرسالة.