]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Increase the buffer size for the callid (issue #7675, reported by pssatcs)
authorRussell Bryant <russell@russellbryant.com>
Tue, 8 Aug 2006 17:04:10 +0000 (17:04 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 8 Aug 2006 17:04:10 +0000 (17:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39350 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index f81dda89e0442d90c5f77c7e28df92b56207a6e3..b314f161ed56a0f2ab8fd7aafdea60945c1504d9 100644 (file)
@@ -592,7 +592,7 @@ static int global_rtautoclear;
 static struct sip_pvt {
        ast_mutex_t lock;                       /*!< Channel private lock */
        int method;                             /*!< SIP method of this packet */
-       char callid[80];                        /*!< Global CallID */
+       char callid[128];                       /*!< Global CallID */
        char randdata[80];                      /*!< Random data */
        struct ast_codec_pref prefs;            /*!< codec prefs */
        unsigned int ocseq;                     /*!< Current outgoing seqno */
@@ -834,7 +834,7 @@ struct sip_registry {
        struct sip_pvt *call;           /*!< create a sip_pvt structure for each outbound "registration call" in progress */
        int regstate;                   /*!< Registration state (see above) */
        int callid_valid;               /*!< 0 means we haven't chosen callid for this registry yet. */
-       char callid[80];                /*!< Global CallID for this registry */
+       char callid[128];               /*!< Global CallID for this registry */
        unsigned int ocseq;             /*!< Sequence number we got to for REGISTERs for this registry */
        struct sockaddr_in us;          /*!< Who the server thinks we are */