fixed call-ref-bug that caused b-channels to fail after 256 call instances.
authorSuper User <root@isdn.jolly.ten>
Wed, 18 Jun 2008 06:50:46 +0000 (08:50 +0200)
committerSuper User <root@isdn.jolly.ten>
Wed, 18 Jun 2008 06:50:46 +0000 (08:50 +0200)
modified:   mISDN.h

mISDN.h

diff --git a/mISDN.h b/mISDN.h
index 13ca654..f03cb4f 100644 (file)
--- a/mISDN.h
+++ b/mISDN.h
@@ -154,8 +154,8 @@ class PmISDN : public Port
        int p_m_hold;                           /* if port is on hold */
        unsigned int p_m_timeout;               /* timeout of timers */
        time_t p_m_timer;                       /* start of timer */
-       unsigned char p_m_remote_ref;           /* join to export bchannel to */
-       unsigned char p_m_remote_id;            /* sock to export bchannel to */
+       unsigned int p_m_remote_ref;            /* join to export bchannel to */
+       unsigned int p_m_remote_id;             /* sock to export bchannel to */
 
        int seize_bchannel(int channel, int exclusive); /* requests / reserves / links bchannels, but does not open it! */
        void drop_bchannel(void);