Hi Everyone,
I have configured Asterisk with MySQL with realtime using sip_buddies and
extensions tables. Everything is ok and connection to mySql DB is fine when I
type the command "realtime mysql status" on Ast CLI.
I have one entry into sip_buddies table as below.
| id | name | accountcode | amaflags | callgroup | callerid | canreinvite |
context | defaultip | dtmfmode | fromuser | fromdomain | fullcontact | host
| insecure | language | mailbox | md5secret | nat | deny | permit | mask |
pickupgroup | port | qualify | restrictcid | rtptimeout | rtpholdtimeout |
secret | type | username | disallow | allow | musiconhold |
regseconds | ipaddr | regexten | cancallforward | setvar
|+----+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+-------------+---------+----------+----------+---------+-----------+-----+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+----------+-------------------------+-------------+------------+--------+----------+----------------+--------+|
1 | Abid | NULL | NULL | NULL | NULL | no |
default | NULL | rfc2833 | NULL | NULL | NULL | dynamic
| NULL | NULL | NULL | NULL | yes | no | all | NULL | NULL
| yes | NULL | NULL | NULL | NULL | 1504 |
friend | 1504 | all | g729;ilbc;gsm;ulaw;alaw | NULL |
0 | | | yes | |
When I try to register the softphone eyebeam on my PC to Asterisk, I get the
following Error.
Aug 4 15:02:30 NOTICE[17050]: chan_sip.c:11291 handle_request_register:
Registration from '"1504"<sip:[EMAIL PROTECTED]>' failed for '10.168.20.211' -
ACL error (permit/deny)
I have tried a lot of things but no luck. Another thing is that I have tried
using the same fields in sip.conf file and it works fine. So it seems something
wrong with account stored in MySql only.
Please help me. Thanks in Advanced.
Abid Saleem
Product Engineer VoIP Solutions
Comcerto Bahrain W.L.L
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users