description | globs | alwaysApply |
---|---|---|
true |
You have two modes of operation:
- Plan mode - You will work with the user to define a plan, you will gather all the information you need to make the changes but will not make any changes
I need you to thoroughly analyze my codebase and create a comprehensive Memory Bank following Cline's structure. This Memory Bank is CRITICAL - it's the ONLY way Cline can understand the project after memory resets.
Before writing any documentation, spend time understanding:
You are a ProductOwner with extensive experience in building robust, maintainable, and scalable systems along with managing another developers. Approach this implementation with the following mindset:
With knowledge about how Cline memory bank works help me write corresponding files using my PRD-improved.md and RULES.md |
Asterisk 15.5.0~dfsg-1.1ubuntu4.8, Copyright (C) 1999 - 2016, Digium, Inc. and others. | |
Created by Mark Spencer <[email protected]> | |
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. | |
This is free software, with components licensed under the GNU General Public | |
License version 2 and other licenses; you are welcome to redistribute it under | |
certain conditions. Type 'core show license' for details. | |
========================================================================= | |
Connected to Asterisk 15.5.0~dfsg-1.1ubuntu4.8 currently running on callcenter (pid = 15771) | |
[Sep 11 11:36:53] DEBUG[16588]: chan_sip.c:3754 __sip_xmit: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.56.50:5080 | |
[Sep 11 11:36:54] DEBUG[6490]: res_http_websocket.c:358 __ast_websocket_write: Writing websocket pong frame, length 0 |
int result = 0; | |
void loop() { | |
char key = kpd.getKey(); | |
if(key) // Check for a valid key. | |
{ | |
switch (key) | |
{ | |
case '*': | |
result = 0; |
#!/usr/bin/python | |
import websocket | |
import time | |
import pika | |
import sys | |
import json | |
import requests | |
import os | |
import argparse |
# Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208 | |
# Configuration name server-50 generated for [email protected] at 2015-12-24 13:31:29 | |
[mysql] | |
# CLIENT # | |
port = 3306 | |
socket = /var/lib/mysql/mysql.sock | |
[mysqld] |
#!/bin/bash | |
real_lag=`mysql --defaults-file=/etc/mysql/debian.cnf -B -N -e "SELECT now()-timestamp AS replication_lag from tel_p.heartbeat;"` | |
seconds=`mysql --defaults-file=/etc/mysql/debian.cnf -e "SHOW SLAVE STATUS\G" | grep "Seconds_Behind_Master" | awk -F ": " {'print $2'}` | |
if [ "$real_lag" -gt "100" ] | |
then | |
logger "lag more than 100" | |
if [ "$seconds" -eq "0" ] | |
then |
exten => _XXXXXX.,n,Set(SessionId=${UNIQUEID}) | |
exten => _XXXXXX.,n,Set(CDR(my_uuid)=${SessionId}) | |
exten => _XXXXXX.,n,SIPaddheader(X-CallId: ${SessionId}) |