From 3754d8f73ff7cb55e204f7ede6569028407a00e5 Mon Sep 17 00:00:00 2001 From: Super User Date: Sat, 7 Jul 2007 17:13:20 +0200 Subject: backup compiles, runs, but not enough debugged --- route.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'route.c') diff --git a/route.c b/route.c index c992686..97c61a6 100644 --- a/route.c +++ b/route.c @@ -2047,7 +2047,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset) goto match_string; case MATCH_DIALING: - string = e_dialinginfo.number; + string = e_dialinginfo.id; goto match_string_prefix; case MATCH_ENBLOCK: @@ -2387,7 +2387,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset) /* set timeout in the furture */ e_match_timeout = timeout; e_match_to_action = rule->action_first; - e_match_to_extdialing = e_dialinginfo.number + dialing_required; + e_match_to_extdialing = e_dialinginfo.id + dialing_required; match = 0; /* matches in the future */ } if (match == 1) @@ -2396,7 +2396,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset) action = rule->action_first; e_match_timeout = 0; /* no timeout */ e_match_to_action = NULL; - e_extdialing = e_dialinginfo.number + dialing_required; + e_extdialing = e_dialinginfo.id + dialing_required; break; } if (match == 2) -- cgit v1.2.3-55-g7522