From 5472923024aba61f99edafddc3493d472823668d Mon Sep 17 00:00:00 2001 From: Giovanni Maruzzelli Date: Wed, 27 Oct 2010 09:30:27 -0500 Subject: [PATCH] skypopen: cosmetics --- src/mod/endpoints/mod_skypopen/mod_skypopen.c | 2 +- src/mod/endpoints/mod_skypopen/skypopen_protocol.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_skypopen/mod_skypopen.c b/src/mod/endpoints/mod_skypopen/mod_skypopen.c index 2e0187149d..1e39f1d491 100644 --- a/src/mod/endpoints/mod_skypopen/mod_skypopen.c +++ b/src/mod/endpoints/mod_skypopen/mod_skypopen.c @@ -2251,7 +2251,7 @@ int start_audio_threads(private_t *tech_pvt) switch_sleep(100000); if (tech_pvt->tcp_cli_thread == NULL || tech_pvt->tcp_srv_thread == NULL) { - ERRORA("tcp_cli_thread or tcp_srv_thread exited\n", SKYPOPEN_P_LOG); + WARNINGA("tcp_cli_thread or tcp_srv_thread exited\n", SKYPOPEN_P_LOG); return -1; } diff --git a/src/mod/endpoints/mod_skypopen/skypopen_protocol.c b/src/mod/endpoints/mod_skypopen/skypopen_protocol.c index e8e5ef4bad..871cc78155 100644 --- a/src/mod/endpoints/mod_skypopen/skypopen_protocol.c +++ b/src/mod/endpoints/mod_skypopen/skypopen_protocol.c @@ -213,7 +213,7 @@ int skypopen_signaling_read(private_t *tech_pvt) if (!strncasecmp(message, "ERROR", 4)) { if (!strncasecmp(message, "ERROR 96 CALL", 12)) { - WARNINGA + DEBUGA_SKYPE ("Skype got ERROR: |||%s|||, we are trying to use this interface to make or receive a call, but another call is half-active on this interface. Let's the previous one to continue.\n", SKYPOPEN_P_LOG, message); } else if (!strncasecmp(message, "ERROR 99 CALL", 12)) { @@ -580,7 +580,7 @@ int skypopen_signaling_read(private_t *tech_pvt) if (!strcasecmp(prop, "DURATION") && (tech_pvt->interface_state == SKYPOPEN_STATE_ERROR_DOUBLE_CALL)) { char msg_to_skype[1024]; skypopen_strncpy(tech_pvt->skype_call_id, id, sizeof(tech_pvt->skype_call_id) - 1); - ERRORA("We are in a double call situation, trying to get out hanging up call id: %s.\n", SKYPOPEN_P_LOG, id); + WARNINGA("We are in a double call situation, trying to get out hanging up call id: %s.\n", SKYPOPEN_P_LOG, id); sprintf(msg_to_skype, "ALTER CALL %s END HANGUP", id); skypopen_signaling_write(tech_pvt, msg_to_skype); sprintf(msg_to_skype, "ALTER CALL %s HANGUP", id); @@ -743,7 +743,7 @@ int skypopen_signaling_read(private_t *tech_pvt) if (tech_pvt->tcp_cli_thread == NULL) { DEBUGA_SKYPE("START start_audio_threads\n", SKYPOPEN_P_LOG); if (start_audio_threads(tech_pvt)) { - ERRORA("start_audio_threads FAILED\n", SKYPOPEN_P_LOG); + WARNINGA("start_audio_threads FAILED\n", SKYPOPEN_P_LOG); return CALLFLOW_INCOMING_HANGUP; } }