[sr-dev] git:master: dmq: added dmq_load_api to exported functions

Charles Chance charles.chance at sipcentric.com
Mon Sep 16 00:43:25 CEST 2013


Module: sip-router
Branch: master
Commit: e63af00eaa92eed106356cbb1dd6afd8b09f3e69
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e63af00eaa92eed106356cbb1dd6afd8b09f3e69

Author: Charles Chance <charles.chance at sipcentric.com>
Committer: Charles Chance <charles.chance at sipcentric.com>
Date:   Sun Sep 15 23:38:56 2013 +0100

dmq: added dmq_load_api to exported functions

---

 modules/dmq/dmq.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/dmq/dmq.c b/modules/dmq/dmq.c
index 4ed75bf..f4eea3a 100644
--- a/modules/dmq/dmq.c
+++ b/modules/dmq/dmq.c
@@ -70,7 +70,7 @@ struct sip_uri dmq_server_uri;
 
 str dmq_notification_address = {0, 0};
 struct sip_uri dmq_notification_uri;
-int ping_interval = 4;
+int ping_interval = MIN_PING_INTERVAL;
 
 /* TM bind */
 struct tm_binds tmb;
@@ -99,6 +99,7 @@ static cmd_export_t cmds[] = {
 		REQUEST_ROUTE},
 	{"dmq_send_message", (cmd_function)cfg_dmq_send_message, 3, send_dmq_fixup, 0,
 		ANY_ROUTE},
+        {"bind_dmq",        (cmd_function)bind_dmq,       0, 0,              0},
 	{0, 0, 0, 0, 0, 0}
 };
 




More information about the sr-dev mailing list