Browse code

call_control(k): fix register_script_cb callback

- sip-router script _cb take an extra parameter

Andrei Pelinescu-Onciul authored on 10/10/2009 00:23:24
Showing 1 changed files
... ...
@@ -110,7 +110,7 @@ static int CallControl(struct sip_msg *msg, char *str1, char *str2);
110 110
 static int mod_init(void);
111 111
 static int child_init(int rank);
112 112
 static void destroy(void);
113
-static int postprocess_request(struct sip_msg *msg, void *_param);
113
+static int postprocess_request(struct sip_msg *, unsigned int, void *);
114 114
 
115 115
 int parse_param_init(unsigned int type, void *val);
116 116
 int parse_param_start(unsigned int type, void *val);
... ...
@@ -1144,7 +1144,7 @@ destroy(void) {
1144 1144
 // would remain dangling until it expires.
1145 1145
 //
1146 1146
 static int
1147
-postprocess_request(struct sip_msg *msg, void *_param)
1147
+postprocess_request(struct sip_msg *msg, unsigned int flags, void *_param)
1148 1148
 {
1149 1149
     CallInfo *call;
1150 1150