[Home]

Summary:ASTERISK-02582: [patch] app_realtime - add CLI debug abilities
Reporter:drmac (drmac)Labels:
Date Opened:2004-10-11 17:05:29Date Closed:2008-01-15 15:10:20.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app-realtime.patch
Description:Patch adds two CLI abilities with realtime:

 realtime load <family> <colmatch> <valmatch>
 realtime update <family> <col> <newval> <col> <val>

Should be helpful in debugging the new realtime engine stuff.

****** ADDITIONAL INFORMATION ******

*CLI> realtime load sipfriends name 1701

                Column Name  Column Value                  
       --------------------  --------------------          
                       name  1701                          
                   callerid  "Matthew Boehm" <832-200-8630>
                    context  cytel-internal                
                       host  dynamic                      
                    mailbox  3044@cytel                    
                        nat  yes                          
                       port  0                            
                     secret  matthew1701                  
                       type  friend                        
                   username  1701                          
                 regseconds  1097468814                    
                     ipaddr  0.0.0.0

-----------------------------------------

*CLI>realtime update sipfriends port 4343 name bobsphone

will execute SQL as:
UPDATE sipfriends SET port = 4343 WHERE name = bobsphone
Comments:By: drmac (drmac) 2004-10-11 17:05:52

eww..that was badly formatted..it looks alot nicer on CLI..disclaimer on file BTW

By: Olle Johansson (oej) 2004-10-13 13:10:32

Watch your karma :-)

Do you have a disclaimer on file?

By: drmac (drmac) 2004-10-13 13:17:22

Karma's still neutral..

Yea, I got one on file. Got email confirmation from Jermey at Digium.

By: Brian West (bkw918) 2004-10-13 23:10:36

Can we get this in cvs?

By: Mark Spencer (markster) 2004-10-14 00:17:09

Added to CVS, but I swapped the arguments to match the order in the function.

By: Russell Bryant (russell) 2004-10-14 18:51:53

head only

By: Digium Subversion (svnbot) 2008-01-15 15:10:20.000-0600

Repository: asterisk
Revision: 3995

U   trunk/apps/app_realtime.c

------------------------------------------------------------------------
r3995 | markster | 2008-01-15 15:10:19 -0600 (Tue, 15 Jan 2008) | 2 lines

Add CLI for realtime stuff (bug ASTERISK-2582)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3995