switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_DEBUG,"Correcting calculated ptime value from %d to %d to compensate for %d lost packet(s)\n",codec_ms,codec_ms/(int)(engine->read_frame.seq-engine->last_seq),(int)(engine->read_frame.seq-engine->last_seq-1));