mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
skypopen: cosmetics
This commit is contained in:
parent
a5045b1ab0
commit
5472923024
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user