[sr-dev] git:master: call_control(k): fix register_script_cb callback

Andrei Pelinescu-Onciul andrei at iptel.org
Sat Oct 10 02:21:28 CEST 2009


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

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Sat Oct 10 02:23:24 2009 +0200

call_control(k): fix register_script_cb callback

- sip-router script _cb take an extra parameter

---

 modules_k/call_control/call_control.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules_k/call_control/call_control.c b/modules_k/call_control/call_control.c
index 03ba632..6d9dad8 100644
--- a/modules_k/call_control/call_control.c
+++ b/modules_k/call_control/call_control.c
@@ -110,7 +110,7 @@ static int CallControl(struct sip_msg *msg, char *str1, char *str2);
 static int mod_init(void);
 static int child_init(int rank);
 static void destroy(void);
-static int postprocess_request(struct sip_msg *msg, void *_param);
+static int postprocess_request(struct sip_msg *, unsigned int, void *);
 
 int parse_param_init(unsigned int type, void *val);
 int parse_param_start(unsigned int type, void *val);
@@ -1144,7 +1144,7 @@ destroy(void) {
 // would remain dangling until it expires.
 //
 static int
-postprocess_request(struct sip_msg *msg, void *_param)
+postprocess_request(struct sip_msg *msg, unsigned int flags, void *_param)
 {
     CallInfo *call;
 




More information about the sr-dev mailing list