TestForwardBusyVoip Class Reference

Inheritance diagram for TestForwardBusyVoip:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: forwarding test if callee is busy (voip).

A caller a calls an user b who is busy. User b will be forwarded to another voip number.

Call flow:

 		callee b/c      sip-router
 		|               |                                                                               
 		| (1) REGISTER  |                                                                               
 		| ============> |                                                                               
 		|  (2) 407      |                                                                               
 		| <============ |                                                                               
 		|  (3) ACK      |                                                                               
 		| ============> |                                                                               
 		|  (4) REGISTER |                                                                               
 		| ============> |                                                                               
 		|  (5) 200      |                                                                               
 		| <============ |                                                                               
 	
 		caller a        sip-router       callee c                     callee b(busy)
 		|               |               |                               |                               
 		| (1) INVITE    |               |                               |                               
 		| ============> |               |                               |                               
 		|  (2) 407      |               |                               |                               
 		| <============ |               |                               |                               
 		|  (3) ACK      |               |                               |                               
 		| ============> |               |                               |                               
 		| (4) INVITE    |               |                               |                               
 		| ============> |               |                               |                               
 		|               |               |      (5) INVITE               |                               
 		|               | ==============|=============================> |                               
 		|               |               |      (6) 486                  |                               
 		|               | <=============|============================== |                               
 		|               |               |      (7) ACK                  |                               
 		|               | ==============|=============================> |                               
 		|               |  (5) INVITE   |                               |                               
 		|               | ============> |                               |                               
 		|               |  (6) 100      |                               |                               
 		|               | <============ |                               |                               
 		| (7) 100       |               |                               |                               
 		| <============ |               |                               |                               
 		|               |  (8) 200      |                               |                               
 		|               | <============ |                               |                               
 		|  (9) 200      |               |                               |                               
 		| <============ |               |                               |                               
 		|  (10) ACK     |               |                               |                               
 		| ============> |               |                               |                               
 		|               |  (11) ACK     |                               |                               
 		|               | ============> |                               |                               
 		|               |  (12) BYE     |                               |                               
 		|               | <============ |                               |                               
 		| (13) BYE      |               |                               |                               
 		| <============ |               |                               |                               
 		|  (14) 200     |               |                               |                               
 		| ============> |               |                               |                               
 		|               |  (14) 200     |                               |                               
 		|               | ============> |                               |                               
 	

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

Definition at line 89 of file TestForwardBusyVoip.py.


Public Member Functions

def initTestCase
 This function overwrites the function of its parent class.
def test
 implementation of test case: forwarding on busy (voip)

Member Function Documentation

def initTestCase (   self  ) 

This function overwrites the function of its parent class.

It is called by the __init__ function from the parent of its parent. Don't define your own __init__ here!

Reimplemented from TestCase.

Definition at line 97 of file TestForwardBusyVoip.py.

def test (   self  ) 

implementation of test case: forwarding on busy (voip)

Reimplemented from TestCase.

Definition at line 112 of file TestForwardBusyVoip.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