MODAPP-454 - mod_lcr: don't count twice

This commit is contained in:
Rupa Schomaker 2010-09-09 11:07:11 -05:00
parent 28046a89de
commit eaeabc7b04
1 changed files with 0 additions and 1 deletions

View File

@ -1571,7 +1571,6 @@ SWITCH_STANDARD_APP(lcr_app_function)
switch_channel_set_variable(channel, vbuf, cur_route->carrier_name);
switch_snprintf(vbuf, sizeof(vbuf), "lcr_codec_%d", cnt);
switch_channel_set_variable(channel, vbuf, cur_route->codec);
cnt++;
if (cur_route->next) {
if (routes.profile->enable_sip_redir) {
dig_stream.write_function(&dig_stream, "%s,", cur_route->dialstring);