diff --git a/core/plug-in/echo/Echo.cpp b/core/plug-in/echo/Echo.cpp index 0429c3a1..21a6a294 100644 --- a/core/plug-in/echo/Echo.cpp +++ b/core/plug-in/echo/Echo.cpp @@ -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(); diff --git a/core/plug-in/echo/Echo.h b/core/plug-in/echo/Echo.h index a8670235..26b68baf 100644 --- a/core/plug-in/echo/Echo.h +++ b/core/plug-in/echo/Echo.h @@ -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); };