cseq: Use asString for portability with pharo
This commit is contained in:
parent
54d9f2059b
commit
61a7928236
|
@ -26,7 +26,7 @@ TestCase subclass: SIPCallAgentTest [
|
|||
nextPutAll: 'BYE sip:127.0.0.1 SIP/2.0'; cr; nl;
|
||||
nextPutAll: 'Via: SIP/2.0/UDP 127.0.0.1:5060;branch='; nextPutAll: aBranch; cr; nl;
|
||||
nextPutAll: 'Max-Forwards: 70'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' BYE'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' BYE'; cr; nl;
|
||||
nextPutAll: 'Call-Id: '; nextPutAll: aCallId; cr; nl;
|
||||
nextPutAll: 'To: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
|
||||
nextPutAll: 'From: <sip:st@127.0.0.1>;tag=123'; cr; nl;
|
||||
|
@ -69,7 +69,7 @@ TestCase subclass: SIPCallAgentTest [
|
|||
nextPutAll: 'SIP/2.0 200 OK'; cr; nl;
|
||||
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
|
||||
nextPutAll: 'Content-Length: 0'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' INVITE'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' INVITE'; cr; nl;
|
||||
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
|
||||
nextPutAll: 'To: <sip:st@127.0.0.1>;tag=123'; cr; nl;
|
||||
nextPutAll: 'Via: SIP/2.0/UDP 127.0.0.1:5060;branch='; nextPutAll: aBranch; cr; nl;
|
||||
|
@ -104,7 +104,7 @@ TestCase subclass: SIPCallAgentTest [
|
|||
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
|
||||
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
|
||||
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' INVITE'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' INVITE'; cr; nl;
|
||||
nextPutAll: 'WWW-Authenticate: Digest realm="Yate", nonce="373ef30b297545cbce99fad09f1409cb.1392124197", stale=TRUE, algorithm=MD5'; cr; nl;
|
||||
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
|
||||
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER'; cr; nl;
|
||||
|
@ -121,7 +121,7 @@ TestCase subclass: SIPCallAgentTest [
|
|||
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
|
||||
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
|
||||
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' INVITE'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' INVITE'; cr; nl;
|
||||
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
|
||||
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER'; cr; nl;
|
||||
nextPutAll: 'Content-Length: 0'; cr; nl;
|
||||
|
|
|
@ -27,7 +27,7 @@ TestCase subclass: SIPRegisterTransactionTest [
|
|||
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
|
||||
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
|
||||
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' REGISTER'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' REGISTER'; cr; nl;
|
||||
nextPutAll: 'WWW-Authenticate: Digest realm="Yate", nonce="2ea525666844d310cd6d23cd6869b8fd.1393336640", stale=FALSE, algorithm=MD5'; cr; nl;
|
||||
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
|
||||
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO'; cr; nl;
|
||||
|
@ -43,7 +43,7 @@ TestCase subclass: SIPRegisterTransactionTest [
|
|||
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
|
||||
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
|
||||
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' REGISTER'; cr; nl;
|
||||
nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' REGISTER'; cr; nl;
|
||||
nextPutAll: 'WWW-Authenticate: Digest realm="Yate", nonce="2ea525666844d310cd6d23cd6869b8fd.1393336640", stale=FALSE, algorithm=MD5'; cr; nl;
|
||||
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
|
||||
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO'; cr; nl;
|
||||
|
|
Reference in New Issue