[asterisk-dev] [svn-commits] tilghman: branch 1.6.1 r176461 - in /branches/1.6.1: ./ channels/chan_sip.c
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Tue Feb 17 08:24:51 CST 2009
On Tuesday 17 February 2009 02:00:18 Johansson Olle E wrote:
> 17 feb 2009 kl. 03.07 skrev SVN commits to the Digium repositories:
> > + /* We cannot do this in the same statement as above, because the
> > lack of
> > + * this field could cause the whole statement to fail. */
> > + ast_update_realtime("sippeers", "name", peername, "lastms",
> > str_lastms, NULL);
> > }
>
> You should really use "tablename" instead of sippeers here to enable
> the sipregs functionality where we only write in one configuration and
> read from sippeers.
It's simply updating exactly the same table as a few lines before, only not
encoding it into the same query, because in the version this change originated
from, adding a non-existent column to the API call might cause the whole thing
to fail.
--
Tilghman
More information about the asterisk-dev
mailing list