Use the OpenTok SDK for ping.

It is just for tests but yes you are right.