[Asterisk-Users] 403 Forbidden when registering sip user database
on backend
Kamran Ahmad
p_kami at yahoo.com
Thu Feb 3 03:40:12 MST 2005
i am getting 403 Forbidden message from asterisk when
it try to register my user agent. i am basically
useing mysql through ODBC. i hvae checked ODBC
connecteion with
'ODBC Show' command.
------------------------------------------------------
*CLI> odbc show
Name: mysql1
DSN: asteriskdsn
Connected: yes
*CLI>
------------------------------------------------------
and user is added to sip_buddies table.
------------------------------------------------------
mysql> update sip_buddies set auth='plaintext';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> select * from sip_buddies;
+----------+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+---------+---------------+---------------+----------+----------+---------+-----------+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+-------+----------+------------+--------+-----------+
| uniqueid | name | accountcode | amaflags | callgroup
| callerid | canreinvite | context | defaultip |
dtmfmode | fromuser | fromdomain | host |
incominglimit | outgoinglimit | insecure | language |
mailbox | md5secret | nat | permit | deny |
pickupgroup | port | qualify | restrictcid |
rtptimeout | rtpholdtimeout | secret | type |
username | allow | disallow | regseconds | ipaddr |
auth |
+----------+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+---------+---------------+---------------+----------+----------+---------+-----------+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+-------+----------+------------+--------+-----------+
| 1 | 3000 | NULL | NULL | NULL
| kamran | n | test | NULL | info | NULL
| NULL | dynamic | NULL | NULL |
y | en | | | no |
NULL | NULL | NULL | 5060 | | NULL
| 60 | NULL | | friend | 3000
| alaw | | 1105743045 | | plaintext |
+----------+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+---------+---------------+---------------+----------+----------+---------+-----------+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+-------+----------+------------+--------+-----------+
1 row in set (0.00 sec)
------------------------------------------------------
i have added values to extconfig.conf
------------------------------------------------------
[settings]
queues.conf =>
odbc,asteriskcdrdb,ast_config
sip.conf => odbc,asteriskcdrdb,sip_buddies
------------------------------------------------------
what is the problem with my asterisk
i think table is not binded with sip.conf. because
when i add user to sip.conf it is registring the user
and when i remove it from sip.conf it is giving 403
frobidden
can any one solve this issue
thanks
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the asterisk-users
mailing list