Browse code

b/f: conference: fix onRefer.

Raphael Coeffic authored on 23/02/2012 13:29:43
Showing 2 changed files
... ...
@@ -354,7 +354,8 @@ void ConferenceFactory::setupSessionTimer(AmSession* s) {
354 354
   }
355 355
 }
356 356
 
357
-AmSession* ConferenceFactory::onRefer(const AmSipRequest& req, const string& app_name)
357
+AmSession* ConferenceFactory::onRefer(const AmSipRequest& req, const string& app_name,
358
+				      const map<string,string>& app_params)
358 359
 {
359 360
   if(req.to_tag.empty())
360 361
     throw AmSession::Exception(488,"Not accepted here");
... ...
@@ -95,7 +95,8 @@ public:
95 95
   ConferenceFactory(const string& _app_name);
96 96
   virtual AmSession* onInvite(const AmSipRequest&, const string& app_name,
97 97
 			      const map<string,string>& app_params);
98
-  virtual AmSession* onRefer(const AmSipRequest& req, const string& app_name);
98
+  virtual AmSession* onRefer(const AmSipRequest& req, const string& app_name,
99
+			     const map<string,string>& app_params);
99 100
   virtual int onLoad();
100 101
 };
101 102