]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8915 event header name shortened.
authorWilliam King <william.king@quentustech.com>
Thu, 10 Mar 2016 16:56:49 +0000 (08:56 -0800)
committerWilliam King <william.king@quentustech.com>
Thu, 10 Mar 2016 16:56:49 +0000 (08:56 -0800)
src/mod/event_handlers/mod_smpp/mod_smpp.c

index d6b76ca74f4fa42e154b1d7ee0820b46569537ca..c18761b158a3be1b412b435b3753c7146096a96f 100644 (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) {