Module: sems Branch: sayer/offer_answer Commit: 7a8a6cccb885b5d503f34326c9a2879c7f79b04c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=7a8a6cccb885b5d503f34326c9a2879c7f79b04c
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Tue Oct 19 23:42:05 2010 +0200 fixed: annrecorder --- apps/annrecorder/AnnRecorder.cpp | 11 +---------- apps/annrecorder/AnnRecorder.h | 4 +--- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/apps/annrecorder/AnnRecorder.cpp b/apps/annrecorder/AnnRecorder.cpp index 396ed69..3163cb6 100644 --- a/apps/annrecorder/AnnRecorder.cpp +++ b/apps/annrecorder/AnnRecorder.cpp @@ -273,19 +273,10 @@ AnnRecorderDialog::~AnnRecorderDialog() unlink(msg_filename.c_str()); } -void AnnRecorderDialog::onSessionStart(const AmSipRequest& req) +void AnnRecorderDialog::onSessionStart() { DBG("AnnRecorderDialog::onSessionStart\n"); - startSession(); -} - -void AnnRecorderDialog::onSessionStart(const AmSipReply& rep) -{ - DBG("AnnRecorderDialog::onSessionStart (SEMS originator mode)\n"); - startSession(); -} -void AnnRecorderDialog::startSession(){ prompts.addToPlaylist(WELCOME, (long)this, playlist); prompts.addToPlaylist(YOUR_PROMPT, (long)this, playlist); enqueueCurrent(); diff --git a/apps/annrecorder/AnnRecorder.h b/apps/annrecorder/AnnRecorder.h index bf13125..1376c2f 100644 --- a/apps/annrecorder/AnnRecorder.h +++ b/apps/annrecorder/AnnRecorder.h @@ -122,9 +122,7 @@ public: UACAuthCred* credentials = NULL); ~AnnRecorderDialog(); - void onSessionStart(const AmSipRequest& req); - void onSessionStart(const AmSipReply& rep); - void startSession(); + void onSessionStart(); void onBye(const AmSipRequest& req); void onDtmf(int event, int duration_msec); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
