X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=route.c;h=97c61a6555fa3b8bfc56b6fb48f8cfa13aa2d29b;hp=c99268698d6f65427a5d9f11f45bc5d719cba1d3;hb=3754d8f73ff7cb55e204f7ede6569028407a00e5;hpb=e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e 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)