[Asterisk-Users] Problems to setup ast_data with asterisk.
Dipak Paul
dipak_kr_paul at hotmail.com
Mon Sep 13 01:20:48 MST 2004
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
More information about the asterisk-users
mailing list