Hello
Thanks your support.
I google this error. I found this url (
http://www.mail-archive.com/[email protected]/msg13901.html)
I change my config in global.inc
from
$CDRTool['normalize']['defaultCountryCode'] = "31";
to
$CDRTool['normalize']['defaultCountryCode'] = "886";
Then change database data.
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 |
+----+-------------+-------------+-------------+-------+------------+-------+------------+-------+------------+-------+
mysql> select * from billing_rates;
+----+-------------+-------------+-------------+-------------+-------------+--------------+---------------+----------------+
| id | reseller_id | name | destination | application | connectCost |
durationRate | connectCostIn | durationRateIn |
+----+-------------+-------------+-------------+-------------+-------------+--------------+---------------+----------------+
| 1 | 0 | grn_premium | 886 | audio | 0 | 998 | | |
+----+-------------+-------------+-------------+-------------+-------------+--------------+---------------+----------------+
1 row in set (0.01 sec)
mysql> select * from destinations;
+----+-------------+---------+--------+------------+---------+--------+-----------+-----------+--------------+--------------+-----------+
| id | reseller_id | gateway | domain | subscriber | dest_id | region |
dest_name | increment | min_duration | max_duration | max_price |
+----+-------------+---------+--------+------------+---------+--------+-----------+-----------+--------------+--------------+-----------+
| 5 | 0 | | | | 886 | | Taiwan | 6 | 6 | 0 | |
+----+-------------+---------+--------+------------+---------+--------+-----------+-----------+--------------+--------------+-----------+
1 row in set (0.00 sec)
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 | [email protected] | grn_premium | |
grn_premium | | Asia/Taipei | 0 | 0 |
| 7 | 0 | | 220.130.6.180 | [email protected] | grn_premium | |
grn_premium | | Asia/Taipei | 0 | 0 |
+----+-------------+---------+---------------+--------------------------+---------------+-------------------+---------------+-------------------+-------------+-----------+--------------+
2 rows in set (0.00 sec)
If I want to call 0939723377 from 0911111111. Do i need add country
code?? or not??
Or I can't add. this call is OK.
Thanks for your help.
Nick
On 2011年11月14日 16:45, Saúl Ibarra Corretgé wrote:
Hi,
On Nov 14, 2011, at 7:24 AM, Nick wrote:
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:[email protected]
/usr/local/sbin/opensips[26297]: Call control: internal server error
The destination could not be found and thus the limit was checked wrongly.
If you want to debug the communication between CallControl and the rating
engine, you can edit callcontrol/rating.py and uncoment line 115.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users