< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Scott,
Yes, I know. In OnBindSuccess, I do not do allocation but instead, sending
data to test peer directly. However, in the TurnAsyncSocket’s send function, it
notices that it has not done channel binding, then
it still sends channel bind request automatically to server. See the log
below.
# TestAsyncClient 10.113.54.60 3478 10.113.54.61 INFO | 20000709-075409.029 | | RESIP:DNS | 1081618432 | DnsUtil.cxx:233 | Local IP address for is 169.254.6.91 INFO | 20000709-075409.034 | | RESIP:TEST | 1081618432 | TestAsyncClient.cxx:296 | Using 10.113.54.61 as local IP address. INFO | 20000709-075409.066 | | RESIP:TEST | 1081618432 | TestAsyncClient.cxx:95 | MyTurnAsyncSocketHandler::onConnectSuccess: socketDest=10, address=10.113.54.60, port=3478 INFO | 20000709-075409.073 | | RESIP:TEST | 1081618432 | TestAsyncClient.cxx:122 | MyTurnAsyncSocketHandler::onBindingSuccess: socketDest=10, reflexive=[UDP 10.113.54.61:40353], serverTuple=[UDP 10.113.54.60:3478] INFO | 20000709-075409.073 | | RESIP:TEST | 1081618432 | TestAsyncClient.cxx:133 | CLIENT: Sending: This test is for wrapped Turn Data! <<== Sending Data to peer INFO | 20000709-075409.075 | | RESIP:TEST | 1081618432 | TestAsyncClient.cxx:206 | MyTurnAsyncSocketHandler::onChannelBindRequestSent: socketDest=10 channelNumber=29634 <<== TurnAsyncSocket do channelbinding ERR | 20000709-075409.080 | | RETURN | 1081618432 | TurnAsyncSocket.cxx:754 | TurnAsyncSocket::handleChannelBindResponse: Received ChannelBindResponse error: 437 WARNING | 20000709-075409.080 | | RESIP:TEST | 1081618432 | TestAsyncClient.cxx:214 | MyTurnAsyncSocketHandler::onChannelBindFailure: socketDest=10 error=437(asio.misc error).
Tom From: Scott Godin
Sent: Tuesday, May 3, 2016 7:45 PM
To: Tom Chen
Subject: Re: [reSIProcate-users] reTurn TestAsyncClient TLS mode
fail Bind requests do not require an allocation.
Scott On Tue, May 3, 2016 at 7:56 PM, Tom Chen <chentom60@xxxxxxxxxxx> wrote:
|