[asterisk-commits] oej: branch 1.2 r61685 -
/branches/1.2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Apr 19 00:56:21 MST 2007
Author: oej
Date: Thu Apr 19 02:56:21 2007
New Revision: 61685
URL: http://svn.digium.com/view/asterisk?view=rev&rev=61685
Log:
Send NOTIFY to Contact: in SUBSCRIBE
- as reported by Intertex and Citel. Fixed during SIPit 20 in Antwerp.
Modified:
branches/1.2/channels/chan_sip.c
Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=61685&r1=61684&r2=61685
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Thu Apr 19 02:56:21 2007
@@ -11068,6 +11068,10 @@
ast_copy_string(p->context, p->subscribecontext, sizeof(p->context));
else if (ast_strlen_zero(p->context))
strcpy(p->context, default_context);
+
+ /* Get full contact header - this needs to be used as a request URI in NOTIFY's */
+ parse_ok_contact(p, req);
+
/* Get destination right away */
build_contact(p);
if (gotdest) {
More information about the asterisk-commits
mailing list