mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 02:22:56 +00:00
MODAPP-454 - mod_lcr: don't count twice
This commit is contained in:
parent
28046a89de
commit
eaeabc7b04
@ -1571,7 +1571,6 @@ SWITCH_STANDARD_APP(lcr_app_function)
|
|||||||
switch_channel_set_variable(channel, vbuf, cur_route->carrier_name);
|
switch_channel_set_variable(channel, vbuf, cur_route->carrier_name);
|
||||||
switch_snprintf(vbuf, sizeof(vbuf), "lcr_codec_%d", cnt);
|
switch_snprintf(vbuf, sizeof(vbuf), "lcr_codec_%d", cnt);
|
||||||
switch_channel_set_variable(channel, vbuf, cur_route->codec);
|
switch_channel_set_variable(channel, vbuf, cur_route->codec);
|
||||||
cnt++;
|
|
||||||
if (cur_route->next) {
|
if (cur_route->next) {
|
||||||
if (routes.profile->enable_sip_redir) {
|
if (routes.profile->enable_sip_redir) {
|
||||||
dig_stream.write_function(&dig_stream, "%s,", cur_route->dialstring);
|
dig_stream.write_function(&dig_stream, "%s,", cur_route->dialstring);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user