DIPAK PAUL
2004-Sep-09 02:30 UTC
[Asterisk-Users] Problems to setup ast_data with asterisk.
Hi Everyone I have done the following steps with asterisk are as follows: 1. I have installed latest version of asterisk from cvs. 2. I have used database as postgresql. 3. I have installed "Asterisk Prepaid 0.3.1" from http://sourceforge.net/projects/asteriskbilling/ 4. Now the asterisk calling card is working fine with the asterisk. All the informations are properly updated and also properly access from the database. I have downloaded "ast_data.tar.gz" from http://svn.asteriskdocs.org/res_data/. I have followed the steps as per the specs. But it is not working. Any one please help me to properly setup the ast_data with asterisk. I want to store all the information of sip.conf,iax.conf and extension.conf and want to execute from the database. Thanks in advanced. Dipak Kumar Paul _________________________________________________________________ 1 Paisa No Reserve Auctions. http://ads2.baazee.com/cgi-bin/banners/redirect.pl?id=2553 T-Shirts, Shirts, Kurtas, Apparels.
Dipak Paul
2004-Sep-13 01:20 UTC
[Asterisk-Users] Problems to setup ast_data with asterisk.
Hi Everyone I have done the following steps with asterisk are as follows: 1. I have installed latest version of asterisk from cvs. 2. I have used database as postgresql. 3. I have downloaded "ast_data.tar.gz" from http://svn.asteriskdocs.org/res_data/. I have followed the steps as per the specs.I have comment all the topics of mysql and intalled with the support of postgresql. I properly configured data.conf file and also properly filled data But it is not working.properly asterisk=# select * from sipacl; name | priority | sense | ipaddr | netmask -------+----------+-------+---------------+--------------- 10002 | 1 | 1 | 192.168.0.211 | 255.255.255.0 90 | 2 | 1 | 192.168.0.222 | 255.255.255.0 10003 | 3 | 1 | 192.168.0.228 | 255.255.255.0 (3 rows) asterisk=# select * from sipfriends; name | ipaddr | port | regseconds | type | mailbox | nat | canreinvite | accountcode | amaflags | dtmfmode | restrictcid | cidname | cidnumber | codecflags | useragent | md5secret | fullcontact -------+---------------+------+------------+------+---------+-----+--------- ----+-------------+----------+----------+-------------+---------+----------- +------------+-----------+-----------+------------- 90 | 192.168.0.222 | 5060 | 0 | 2 | | 0 | 0 | | 0 | 2 |0 | | | 4 | 90 | | 10002 | 192.168.0.211 | 5060 | 0 | 2 | | 0 | 0 | | 0 | 2 |0 | | | 4 | 10002 | | 10003 | 192.168.0.228 | 5060 | 0 | 2 | | 0 | 0 | | 0 | 2 |0 | | | 4 | 10003 | | (3 rows) asterisk=# select * from extensions; context | extension | priority | application | args ---------+-----------+----------+-----------------+---------------- default | 9 | 1 | GoTo | demo,s,1 demo | s | 1 | Wait | 1 demo | s | 2 | Answer | demo | s | 3 | DigitTimeout | 100 demo | s | 4 | ResponseTimeout | 100 demo | s | 5 | BackGround | wellcomeTryarc demo | s | 6 | GoTo | callout,s,1 (7 rows) asterisk=# Any one please help me to properly setup the ast_data with asterisk. I want to store all the information of sip.conf,iax.conf and extension.conf and want to execute from the database. Thanks in advance. Dipak Kumar Paul