diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-01 20:25:37 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-01 20:25:37 +0000 |
commit | f8ffe3550e8ea1ef8ace24eb161647266ef3c701 (patch) | |
tree | 138371e6ef48d042f1119254a8628301ce549b89 /channels | |
parent | 0ac398d617b84934e59e8d1f7fefbff858021f0b (diff) |
Disable the old, slow search for matching callno in chan_iax2 (but allow it to be reenabled for debugging)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@127133 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 9f30359e2..9234a5d17 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1563,6 +1563,7 @@ static int __find_callno(unsigned short callno, unsigned short dcallno, struct s return res; } +#ifdef IAX_OLD_FIND /* If we get here, we SHOULD NOT find a call structure for this callno; if we do, it means that there is a call structure that has a peer callno but did NOT get entered into the hash table, @@ -1601,6 +1602,7 @@ static int __find_callno(unsigned short callno, unsigned short dcallno, struct s if (res) { ast_log(LOG_WARNING, "Old call search code found call number %d that was not in hash table!\n", res); } +#endif } if (!res && (new >= NEW_ALLOW)) { int start, found = 0; |