mirror of https://github.com/sipwise/sems.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
727 B
35 lines
727 B
|
|
|
|
class PySemsDialog
|
|
{
|
|
%TypeHeaderCode
|
|
#include "../PySems.h"
|
|
%End
|
|
|
|
public:
|
|
|
|
AmSipDialog dlg;
|
|
|
|
PySemsDialog();
|
|
~PySemsDialog();
|
|
|
|
int acceptAudio(const string& /* body */,
|
|
const string& /* hdrs */,
|
|
string* /Out/ /* sdp_reply */);
|
|
|
|
void setStopped();
|
|
|
|
virtual void onInvite(const AmSipRequest& /* req */);
|
|
virtual void onSessionStart(const AmSipRequest& /* req */);
|
|
virtual void onBye(const AmSipRequest& /* req */);
|
|
virtual void onCancel();
|
|
|
|
virtual void onDtmf(int /* event */, int /* duration_msec */);
|
|
|
|
virtual void onOtherBye(const AmSipRequest& /* req */);
|
|
virtual void onOtherReply(const AmSipReply& /* r */);
|
|
|
|
private:
|
|
PySemsDialog(const PySemsDialog&);
|
|
};
|