Data-Over-Voice
[lcr.git] / apppbx.h
index 1bbe8ba..618d9ac 100644 (file)
--- a/apppbx.h
+++ b/apppbx.h
@@ -212,9 +212,14 @@ class EndpointAppPBX : public EndpointApp
        void port_progress(struct port_list *portlist, int message_type, union parameter *param);
        void port_facility(struct port_list *portlist, int message_type, union parameter *param);
        void port_3pty(struct port_list *portlist, int message_type, union parameter *param);
+       void port_transfer(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 port_disable_dejitter(struct port_list *portlist, int message_type, union parameter *param);
+       void port_updatebridge(struct port_list *portlist, int message_type, union parameter *param);
+       void port_vootp(struct port_list *portlist, int message_type, union parameter *param);
+       void port_dov_indication(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);
@@ -229,6 +234,10 @@ class EndpointAppPBX : public EndpointApp
        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);
+       void join_disable_dejitter(struct port_list *portlist, int message_type, union parameter *param);
+       void join_dov_indication(struct port_list *portlist, int message_type, union parameter *param);
+       void join_dov_request(struct port_list *portlist, int message_type, union parameter *param);
+       void join_dov_listen(struct port_list *portlist, int message_type, union parameter *param);
 
        /* epoint */
        void new_state(int state);
@@ -285,6 +294,12 @@ class EndpointAppPBX : public EndpointApp
        void action_init_play(void);
        void action_init_vbox_play(void);
        void action_init_efi(void);
+       void action_init_pots_retrieve(void);
+       void action_init_pots_release(void);
+       void action_init_pots_reject(void);
+       void action_init_pots_answer(void);
+       void action_init_pots_3pty(void);
+       void action_init_pots_transfer(void);
        void action_dialing_vbox_play(void);
        void action_dialing_calculator(void);
        void action_dialing_timer(void);
@@ -308,8 +323,10 @@ class EndpointAppPBX : public EndpointApp
 
        /* facility function */
        void pick_join(char *extension);
-       int join_join(void);
-       int join_3pty(void);
+       int join_join_dss1(void);
+       int join_join_fxs(void);
+       int join_3pty_dss1(void);
+       int join_3pty_fxs(void);
        int split_3pty(void);
        void encrypt_shared(void);
        void encrypt_keyex(void);
@@ -354,9 +371,14 @@ class EndpointAppPBX : public EndpointApp
        void cryptman_msg2crengine(int msg, unsigned char *buf, int len);
        void cryptman_state(int state);
        void cryptman_timeout(int secs);
+       int vootp_on(int enable);
+
        void message_disconnect_port(struct port_list *portlist, int cause, int location, const char *display);
        void logmessage(int message_type, union parameter *param, unsigned int port_id, int dir);
        void trace_header(const char *name, int direction);
+
+       /* DOV */
+       void dov_msg_write(union parameter *param, int sent);
 };