[OpenSIPS-Users] error: limit must be a non-negative number, None or Locked: Error: cannot figure out the destination id for sip

Nick nick_chang at ezmobo.com
Mon Nov 14 07:24:40 CET 2011


Hello

I get this error
call-control[25266]: error: limit must be a non-negative number, None or 
Locked: Error: cannot figure out the destination id for 
sip:0939723377 at 220.130.6.180
/usr/local/sbin/opensips[26297]: Call control: internal server error

It's my database.

mysql> select * from billing_customers;
+----+-------------+---------+---------------+--------------------------+---------------+-------------------+---------------+-------------------+-------------+-----------+--------------+
| id | reseller_id | gateway | domain        | subscriber               
| profile_name1 | profile_name1_alt | profile_name2 | profile_name2_alt 
| timezone    | increment | min_duration |
+----+-------------+---------+---------------+--------------------------+---------------+-------------------+---------------+-------------------+-------------+-----------+--------------+
|  8 |           0 |         | 220.130.6.180 | 0911111111 at 220.130.6.180 
| grn_premium   |                   | grn_premium   |                   
| Asia/Taipei |         0 |            0 |
|  7 |           0 |         | 220.130.6.180 | 0939723377 at 220.130.6.180 
| grn_premium   |                   | grn_premium   |                   
| Asia/Taipei |         0 |            0 |
+----+-------------+---------+---------------+--------------------------+---------------+-------------------+---------------+-------------------+-------------+-----------+--------------+
2 rows in set (0.00 sec)


mysql> select * from billing_rates;
+----+-------------+-------------+-------------+-------------+-------------+--------------+---------------+----------------+
| id | reseller_id | name        | destination | application | 
connectCost | durationRate | connectCostIn | durationRateIn |
+----+-------------+-------------+-------------+-------------+-------------+--------------+---------------+----------------+
|  1 |           0 | grn_premium | 0939723377  | audio       | 
0           | 100          |               |                |
|  2 |           0 | grn_premium | 0911111111  | audio       | 
0           | 100          |               |                |
+----+-------------+-------------+-------------+-------------+-------------+--------------+---------------+----------------+
2 rows in set (0.00 sec)


mysql> select * from destinations;
Empty set (0.00 sec)

mysql> select * from billing_profiles;
+----+-------------+-------------+-------------+-------+------------+-------+------------+-------+------------+-------+
| id | reseller_id | name        | rate_name1  | hour1 | rate_name2 | 
hour2 | rate_name3 | hour3 | rate_name4 | hour4 |
+----+-------------+-------------+-------------+-------+------------+-------+------------+-------+------------+-------+
|  1 |           0 | grn_premium | grn_premium |    24 |            
|     0 |            |     0 |            |     0 |
+----+-------------+-------------+-------------+-------+------------+-------+------------+-------+------------+-------+
1 row in set (0.00 sec)

Can everyone tell me how to solve this problem???
I don't use PSTN, Only used video phone.

Thanks for you suggest.
Nick



More information about the Users mailing list