summaryrefslogtreecommitdiffstats
path: root/route.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-03-24 23:05:01 +0100
committerAndreas Eversberg2010-03-24 23:05:01 +0100
commit491b3c968a3a3a40eb988b6429ddb9b476db8299 (patch)
treeb60c72189f6777c0f5eaa209527e7807a6af82f5 /route.c
parentBugreport by Christian: (diff)
downloadlcr-491b3c968a3a3a40eb988b6429ddb9b476db8299.tar.gz
lcr-491b3c968a3a3a40eb988b6429ddb9b476db8299.tar.xz
lcr-491b3c968a3a3a40eb988b6429ddb9b476db8299.zip
Just a small bug fix: Extension matching will be performed by extension's number, not by their name.
I really don't know why there is suddenly this bug. Earlier versions did this correctly.
Diffstat (limited to 'route.c')
-rw-r--r--route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/route.c b/route.c
index aaa5606..ca8ded8 100644
--- a/route.c
+++ b/route.c
@@ -1953,7 +1953,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset)
goto match_string_prefix;
case MATCH_EXTENSION:
- string = e_ext.name;
+ string = e_ext.number;
goto match_string;
case MATCH_DIALING: