diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-28 18:50:20 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-28 18:50:20 +0200 |
commit | befb7a50f7c032e5ca4d8a992d6176983b5177f7 (patch) | |
tree | 1cb3ecca143a4390e4819ceefe9d8aafcfcfdba4 | |
parent | f815b6decec7fe093d8dbcd9f1aa50c01a1b94f4 (diff) |
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.
-rw-r--r-- | src/GSMProcessor.st | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GSMProcessor.st b/src/GSMProcessor.st index f8d2972..8bca37d 100644 --- a/src/GSMProcessor.st +++ b/src/GSMProcessor.st @@ -581,7 +581,7 @@ hosting various transactions and dispatching to them.'> endp callId: self generateCallId. trans := Osmo.MGCPTransaction on: endp of: self callAgent. crcx := (Osmo.MGCPCRCXCommand createCRCX: endp callId: endp callId) - parameterAdd: 'M: recvonly'; + addParameter: 'M' with: 'recvonly'; yourself. trans command: crcx. trans onResult: [:endp :result | @@ -673,7 +673,7 @@ hosting various transactions and dispatching to them.'> trans := Osmo.MGCPTransaction on: endp of: self callAgent. dlcx := Osmo.MGCPDLCXCommand createDLCX: endp callId: endp callId. endp clearCallId. - connId isNil ifFalse: [dlcx parameterAdd: 'I: %1' % {connId}]. + connId isNil ifFalse: [dlcx addParameter: 'I' with: connId]. trans command: dlcx. trans onResult: [:endp :result | 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. mdcx := Osmo.MGCPMDCXCommand createMDCX: endp callId: endp callId. mdcx - parameterAdd: 'I: %1' % {connId}; - parameterAdd: 'M: %1' % {aState}; + addParameter: 'I' with: connId; + addParameter: 'M' with: aState; sdp: aSDPRecord. trans |