From: William King Date: Thu, 10 Mar 2016 16:56:49 +0000 (-0800) Subject: FS-8915 event header name shortened. X-Git-Tag: v1.6.7~2^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c90bed79f36df36379ed6d0bae9ed7d365767e66;p=thirdparty%2Ffreeswitch.git FS-8915 event header name shortened. --- diff --git a/src/mod/event_handlers/mod_smpp/mod_smpp.c b/src/mod/event_handlers/mod_smpp/mod_smpp.c index d6b76ca74f..c18761b158 100644 --- a/src/mod/event_handlers/mod_smpp/mod_smpp.c +++ b/src/mod/event_handlers/mod_smpp/mod_smpp.c @@ -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) {