Alexey Melnichuk
110086f75a
Update code to iterate over numbers. ( #1727 )
...
* Update code to iterate over numbers.
This code fixes some problems
* range like `009-010` current code produce numbers `009` and `0010`
* range like `200-100` now raise error so it will be easy to debug
* range like `010-20` now generate error.
* `destination` is string so condition `destination == tonumber(sip_from_user)` is always false so change it `destination == sip_from_user`
* Fix. handle ranges like `100-100`
2017-04-18 12:11:39 -06:00
..
2016-02-24 14:44:32 -07:00
2016-06-27 16:47:07 +01:00
2016-12-11 22:56:15 -07:00
2017-03-17 00:09:32 -06:00
2016-03-11 13:29:29 +00:00
2016-05-05 20:10:19 -06:00
2015-01-29 08:36:49 +00:00
2016-04-25 20:30:23 -05:00
2013-09-01 06:05:59 +00:00
2017-04-18 12:11:39 -06:00
2013-06-09 04:54:33 +00:00
2016-03-24 22:25:18 -06:00
2016-03-25 16:52:07 -06:00
2016-03-15 02:58:23 -06:00
2016-03-11 13:57:01 +00:00
2014-09-03 02:41:11 +00:00
2017-04-14 01:55:47 -04:00
2017-04-13 15:47:15 -06:00
2016-03-11 13:57:01 +00:00
2016-03-11 13:57:01 +00:00
2016-03-11 13:57:01 +00:00
2016-12-11 23:37:59 -07:00
2013-07-06 06:03:27 +00:00
2016-04-25 20:30:23 -05:00
2013-07-06 06:03:27 +00:00
2016-03-11 13:57:01 +00:00
2016-12-13 08:47:22 -07:00
2017-01-30 20:40:28 -07:00
2016-03-26 12:22:15 -06:00
2016-03-11 13:57:01 +00:00
2016-12-13 08:56:02 -07:00
2016-03-28 23:02:11 -06:00
2016-03-11 13:57:01 +00:00
2017-01-09 17:55:40 -07:00
2013-07-06 06:20:17 +00:00
2013-07-06 06:23:12 +00:00
2016-12-11 22:59:48 -07:00
2016-03-11 13:57:01 +00:00
2016-05-05 14:18:59 -06:00
2016-04-28 16:56:44 -06:00
2014-12-09 09:45:14 +00:00
2013-07-06 06:03:27 +00:00
2017-04-15 13:47:40 -06:00
2017-01-05 04:15:47 -07:00
2016-03-11 13:57:01 +00:00