diff --git a/src/plug-in/audiorecorder/audiorecord.cpp b/src/plug-in/audiorecorder/audiorecord.cpp index fdbe9654ef893012095ab6bfecf866b8d90fade2..debe1aafffd6436aef587a2ce90a045ff30c620e 100644 --- a/src/plug-in/audiorecorder/audiorecord.cpp +++ b/src/plug-in/audiorecorder/audiorecord.cpp @@ -197,9 +197,11 @@ void AudioRecord::createFilename(){ if (timeinfo->tm_hour < 10) // 01 02 03, not 1 2 3 out << 0; out << timeinfo->tm_hour; + out << ':'; if (timeinfo->tm_min < 10) // 01 02 03, not 1 2 3 out << 0; out << timeinfo->tm_min; + out << ':'; if (timeinfo->tm_sec < 10) // 01 02 03, not 1 2 3 out << 0; out << timeinfo->tm_sec; diff --git a/src/sipvoiplink.cpp b/src/sipvoiplink.cpp index 96c461e95029e7ee2f1fe7d8b300e71e141e51c3..f9949258a3cf16065277cceca8b61483b1822fec 100644 --- a/src/sipvoiplink.cpp +++ b/src/sipvoiplink.cpp @@ -737,6 +737,7 @@ SIPVoIPLink::transfer(const CallID& id, const std::string& to) bool SIPVoIPLink::transferStep2() { + _debug("SIPVoIPLink::transferStep2():When is this function called?"); _audiortp->closeRtpSession(); return true; } @@ -944,24 +945,24 @@ std::string SIPVoIPLink::getSipTo(const std::string& to_url, std::string hostnam } } return SIPToHeader(to_url); - } +} - std::string SIPVoIPLink::SIPToHeader(const std::string& to) - { - if (to.find("sip:") == std::string::npos) { - return ("sip:" + to ); - } else { - return to; - } +std::string SIPVoIPLink::SIPToHeader(const std::string& to) +{ + if (to.find("sip:") == std::string::npos) { + return ("sip:" + to ); + } else { + return to; } +} - bool - SIPVoIPLink::SIPCheckUrl(const std::string& url UNUSED) - { - return true; - } +bool +SIPVoIPLink::SIPCheckUrl(const std::string& url UNUSED) +{ + return true; +} - bool setCallAudioLocal(SIPCall* call, std::string localIP, bool stun, std::string server) +bool setCallAudioLocal(SIPCall* call, std::string localIP, bool stun, std::string server) { // Setting Audio unsigned int callLocalAudioPort = RANDOM_LOCAL_PORT; @@ -1719,9 +1720,9 @@ SIPVoIPLink::SIPCallAnswered(SIPCall *call, pjsip_rx_data *rdata) } - pj_bool_t - mod_on_rx_request(pjsip_rx_data *rdata) - { +pj_bool_t +mod_on_rx_request(pjsip_rx_data *rdata) +{ pj_status_t status; pj_str_t reason; @@ -2108,8 +2109,7 @@ SIPVoIPLink::SIPCallAnswered(SIPCall *call, pjsip_rx_data *rdata) - - void xfer_func_cb( pjsip_evsub *sub, pjsip_event *event){ +void xfer_func_cb( pjsip_evsub *sub, pjsip_event *event){ PJ_UNUSED_ARG(event);