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

mgcp: Catch-up with latest API change in the MGCPCommand code

>>#parameterAdd: string has been remove we now want to have the
key/value of it.
This commit is contained in:
Holger Hans Peter Freyther 2014-05-28 18:50:20 +02:00
parent f815b6dece
commit befb7a50f7
1 changed files with 4 additions and 4 deletions

View File

@ -581,7 +581,7 @@ hosting various transactions and dispatching to them.'>
endp callId: self generateCallId. endp callId: self generateCallId.
trans := Osmo.MGCPTransaction on: endp of: self callAgent. trans := Osmo.MGCPTransaction on: endp of: self callAgent.
crcx := (Osmo.MGCPCRCXCommand createCRCX: endp callId: endp callId) crcx := (Osmo.MGCPCRCXCommand createCRCX: endp callId: endp callId)
parameterAdd: 'M: recvonly'; addParameter: 'M' with: 'recvonly';
yourself. yourself.
trans command: crcx. trans command: crcx.
trans onResult: [:endp :result | trans onResult: [:endp :result |
@ -673,7 +673,7 @@ hosting various transactions and dispatching to them.'>
trans := Osmo.MGCPTransaction on: endp of: self callAgent. trans := Osmo.MGCPTransaction on: endp of: self callAgent.
dlcx := Osmo.MGCPDLCXCommand createDLCX: endp callId: endp callId. dlcx := Osmo.MGCPDLCXCommand createDLCX: endp callId: endp callId.
endp clearCallId. endp clearCallId.
connId isNil ifFalse: [dlcx parameterAdd: 'I: %1' % {connId}]. connId isNil ifFalse: [dlcx addParameter: 'I' with: connId].
trans command: dlcx. trans command: dlcx.
trans onResult: [:endp :result | trans onResult: [:endp :result |
self takeLocks: [self dlcxResult: result. self mgcpTransFinished: trans]]. self takeLocks: [self dlcxResult: result. self mgcpTransFinished: trans]].
@ -711,8 +711,8 @@ hosting various transactions and dispatching to them.'>
trans := Osmo.MGCPTransaction on: endp of: self callAgent. trans := Osmo.MGCPTransaction on: endp of: self callAgent.
mdcx := Osmo.MGCPMDCXCommand createMDCX: endp callId: endp callId. mdcx := Osmo.MGCPMDCXCommand createMDCX: endp callId: endp callId.
mdcx mdcx
parameterAdd: 'I: %1' % {connId}; addParameter: 'I' with: connId;
parameterAdd: 'M: %1' % {aState}; addParameter: 'M' with: aState;
sdp: aSDPRecord. sdp: aSDPRecord.
trans trans