[Asterisk-code-review] res/res pjsip sip message: added sip message event notifier (asterisk[master])

sungtae kim asteriskteam at digium.com
Tue Nov 27 16:27:59 CST 2018


sungtae kim has posted comments on this change. ( https://gerrit.asterisk.org/10715 )

Change subject: res/res_pjsip_sip_message: added sip message event notifier
......................................................................


Patch Set 3:

(1 comment)

Updated it. :)

https://gerrit.asterisk.org/#/c/10715/1/res/res_pjsip_sip_message.c
File res/res_pjsip_sip_message.c:

https://gerrit.asterisk.org/#/c/10715/1/res/res_pjsip_sip_message.c@68
PS1, Line 68: static struct ast_sip_session_supplement supplement_sip_message = {
            : 		.priority = AST_SIP_SUPPLEMENT_PRIORITY_CHANNEL + 1,
            : 		.incoming_request = incoming_request_handler,
            : 		.incoming_response = incoming_response_handler,
            : 		.outgoing_request = outgoing_request_handler,
            : 		.outgoing_response = outgoing_response_handler,
            : };
            : 
            : STASIS_MESSAGE_TYPE_DEFN(pjsip_sip_message_type,
            : 	.to_json = sip_message_to_json,
            : 	);
            : 
            : static struct ast_json *sip_message_to_json(
            : 	struct stasis_message *message,
            : 	const struct stasis_message_sanitizer *sanitize)
            : {
            : 	return blob_to_json(message, DEF_MESSAGE_NAME, sanitize);
            : }
            : 
> They can all still be in a single supplement, though. They don't need to be separate supplements.
Right, now I've got it! :)



-- 
To view, visit https://gerrit.asterisk.org/10715
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1dedcc678265ebb74d35e7a2f58bc4b5084bcfe1
Gerrit-Change-Number: 10715
Gerrit-PatchSet: 3
Gerrit-Owner: sungtae kim <pchero21 at gmail.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: sungtae kim <pchero21 at gmail.com>
Gerrit-Comment-Date: Tue, 27 Nov 2018 22:27:59 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181127/46369b65/attachment.html>


More information about the asterisk-code-review mailing list