get rid of the arbitrary channel variable and lets put it in RDNIS in the the transfer function so its consistant on all transfers

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7258 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Ken Rice 2008-01-16 21:52:07 +00:00
parent b68396f433
commit 27053181e9

View File

@ -622,7 +622,6 @@ SWITCH_STANDARD_APP(limit_function)
switch_channel_set_variable(channel, "limit_realm", realm); switch_channel_set_variable(channel, "limit_realm", realm);
switch_channel_set_variable(channel, "limit_id", id); switch_channel_set_variable(channel, "limit_id", id);
switch_channel_set_variable(channel, "limit_max", argv[2]); switch_channel_set_variable(channel, "limit_max", argv[2]);
switch_channel_set_variable(channel, "limit_orignal_destination", switch_channel_get_variable(channel, "destination_number"));
cbt.buf = buf; cbt.buf = buf;
cbt.len = sizeof(buf); cbt.len = sizeof(buf);