** **
\*****************************************************************************/
-#define SOCKET_NAME "/var/run/LCR.socket"
+#define SOCKET_NAME "%s/LCR.socket"
/* structures that define message between admin-tool and pbx */
struct admin_response_interface {
char interface_name[32];
int portnum;
+ char portname[64];
int block;
int ntmode;
int ptp;
+ int l1hold;
+ int l2hold;
int pri;
int extension;
int use; /* number of ports that use this interface */
int channels;
char busy[256]; /* if port is idle(0) busy(1) */
unsigned int port[256]; /* current port */
+ int mode[256];
};
struct admin_response_remote {