smalltalk
/
osmo-st-sip
Archived
1
0
Fork 0

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:
Holger Hans Peter Freyther 2011-07-05 11:16:56 +02:00
parent 8304e862f0
commit ef1cab4bf3
2 changed files with 1 additions and 12 deletions

View File

@ -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

View File

@ -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.