Added bridgin support for GSM and SIP
[lcr.git] / apppbx.h
index a2608cc..a37fc44 100644 (file)
--- a/apppbx.h
+++ b/apppbx.h
@@ -73,8 +73,9 @@ class EndpointAppPBX : public EndpointApp
        struct caller_info      e_callerinfo;           /* information about the caller */
        struct dialing_info     e_dialinginfo;          /* information about dialing */
        struct connect_info     e_connectinfo;          /* information about connected line */
-       struct redir_info       e_redirinfo;            /* info on redirection (to the calling user) */
-       struct capa_info        e_capainfo;             /* info on l3,l2 capacity */
+       struct redir_info       e_redirinfo;            /* info about redirection (to the calling user) */
+       struct capa_info        e_capainfo;             /* info about l3,l2 capacity */
+       struct rtp_info         e_rtpinfo;              /* info about rtp port forwarding and payload type */
        time_t                  e_start, e_stop;        /* time */
        int                     e_origin;               /* origin of call 0=incoming 1=outgoing */
        struct route_ruleset    *e_ruleset;             /* current ruleset pointer (NULL=no ruleset) */
@@ -210,9 +211,11 @@ 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);
+       void join_bridge(struct port_list *portlist, int message_type, union parameter *param);
        void join_setup(struct port_list *portlist, int message_type, union parameter *param);
        void join_information(struct port_list *portlist, int message_type, union parameter *param);
        void join_overlap(struct port_list *portlist, int message_type, union parameter *param);
@@ -222,6 +225,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);
@@ -229,8 +233,9 @@ class EndpointAppPBX : public EndpointApp
        void notify_active(void);
        void keypad_function(char digit);
        void set_tone(struct port_list *portlist, const char *tone);
-       void out_setup(void);
+       void out_setup(int cfnr);
        struct mISDNport *hunt_port(char *ifname, int *channel);
+       struct interface *hunt_interface(char *ifname);
        char *apply_callerid_display(const char *id, int itype, int ntype, int present, int screen, const char *extension, const char *name);
        void auth(int job, int bit_num);