TestForwardCancelPstn Class Reference

Inheritance diagram for TestForwardCancelPstn:

TestCase TestUnit TestConfigurationContainer

List of all members.


Detailed Description

Scenario: cancel after forwarding test (pstn).

A caller a calls an user b who is busy. For this user b forwarding on busy to a pstn number is activated. To simulate pstn another sip-router is registered as a pstn gateway which leads incoming messages to a voicemail. The call is cancelled by the user after receiving a 180 or 183.

Call flow:

 		callee b        sip-router
 		|               |                                                                               
 		| (1) REGISTER  |                                                                               
 		| ============> |                                                                               
 		|  (2) 407      |                                                                               
 		| <============ |                                                                               
 		|  (3) ACK      |                                                                               
 		| ============> |                                                                               
 		|  (4) REGISTER |                                                                               
 		| ============> |                                                                               
 		|  (5) 200      |                                                                               
 		| <============ |                                                                               
 	
 		caller a        sip-router   fake pstn gateway (ser+sems)       callee b(busy)
 		|               |               |                               |                               
 		| (1) INVITE    |               |                               |                               
 		| ============> |               |                               |                               
 		|  (2) 407      |               |                               |                               
 		| <============ |               |                               |                               
 		|  (3) ACK      |               |                               |                               
 		| ============> |               |                               |                               
 		| (4) INVITE    |               |                               |                               
 		| ============> |               |                               |                               
 		|               |               |      (5) INVITE               |                               
 		|               | ==============|=============================> |                               
 		|               |               |      (6) 486                  |                               
 		|               | <=============|============================== |                               
 		|               |               |      (7) ACK                  |                               
 		|               | ==============|=============================> |                               
 		|               |  (8) INVITE   |                               |                               
 		|               | ============> |                               |                               
 		|               |  (9) 100      |                               |                               
 		|               | <============ |                               |                               
 		| (10) 100      |               |                               |                               
 		| <============ |               |                               |                               
 		|               |  (11) 180     |                               |                               
 		|               | <============ |                               |                               
 		| (12) 180      |               |                               |                               
 		| <============ |               |                               |                               
 		| (13) CANCEL   |               |                               |                               
 		| ============> |               |                               |                               
 		|               | (14) CANCEL   |                               |                               
 		|               | ============> |                               |                               
 		|               | (15) 487      |                               |                               
 		|               |<============= |                               |                               
 		| (16) 487      |               |                               |                               
 		| <=============|               |                               |                               
 		| (17) ACK      |               |                               |                               
 		| ============> |               |                               |                               
 		|               | (18) ACK      |                               |                               
 		|               | ============> |                               |                               
 		|               | (19) 200 OK   |                               |                               
 		|               |<============= |                               |                               
 		| (20) 200 OK   |               |                               |                               
 		| <=============|               |                               |                               
 	

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

Definition at line 94 of file TestForwardCancelPstn.py.


Public Member Functions

def initTestCase
 This function overwrites the function of its parent class.
def test
 implementation of test case: cancel after forwarding (pstn)

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 102 of file TestForwardCancelPstn.py.

def test (   self  ) 

implementation of test case: cancel after forwarding (pstn)

Reimplemented from TestCase.

Definition at line 116 of file TestForwardCancelPstn.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