TestForwardNoAnswerVm Class Reference

Inheritance diagram for TestForwardNoAnswerVm:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: forwarding test if callee is not answering a call (voicemail).

A caller a calls an user b who is not answering the call. For this user b forwarding on not accepting to voicemail is activated.

Call flow:

 		callee b        sip-router                                                                          
 		|               |                                                                               
 		| (1) REGISTER  |                                                                               
 		| ============> |                                                                               
 		|  (2) 407      |                                                                               
 		| <============ |                                                                               
 		|  (3) ACK      |                                                                               
 		| ============> |                                                                               
 		|  (4) REGISTER |                                                                               
 		| ============> |                                                                               
 		|  (5) 200      |                                                                               
 		| <============ |                                                                               
 	
 		caller a        sip-router       voicemail                   callee b(no answer)             
 		|               |               |                               |                               
 		| (1) INVITE    |               |                               |                               
 		| ============> |               |                               |                               
 		|  (2) 407      |               |                               |                               
 		| <============ |               |                               |                               
 		|  (3) ACK      |               |                               |                               
 		| ============> |               |                               |                               
 		| (4) INVITE    |               |                               |                               
 		| ============> |               |                               |                               
 		|               |               |      (5) INVITE               |                               
 		|               | ==============|=============================> |                               
 		|               |               |      (6) 180                  |                               
 		|               | <=============|============================== |                               
 		| (7) 180       |               |                               |                               
 		| <============ |               |                               |                               
 		|               |               |      (8) CANCEL               |                               
 		|               | ==============|=============================> |                               
 		|               |               |      (9) 487                  |                               
 		|               | <=============|============================== |                               
 		|               |               |      (10) ACK                 |                               
 		|               | ==============|=============================> |                               
 		|               |               |      (11) 200                 |                               
 		|               | <=============|============================== |                               
 		|               |  (12) INVITE  |                               |                               
 		|               | ============> |                               |                               
 		|               |  (13) 100     |                               |                               
 		|               | <============ |                               |                               
 		| (14) 100      |               |                               |                               
 		| <============ |               |                               |                               
 		|               |  (15) 200     |                               |                               
 		|               | <============ |                               |                               
 		|  (16) 200     |               |                               |                               
 		| <============ |               |                               |                               
 		|  (17) ACK     |               |                               |                               
 		| ============> |               |                               |                               
 		|               |  (18) ACK     |                               |                               
 		|               | ============> |                               |                               
 		|               |  (19) BYE     |                               |                               
 		|               | <============ |                               |                               
 		| (20) BYE      |               |                               |                               
 		| <============ |               |                               |                               
 		|  (21) 200     |               |                               |                               
 		| ============> |               |                               |                               
 		|               |  (22) 200     |                               |                               
 		|               | ============> |                               |                               
 	

Author:
Enrico Hartung <enrico@iptel.org>
License:
GPL

Definition at line 97 of file TestForwardNoAnswerVm.py.


Public Member Functions

def initTestCase
 This function is expected to be overridden by the child class.
def test
 Abstract method for implementation of the scenario to test.

Member Function Documentation

def initTestCase (   self  ) 

This function is expected to be overridden by the child class.

Here the files to adopted have to be defined.

Reimplemented from TestCase.

Definition at line 99 of file TestForwardNoAnswerVm.py.

def test (   self  ) 

Abstract method for implementation of the scenario to test.

This method is supposed to be overwritten by the child class including the scenario.

In this method access to configuration data is offered (see core.testenv.TestConfigurationContainer).

Reimplemented from TestCase.

Definition at line 110 of file TestForwardNoAnswerVm.py.


The documentation for this class was generated from the following file:

Generated on Mon Aug 11 17:28:34 2008 for TestEnv by  doxygen 1.5.5