mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
trivial fix build
This commit is contained in:
parent
d66d41232b
commit
422df6180f
@ -1905,9 +1905,8 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
|||||||
|
|
||||||
case SWITCH_MESSAGE_INDICATE_PHONE_EVENT:
|
case SWITCH_MESSAGE_INDICATE_PHONE_EVENT:
|
||||||
{
|
{
|
||||||
|
|
||||||
switch_channel_set_flag(channel, CF_REQ_MEDIA);
|
|
||||||
const char *event = "talk";
|
const char *event = "talk";
|
||||||
|
switch_channel_set_flag(channel, CF_REQ_MEDIA);
|
||||||
|
|
||||||
if (!zstr(msg->string_arg) && strcasecmp(msg->string_arg, event)) {
|
if (!zstr(msg->string_arg) && strcasecmp(msg->string_arg, event)) {
|
||||||
if (!strcasecmp(msg->string_arg, "hold")) {
|
if (!strcasecmp(msg->string_arg, "hold")) {
|
||||||
|
@ -2894,7 +2894,7 @@ SWITCH_DECLARE(char *) switch_format_number(const char *num)
|
|||||||
const char *p = num;
|
const char *p = num;
|
||||||
|
|
||||||
if (!p) {
|
if (!p) {
|
||||||
return p;
|
return (char*)p;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zstr(p)) {
|
if (zstr(p)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user