aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-08 17:04:10 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-08 17:04:10 +0000
commitb99ee109040eb9fbb508b367c9b2e6fb43bc2d0a (patch)
tree93b2279a50f2fce8530458a856f9259b810b2f29
parent082e3cd6bff3bc55a90c08656a258944ce713ad9 (diff)
Increase the buffer size for the callid (issue #7675, reported by pssatcs)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39350 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f81dda89e..b314f161e 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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 */