diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-29 04:22:47 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-29 04:22:47 +0000 |
commit | eaa1e61e45af3966cd187275ea2c285871f2b605 (patch) | |
tree | bfa12fd68b002511ce51dab14dadc5e372ee2059 /channels/h323 | |
parent | bd9025158e8c46d131d69c70db1ce3c79d8c3307 (diff) |
Fix codec negiocation on inbound calls. Bugs 3980, 4021, 4045
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5526 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rwxr-xr-x | channels/h323/ast_h323.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index cf1c33c31..80cabd6ff 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -97,7 +97,7 @@ int PAsteriskLog::Buffer::overflow(int c) { if (pptr() >= epptr()) { int ppos = pptr() - pbase(); - char *newptr = string.GetPointer(string.GetSize() + 10); + char *newptr = string.GetPointer(string.GetSize() + 2000); setp(newptr, newptr + string.GetSize() - 1); pbump(ppos); } @@ -134,7 +134,7 @@ int PAsteriskLog::Buffer::sync() free(str); string = PString(); - char *base = string.GetPointer(10); + char *base = string.GetPointer(2000); setp(base, base + string.GetSize() - 1); return 0; } @@ -1092,6 +1092,7 @@ void h323_end_process(void) endPoint->ClearAllCalls(); endPoint->RemoveListener(NULL); delete endPoint; + endPoint = NULL; PTrace::SetLevel(0); delete localProcess; delete logstream; |