From 108a0eb48201fe46572ecf565183e2c19959b5ec Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 31 Oct 2010 16:08:29 +0000 Subject: Adding forwarding of DTMF and keypad between peers This is needed for peers that require DTMF messages, rather than tones: - GSM mobile stations - Asterisk channel API modified: apppbx.cpp modified: apppbx.h --- apppbx.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apppbx.h') diff --git a/apppbx.h b/apppbx.h index ad0b6da..cfe99c1 100644 --- a/apppbx.h +++ b/apppbx.h @@ -210,6 +210,7 @@ class EndpointAppPBX : public EndpointApp void port_facility(struct port_list *portlist, int message_type, union parameter *param); void port_suspend(struct port_list *portlist, int message_type, union parameter *param); void port_resume(struct port_list *portlist, int message_type, union parameter *param); + void port_enablekeypad(struct port_list *portlist, int message_type, union parameter *param); void ea_message_join(unsigned int join_id, int message, union parameter *param); void join_crypt(struct port_list *portlist, int message_type, union parameter *param); void join_mISDNsignal(struct port_list *portlist, int message_type, union parameter *param); @@ -222,6 +223,7 @@ class EndpointAppPBX : public EndpointApp void join_disconnect_release(int message_type, union parameter *param); void join_notify(struct port_list *portlist, int message_type, union parameter *param); void join_facility(struct port_list *portlist, int message_type, union parameter *param); + void join_dtmf(struct port_list *portlist, int message_type, union parameter *param); /* epoint */ void new_state(int state); -- cgit v1.2.3-55-g7522