enabling echo app also for outgoing calls (useful for testing)

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1487 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 17 years ago
parent 5c2f939641
commit 04fe5722a0

@ -108,6 +108,12 @@ void EchoDialog::onSessionStart(const AmSipRequest& req)
setInOut(&echo,&echo);
}
void EchoDialog::onSessionStart(const AmSipReply& req)
{
rtp_str.setPlayoutType(playout_type);
setInOut(&echo,&echo);
}
void EchoDialog::onBye(const AmSipRequest& req)
{
setStopped();

@ -56,6 +56,7 @@ public:
~EchoDialog();
void onSessionStart(const AmSipRequest& req);
void onSessionStart(const AmSipReply& rep);
void onBye(const AmSipRequest& req);
void onDtmf(int event, int duration);
};

Loading…
Cancel
Save