< Previous by Date Date Index Next by Date >
  Thread Index  

[SFTF] 208cseq problem


Hello, 

I was having problem running the case208cseq. In this case, the UAS sends
back a 180 instead of the 400. Here are the details:

192.168.0.83:5060                          192.168.0.181:7666
|                                          | <Call><PFrame>|
|
|>F1 INVITE (sdp)------------------------->|  1 PF:1
|
|<------------------------- Ringing 180 F2<|  1 PF:2
|
|>F3 CANCEL ------------------------------>|  1 PF:3
|
|<------------------------------ OK 200 F4<|  1 PF:4
|
|<-------------- Request Terminated 487 F5<|  1 PF:5
|
|>F6 BYE --------------------------------->|  1 PF:6
|
|<- Call/Transaction Does Not Exist 481 F7<|  1 PF:7   
|                                          |
|<-------------- Request Terminated 487 F8<|  1 PF:9  
|                                          |
|<-------------- Request Terminated 487 F9<|  1 PF:11 

However, after this, the testcase just barfs with these error:

  File "/home/tester/SFTF-0.9.3/TestCase.py", line 1123, in reactOn
    self.onDefaultCode(message)
  File "./UserAgentBasicTestSuite/case208cseq.py", line 79, in onDefaultCode
    ack = self.createRequest("ACK", trans=self.dialog[0].transaction[0])
  File "/home/tester/SFTF-0.9.3/TestCase.py", line 955, in createRequest
    if (trans.lastReply.code != 200):
AttributeError: 'NoneType' object has no attribute 'code'
  ! Please report this bug as described at the web page !

Hence I dutifully report this bug. I tried to look into the problem, even
being not very proficient in python: it seems like trans.lastReply (from
transaction.py) does not have a .code attribute type defined.

Cheers,
Hesty