summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-12-02 17:05:59 +0000
committerMatthew Jordan <mjordan@digium.com>2014-12-02 17:05:59 +0000
commit604c9c4990956d051574a1d4762cb133034a2e11 (patch)
treeca11c5ecb95c4273cbccece4f36cd03717bf950c /tests
parenta551851e5b78ae3f424f2493c5a198cd335ed6a9 (diff)
pbx/pbx_loopback: Speed up switches by avoiding unneeded lookups
This patch makes a small rearrangement to only do dialplan lookups during loopback switches if the pattern matches. Prior to this patch, the dialplan lookups were always performed, even when the result would be discarded. Dialplan lookups can be very costly if remote switches - like DUNDi - are present. In those cases extension matching is sped up considerably, making the issue of lost digits more manageable. As collateral damage, 6 trailing spaces were killed. Review: https://reviewboard.asterisk.org/r/4211 ASTERISK-24577 #close Reported by: Birger Harzenetter patches: ast-loopback.patch uploaded by Birger Harzenetter (License 5870) ........ Merged revisions 428787 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 428788 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions