[asterisk-bugs] [Asterisk 0016016]: fullcontact not updated in database

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 5 12:10:53 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16016 
====================================================================== 
Reported By:                rossbeer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16016
Category:                   Addons/res_config_mysql
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1.6 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-03 14:27 CDT
Last Modified:              2009-10-05 12:10 CDT
====================================================================== 
Summary:                    fullcontact not updated in database
Description: 
The fullcontact field is not updated in the realtime database. All other
fields are updated correctly.


====================================================================== 

---------------------------------------------------------------------- 
 (0111860) Guggemand (reporter) - 2009-10-05 12:10
 https://issues.asterisk.org/view.php?id=16016#c111860 
---------------------------------------------------------------------- 
I saw the same behavior.

Looking through the source i found that rtcachefriends has to be set to
yes.
Then fullcontact is updated.

in the update_peer function the following is called

realtime_update_peer(p->name, &p->addr, p->username, rtcachefriends ?
p->fullcontact : NULL, p->useragent, expire, p->deprecated_username,
p->lastms);

Setting the fullcontact setting to NULL when rtcachefriends is not set.

and in realtime_update_peer fc is then set to NULL, and the realtime
update is called without fullcontact 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-05 12:10 Guggemand      Note Added: 0111860                          
======================================================================




More information about the asterisk-bugs mailing list