mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
FS-8915 event header name shortened.
This commit is contained in:
parent
8c21dcf28e
commit
c90bed79f3
@ -138,8 +138,8 @@ SWITCH_STANDARD_API(mod_smpp_send_api)
|
||||
switch_goto_status(SWITCH_STATUS_GENERR, done);
|
||||
}
|
||||
|
||||
switch_event_add_header_string(message, SWITCH_STACK_BOTTOM, "destination_addr", argv[1]);
|
||||
switch_event_add_header_string(message, SWITCH_STACK_BOTTOM, "source_addr", argv[2]);
|
||||
switch_event_add_header_string(message, SWITCH_STACK_BOTTOM, "to_user", argv[1]);
|
||||
switch_event_add_header_string(message, SWITCH_STACK_BOTTOM, "from_user", argv[2]);
|
||||
switch_event_set_body(message, argv[3]);
|
||||
|
||||
if (mod_smpp_gateway_send_message(gateway, message) != SWITCH_STATUS_SUCCESS) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user