[Freeswitch-svn] [commit] r7258 - freeswitch/trunk/src/mod/applications/mod_limit

Freeswitch SVN silik0n at freeswitch.org
Wed Jan 16 16:52:08 EST 2008


Author: silik0n
Date: Wed Jan 16 16:52:07 2008
New Revision: 7258

Modified:
   freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c

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

Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c	Wed Jan 16 16:52:07 2008
@@ -622,7 +622,6 @@
     switch_channel_set_variable(channel, "limit_realm", realm);
     switch_channel_set_variable(channel, "limit_id", id);
     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.len = sizeof(buf);



More information about the Freeswitch-svn mailing list