There is no easy way to do this. You will need to write a different transport protocol in pjsip or change the current transports to support tcp / udp through http tunneling. There is also the way you tunnel traffic through HTTP. You may need to make sure that you are using an HTTP server that also supports HTTP tunneling.
SIP, RTP.
, TURN pjsip. pjsip TURN RTP-, , TURN SIP.
, TURN? TURN HTTP- HTTP, .