Skip to content
Snippets Groups Projects
Commit fa31f62b authored by Tristan Matthews's avatar Tristan Matthews
Browse files

Merge branch 'fix_account_crasher' of...

Merge branch 'fix_account_crasher' of git+ssh://git.sflphone.org/var/repos/sflphone/git/sflphone into fix_account_crasher
parents abb5f582 d310968b
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@
#include "config.h"
#endif
#include "sipvoiplink.h"
#include "manager.h"
......@@ -1231,7 +1232,14 @@ bool SIPVoIPLink::SIPNewIpToIpCall(const std::string& id, const std::string& to)
pj_bool_t stun_sock_on_status_cb(pj_stun_sock *stun_sock UNUSED, pj_stun_sock_op op UNUSED, pj_status_t status)
{
return status == PJ_SUCCESS;
// What ever is the status, we want the keep-alive timer to be rescheduled
status = PJ_TRUE;
if(status != PJ_SUCCESS) {
ERROR("Error STUN session failed because %s failed", pj_stun_sock_op_name(op));
}
return status;
}
pj_bool_t stun_sock_on_rx_data_cb(pj_stun_sock *stun_sock UNUSED, void *pkt UNUSED, unsigned pkt_len UNUSED, const pj_sockaddr_t *src_addr UNUSED, unsigned addr_len UNUSED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment