[asterisk-commits] mmichelson: branch group/CCSS r236896 - /team/group/CCSS/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 30 14:50:45 CST 2009
Author: mmichelson
Date: Wed Dec 30 14:50:43 2009
New Revision: 236896
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=236896
Log:
Don't forget the "Event" header on a CC NOTIFY.
Modified:
team/group/CCSS/channels/chan_sip.c
Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=236896&r1=236895&r2=236896
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Wed Dec 30 14:50:43 2009
@@ -12982,6 +12982,7 @@
reqprep(&req, subscription, SIP_NOTIFY, 0, TRUE);
ast_copy_string(state_str, sip_cc_notify_state_map[state].state_string, sizeof(state_str));
+ add_header(&req, "Event", "call-completion");
add_header(&req, "Content-Type", "application/call-completion");
if (state == CC_READY) {
generate_uri(subscription, agent_pvt->notify_uri, sizeof(agent_pvt->notify_uri));
More information about the asterisk-commits
mailing list