callagent: The SDP file is not part of the dialog but of the session
Do not keep the SDP file inside the dialog, it would be part of the session.
This commit is contained in:
parent
8304e862f0
commit
ef1cab4bf3
|
@ -18,7 +18,7 @@
|
|||
|
||||
Object subclass: SIPDialog [
|
||||
| from from_tag to to_tag dest_ip dest_port is_client call_id
|
||||
sdp state contact cseq |
|
||||
state contact cseq |
|
||||
<comment: 'I represent a dialog between two parties'>
|
||||
<category: 'SIP-Callagent'>
|
||||
|
||||
|
@ -180,16 +180,6 @@ Object subclass: SIPDialog [
|
|||
yourself.
|
||||
]
|
||||
|
||||
sdp: aSDP [
|
||||
<category: 'sdp'>
|
||||
sdp := aSDP
|
||||
]
|
||||
|
||||
sdp [
|
||||
<category: 'sdp'>
|
||||
^ sdp
|
||||
]
|
||||
|
||||
isConfirmed [
|
||||
<category: 'accessing'>
|
||||
^ self state = self class stateConfirmed
|
||||
|
|
|
@ -287,7 +287,6 @@ SIPTransaction subclass: SIPInviteTransaction [
|
|||
| branch |
|
||||
branch := useragent class generateBranch.
|
||||
self changeState: self class stateTerminated.
|
||||
aDialog sdp: aReq sdp.
|
||||
self queueData: (self createAck: branch dialog: aDialog) asDatagram
|
||||
dialog: aDialog.
|
||||
^ super respSuccess: aReq dialog: aDialog.
|
||||
|
|
Reference in New Issue