<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><BR>Dear Mr. Tilghman,<BR>
&nbsp;<BR>
Thank you for your attention. Actually it was NULL before when it was not working. I changed it to deny=no and permit=all after that thinking it could be the problem. Now I have changed it back to NULL using "update sip_buddies set deny=NULL, permit=NULL where id=1". You can see the table below now.<BR>
&nbsp;<BR>
+----+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+-------------+---------+----------+----------+---------+-----------+-----+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+----------+-------------------------+-------------+------------+--------+----------+----------------+--------+<BR>| id | name | accountcode | amaflags | callgroup | callerid | canreinvite | context | defaultip | dtmfmode | fromuser | fromdomain | fullcontact | host&nbsp;&nbsp;&nbsp; | insecure | language | mailbox | md5secret | nat | deny | permit | mask | pickupgroup | port | qualify | restrictcid | rtptimeout | rtpholdtimeout | secret | type&nbsp;&nbsp; | username | disallow | allow&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | musiconhold | regseconds | ipaddr | regexten | cancallforward | setvar |<BR>+----+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+-------------+---------+----------+----------+---------+-----------+-----+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+----------+-------------------------+-------------+------------+--------+----------+----------------+--------+<BR>|&nbsp; 1 | Abid | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp; | no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | default | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | rfc2833&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | dynamic | NULL&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | yes | NULL | NULL&nbsp;&nbsp; | NULL | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | yes&nbsp; | NULL&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 1504&nbsp;&nbsp; | friend | 1504&nbsp;&nbsp;&nbsp;&nbsp; | all&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | g729;ilbc;gsm;ulaw;alaw | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>+----+------+-------------+----------+-----------+----------+-------------+---------+-----------+----------+----------+------------+-------------+---------+----------+----------+---------+-----------+-----+------+--------+------+-------------+------+---------+-------------+------------+----------------+--------+--------+----------+----------+-------------------------+-------------+------------+--------+----------+----------------+--------+<BR><BR>But it still has the same problem. Any further suggessions. Thanks.<BR>
&nbsp;<BR>
Abid Saleem<BR><BR><BR>

<HR id=stopSpelling>
<BR>
&gt; From: tilghman@mail.jeffandtilghman.com<BR>&gt; To: asterisk-users@lists.digium.com<BR>&gt; Date: Mon, 4 Aug 2008 10:15:06 -0500<BR>&gt; Subject: Re: [asterisk-users] Asterisk Realtime with MySQL Registration Failed<BR>&gt; <BR>&gt; On Monday 04 August 2008 07:57:46 Abid Saleem wrote:<BR>&gt; &gt; | id | name | accountcode | amaflags | callgroup | callerid | canreinvite |<BR>&gt; &gt; | context | defaultip | dtmfmode | fromuser | fromdomain | fullcontact |<BR>&gt; &gt; | host &nbsp; &nbsp;| insecure | language | mailbox | md5secret | nat | deny | permit<BR>&gt; &gt; | | mask | pickupgroup | port | qualify | restrictcid | rtptimeout |<BR>&gt; &gt; | rtpholdtimeout | secret | type &nbsp; | username | disallow | allow &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; &gt; | &nbsp; &nbsp; &nbsp; &nbsp; | musiconhold | regseconds | ipaddr | regexten | cancallforward |<BR>&gt; &gt; | setvar<BR>&gt; &gt; | |+----+------+-------------+----------+-----------+----------+-----------<BR>&gt; &gt; |--+---------+-----------+----------+----------+------------+-------------+<BR>&gt; &gt; |---------+----------+----------+---------+-----------+-----+------+-------<BR>&gt; &gt; |-+------+-------------+------+---------+-------------+------------+-------<BR>&gt; &gt; |---------+--------+--------+----------+----------+------------------------<BR>&gt; &gt; |-+-------------+------------+--------+----------+----------------+--------<BR>&gt; &gt; |+| &nbsp;1 | Abid | NULL &nbsp; &nbsp; &nbsp; &nbsp;| NULL &nbsp; &nbsp; | NULL &nbsp; &nbsp; &nbsp;| NULL &nbsp; &nbsp; | no &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; &gt; | &nbsp;| default | NULL &nbsp; &nbsp; &nbsp;| rfc2833 &nbsp;| NULL &nbsp; &nbsp; | NULL &nbsp; &nbsp; &nbsp; | NULL &nbsp; &nbsp; &nbsp; &nbsp;|<BR>&gt; &gt; | dynamic | NULL &nbsp; &nbsp; | NULL &nbsp; &nbsp; | NULL &nbsp; &nbsp;| NULL &nbsp; &nbsp; &nbsp;| yes | no &nbsp; | all &nbsp;<BR>&gt; &gt; | &nbsp;| NULL | NULL &nbsp; &nbsp; &nbsp; &nbsp;| yes &nbsp;| NULL &nbsp; &nbsp;| NULL &nbsp; &nbsp; &nbsp; &nbsp;| NULL &nbsp; &nbsp; &nbsp; | NULL<BR>&gt; &gt; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 1504 &nbsp; | friend | 1504 &nbsp; &nbsp; | all &nbsp; &nbsp; &nbsp;|<BR>&gt; &gt; | g729;ilbc;gsm;ulaw;alaw | NULL &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 | &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|<BR>&gt; &gt; | yes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;|<BR>&gt; <BR>&gt; You have deny=no, and permit=all, which are invalid values for permit<BR>&gt; and deny. Please set both of these fields to NULL.<BR>&gt; <BR>&gt; -- <BR>&gt; Tilghman<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<BR>&gt; <BR>&gt; AstriCon 2008 - September 22 - 25 Phoenix, Arizona<BR>&gt; Register Now: http://www.astricon.net<BR>&gt; <BR>&gt; asterisk-users mailing list<BR>&gt; To UNSUBSCRIBE or update options visit:<BR>&gt; http://lists.digium.com/mailman/listinfo/asterisk-users<BR><BR><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>