<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi Everyone,<BR>
<BR>
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.<BR>
<BR>
I have one entry into sip_buddies table as below.<BR>
<BR>
| 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 |<BR>+----+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+-------------+---------+----------+----------+---------+-----------+-----+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+----------+-------------------------+-------------+------------+--------+----------+----------------+--------+<BR>| 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 | |<BR><BR>
When I try to register the softphone eyebeam on my PC to Asterisk, I get the following Error.<BR>
<BR>
Aug 4 15:02:30 NOTICE[17050]: chan_sip.c:11291 handle_request_register: Registration from '"1504"<sip:1504@10.168.20.13>' failed for '10.168.20.211' - ACL error (permit/deny)<BR><BR>
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.<BR>
<BR>
Please help me. Thanks in Advanced.<BR>
<BR>
Abid Saleem<BR>
Product Engineer VoIP Solutions<BR>
Comcerto Bahrain W.L.L<BR>
<BR><br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>