提交 bba4540f authored 作者: Raymond Chandler's avatar Raymond Chandler

add context

上级 5761624f
...@@ -4548,7 +4548,7 @@ void sofia_presence_handle_sip_i_message(int status, ...@@ -4548,7 +4548,7 @@ void sofia_presence_handle_sip_i_message(int status,
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "from_sip_port", "%d", network_port); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "from_sip_port", "%d", network_port);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "to", to_addr); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "to", to_addr);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "subject", "SIMPLE MESSAGE"); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "subject", "SIMPLE MESSAGE");
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "context", profile->context);
if (sip->sip_content_type && sip->sip_content_type->c_subtype) { if (sip->sip_content_type && sip->sip_content_type->c_subtype) {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "type", sip->sip_content_type->c_type); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "type", sip->sip_content_type->c_type);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论