FS-8915 event header name shortened.

This commit is contained in:
William King 2016-03-10 08:56:49 -08:00
parent 8c21dcf28e
commit c90bed79f3
1 changed files with 2 additions and 2 deletions

View File

@ -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) {