Browse code

fixed new onSendReply format

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@764 8eb893ce-cfd4-0310-b710-fb5ebe64c474

Stefan Sayer authored on 03/03/2008 12:10:21
Showing 2 changed files
... ...
@@ -178,6 +178,7 @@ bool UACAuth::onSendRequest(const string& method,
178 178
 			    const string& content_type,
179 179
 			    const string& body,
180 180
 			    string& hdrs,
181
+			    int flags,
181 182
 			    unsigned int cseq)
182 183
 {
183 184
   DBG("adding %d to list of sent requests.\n", cseq);
... ...
@@ -192,7 +193,8 @@ bool UACAuth::onSendRequest(const string& method,
192 193
 bool UACAuth::onSendReply(const AmSipRequest& req,
193 194
 			  unsigned int  code,const string& reason,
194 195
 			  const string& content_type,const string& body,
195
-			  string& hdrs)
196
+			  string& hdrs,
197
+			  int flags)
196 198
 {
197 199
   return false;
198 200
 }
... ...
@@ -144,6 +144,7 @@ class UACAuth : public AmSessionEventHandler
144 144
 			     const string& content_type,
145 145
 			     const string& body,
146 146
 			     string& hdrs,
147
+			     int flags,
147 148
 			     unsigned int cseq);
148 149
 	
149 150
   virtual bool onSendReply(const AmSipRequest& req,
... ...
@@ -151,7 +152,8 @@ class UACAuth : public AmSessionEventHandler
151 152
 			   const string& reason,
152 153
 			   const string& content_type,
153 154
 			   const string& body,
154
-			   string& hdrs);
155
+			   string& hdrs,
156
+			   int flags);
155 157
 };
156 158
 
157 159