[asterisk-commits] oej: branch group/pinana-publish-1.4 r296536 - /team/group/pinana-publish-1.4...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 29 01:46:32 CST 2010


Author: oej
Date: Mon Nov 29 01:46:29 2010
New Revision: 296536

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=296536
Log:
There's no extra charge for committing comments.

Modified:
    team/group/pinana-publish-1.4/channels/chan_sip.c

Modified: team/group/pinana-publish-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pinana-publish-1.4/channels/chan_sip.c?view=diff&rev=296536&r1=296535&r2=296536
==============================================================================
--- team/group/pinana-publish-1.4/channels/chan_sip.c (original)
+++ team/group/pinana-publish-1.4/channels/chan_sip.c Mon Nov 29 01:46:29 2010
@@ -7047,6 +7047,8 @@
 		if (ast_string_field_init(p, 512))
 			return -1;
 	}
+	/* Always return to whoever sent it (according to RFC 3261) - makes sure these messages always reach the sender */
+	ast_set_flag(&p->flags[0], SIP_NAT_ALWAYS);
 
 	/* Initialize the bare minimum */
 	p->method = intended_method;
@@ -9874,7 +9876,7 @@
 
 static void dlginfo_epa_destructor(void *data)
 {
-	/* XXX needs fixing???? */
+	/* PINANA XXX needs fixing???? */
         struct sip_epa_entry *epa_entry = data;
         //struct dlginfo_epa_entry *dlginfo_entry = epa_entry->instance_data;
         //ast_free(dlginfo_entry);
@@ -13093,8 +13095,6 @@
 static int do_proxy_auth(struct sip_pvt *p, struct sip_request *req, char *header, char *respheader, int sipmethod, int init)
 {
 	char digest[1024];
-
-		ast_log(LOG_DEBUG, "------ OEJ: Going to authenticate\n");
 
 	if (!p->options && !(p->options = ast_calloc(1, sizeof(*p->options))))
 		return -2;
@@ -19298,7 +19298,9 @@
 */
 static void sip_pres_unsubscribe(struct sip_subscription_pres *pres)
 {
-	/* XXX OEJ Void nothing nada */
+	/* XXX PINANA Void nothing nada */
+	/* The question here is when we should unsubscribe to anything? 
+		if a hint is removed from the dialplan - will we get a notice???? */
 	return;
 }
 




More information about the asterisk-commits mailing list