Fix: Do not send notify IDs that are not 0, 1 or 2
[lcr.git] / message.h
index 47952ac..fb11384 100644 (file)
--- a/message.h
+++ b/message.h
@@ -156,6 +156,11 @@ struct rtp_info {
        unsigned short port;            /* peer's port */
 };
 
+struct param_transfer {
+       int invoke, result, error;
+       unsigned char invoke_id;
+};
+
 /* call-info structure CALLER */
 struct caller_info {
        char id[32];                    /* id of caller (user number) */
@@ -210,6 +215,7 @@ struct disconnect_info {
        int location;                   /* disconnect location */
        char display[84];               /* optional display information */
        int force;                      /* special flag to release imediately */
+       struct param_transfer transfer; /* used to return result to the invoking endpoint */
 };
 
 /* call-info structure REDIR */
@@ -392,6 +398,7 @@ union parameter {
        struct param_traffic traffic; /* MESSAGE_TRAFFIC */
        struct param_3pty threepty; /* MESSAGE_TRAFFIC */
        struct param_dov dov; /* MESSAGE_DOV */
+       struct param_transfer transfer; /* MESSAGE_TRANSFER (ECT in case of ISDN) */
        unsigned int queue; /* MESSAGE_DISABLE_DEJITTER */
        struct param_vootp vootp; /* MESSAGE_VOOTP */
 };