[asterisk-bugs] [Asterisk 0017369]: realtime shows 2x fullcontact if delimited by '; '

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 27 19:01:32 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17369 
====================================================================== 
Reported By:                gkservice
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17369
Category:                   Functions/func_realtime
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.31 
JIRA:                       SWP-1520 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-21 02:00 CDT
Last Modified:              2010-05-27 19:01 CDT
====================================================================== 
Summary:                    realtime shows 2x fullcontact if delimited by ';'
Description: 
in mysql we can see:
>>>>>>>>>
mysql> select name, port, fullcontact, ipaddr from sip_buddies where name
= '746';
+------+------+-----------------------------------------+--------------+
| name | port | fullcontact                             | ipaddr       |
+------+------+-----------------------------------------+--------------+
| 746  | 5060 | sip:746 at 192.168.3.24:5060;transport=udp | 192.168.3.24 |
+------+------+-----------------------------------------+--------------+
1 row in set (0.00 sec)
>>>>>>>>>
but " realtime load sippeers name 746" shows
>>>>>>>>>
name  746
fullcontact  sip:746 at 192.168.3.24:5060
fullcontact  transport=udp
ipaddr  192.168.3.24
port  5060
>>>>>>>>>
so with this the dialplan function "REALTIME" shows only the last
fullcontact Entry (transport=udp) and not all fullcontact
====================================================================== 

---------------------------------------------------------------------- 
 (0122590) dimas (reporter) - 2010-05-27 19:01
 https://issues.asterisk.org/view.php?id=17369#c122590 
---------------------------------------------------------------------- 
realtime is just broken because it does that splitting deep inside. I was
writing about exactly this problem to dev- list in 2007 -
http://www.mail-archive.com/asterisk-dev@lists.digium.com/msg29065.html 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-27 19:01 dimas          Note Added: 0122590                          
======================================================================




More information about the asterisk-bugs mailing list