invite: Extend the testcase to actually ask for hanging up
This commit is contained in:
parent
8b626c8a52
commit
160b36056a
|
@ -77,6 +77,7 @@ receiving an ACK?
|
|||
yourself.
|
||||
initial_dialog := newDialog.
|
||||
dialog := newDialog.
|
||||
next_cseq := initial_dialog cseq + 1.
|
||||
self registerDialog.
|
||||
]
|
||||
|
||||
|
|
|
@ -155,6 +155,12 @@ TestCase subclass: SIPInviteTest [
|
|||
self assert: call state equals: call class stateSession.
|
||||
|
||||
self assert: (call remoteSDP startsWith: 'Shiny remote SDP file').
|
||||
|
||||
"Now hangup the call"
|
||||
call hangup.
|
||||
self assert: call state equals: call class stateHangup.
|
||||
msg := SIPParser parse: sent fourth data.
|
||||
self assert: msg class equals: SIPByeRequest.
|
||||
]
|
||||
|
||||
testConnectedCallWithRetransmission [
|
||||
|
|
Reference in New Issue