mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 23:34:13 +00:00
Fire an event on successful sms delivery, as well as clearify if the delivery method was blocking or not.
This commit is contained in:
1 parent
8b74de2d62
commit
b8f0d11a8a
2 files changed
+16
-6
No files matched your search
@@ -50,6 +50,9 @@ static void event_handler(switch_event_t *event)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Delivery Failure\n");
|
||||
DUMP_EVENT(event);
|
||||
|
||||
return;
|
||||
} else if ( check_failure && switch_false(check_failure) ) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "SMS Delivery Success\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user