rupa (again)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10470 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d7e9dfb742
commit
ca60095ee2
|
@ -652,7 +652,7 @@ SWITCH_STANDARD_APP(enum_app_function)
|
|||
rbl -= l;
|
||||
}
|
||||
|
||||
switch_snprintf(vbuf, sizeof(vbuf), "%d", cnt);
|
||||
switch_snprintf(vbuf, sizeof(vbuf), "%d", cnt - 1);
|
||||
switch_channel_set_variable(channel, "enum_route_count", vbuf);
|
||||
*(rbuf + strlen(rbuf) - 1) = '\0';
|
||||
switch_channel_set_variable(channel, "enum_auto_route", rbuf);
|
||||
|
|
Loading…
Reference in New Issue