Fix some compiler errors that popped up after the CCSS merge.
authorMark Michelson <mmichelson@digium.com>
Fri, 9 Apr 2010 15:56:55 +0000 (15:56 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 9 Apr 2010 15:56:55 +0000 (15:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256529 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c
funcs/func_srv.c
tests/test_gosub.c

index 91773b0..9e8efac 100644 (file)
@@ -1920,7 +1920,7 @@ static int sip_cc_monitor_request_cc(struct ast_cc_monitor *monitor, int *availa
                ast_get_ccnr_available_timer(monitor->interface->config_params);
 
        sip_pvt_lock(monitor_instance->subscription_pvt);
-       create_addr(monitor_instance->subscription_pvt, monitor_instance->peername, 0, 1);
+       create_addr(monitor_instance->subscription_pvt, monitor_instance->peername, 0, 1, NULL);
        ast_sip_ouraddrfor(&monitor_instance->subscription_pvt->sa.sin_addr, &monitor_instance->subscription_pvt->ourip, monitor_instance->subscription_pvt);
        monitor_instance->subscription_pvt->subscribed = CALL_COMPLETION;
        monitor_instance->subscription_pvt->expiry = when;
@@ -10611,7 +10611,7 @@ static int transmit_publish(struct sip_epa_entry *epa_entry, enum sip_publish_ty
 
        sip_pvt_lock(pvt);
 
-       if (create_addr(pvt, epa_entry->destination, NULL, TRUE)) {
+       if (create_addr(pvt, epa_entry->destination, NULL, TRUE, NULL)) {
                dialog_unlink_all(pvt, TRUE, TRUE);
                dialog_unref(pvt, "create_addr failed in transmit_publish. Unref dialog");
        }
index 339a028..9715a27 100644 (file)
@@ -31,6 +31,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/srv.h"
 #include "asterisk/pbx.h"
 #include "asterisk/app.h"
+#include "asterisk/datastore.h"
+#include "asterisk/channel.h"
 
 /*** DOCUMENTATION
        <function name="SRVQUERY" language="en_US">
index 75c09f8..c2b5103 100644 (file)
@@ -37,6 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/module.h"
 #include "asterisk/test.h"
 #include "asterisk/pbx.h"
+#include "asterisk/channel.h"
 
 AST_TEST_DEFINE(test_gosub)
 {