GSM now receives tones during bridge
[lcr.git] / interface.h
index ea9cbad..2a46c59 100644 (file)
@@ -89,6 +89,8 @@ struct interface_screen {
 struct interface {
        struct interface        *next;
        char                    name[64]; /* name of interface */
+       int                     app; /* application to use for interface (0 = PBX) */
+       char                    bridge_if[64]; /* name of destination interface for bridge application */
        int                     external; /* interface used for external calls */
        int                     extension; /* calls are handled as extension */
        int                     is_tones; /* generate tones */
@@ -139,4 +141,5 @@ void relink_interfaces(void);
 void load_port(struct interface_port *ifport);
 void doc_interface(void);
 void do_screen(int out, char *id, int idsize, int *type, int *present, const char *interface_name);
+struct interface *getinterfacebyname(const char *name);