[Home]

Summary:ASTERISK-02575: [patch] don't seed p->temponly sipfriends when using realtime
Reporter:Brian West (bkw918)Labels:
Date Opened:2004-10-09 17:02:20Date Closed:2011-06-07 14:10:21
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip.diff.txt
Description:same as with chan_iax2
Comments:By: Mark Spencer (markster) 2004-10-09 17:05:01

Unfortunately this time it doesn't work, becuase we have to save fullcontact and fullcontact contains the ';' character, so the only way to clear this out will be if we add some sort of way to escape the ; character in the database.

By: Brian West (bkw918) 2004-10-09 17:12:05

Their is no reason to seed from the astdb nor store in the astdb when its a temponly peer... It shoudln't ever be there if the peer isn't gonna hang around.  Right?

By: Mark Spencer (markster) 2004-10-09 23:27:08

Have to store fullcontact, and we can't store it in realtime because it will likely have a ";" in it.

By: Brian West (bkw918) 2004-10-10 01:05:54

No this isn't to store it at all.. its to skip all that ast_db_* functions if its a temponly peer we shouldn't be doing anythign with the peer if its a realtime peer for SIP/Registry  in the astdb.   This is the exact same thing that chan_iax2.c was doing till you patched it..

bkw