[asterisk-users] Asterisk Realtime with MySQL Registration Failed

Abid Saleem abid_asterisk at live.com
Mon Aug 4 07:57:46 CDT 2008


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:1504 at 10.168.20.13>' 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080804/40007d33/attachment.htm 


More information about the asterisk-users mailing list