Ir al contenido principal

Query consultores

En sesión con carrier y cliente solicitaron ver en que campañas estaban ciertos prefijos también tenían conocimiento de prefijos que ya no se usaban o estaban mal

para no estar revisando cada campaña se realizo esto:

mysql -h 10.50.1.1 -u cron -p Enter password:

SELECT 
    campaign_id,
    campaign_name,
    dial_prefix,
    active
FROM vicidial_campaigns
ORDER BY campaign_id; 

+-------------+--------------------------------+-------------+--------+
| campaign_id | campaign_name                  | dial_prefix | active |
+-------------+--------------------------------+-------------+--------+
| cobra2      | Campana TTS Cobranza Femenina  | 198         | Y      |
| cobrar1     | Campana TTS Cobranza Masculina | 104         | Y      |
| encagent    | Encuesta Agentes               | 9           | Y      |
| encu02      | Campaña Encuesta 2             | 200         | Y      |
| encu03      | Campaña Encuesta 3             | 200         | N      |
| encuesta    | Campaña Encuesta               | 104         | Y      |
| GRAL        | Cobranza General               | 104         | Y      |
| GRAL_MAN    | Cobranza general manual        | 198         | Y      |
| GRAL2       | Cobranza Especial              | 201         | Y      |
| GRAL3       | Cobranza Especial              | 104         | Y      |
| MANUAL_2    | MANUAL 2                       | 104         | Y      |
| MANUAL_3    | MANUAL 3                       | 104         | Y      |
| Prueba      | PRUEBA                         |             | Y      |
| RECEP       | Recepcion                      | 11          | Y      |
| rem19oct    | reminder19oct                  | 104         | Y      |
| rem302      | reminder 30-2                  | 201         | Y      |
| rem6500     | Reminder Clave30               | 104         | Y      |
| rem65002    | Reminder Clave30 2             | 104         | Y      |
| rem6501     | Reminder Clave60               | 104         | Y      |
| rem65012    | Reminder Clave60 2             | 198         | Y      |
| rem6502     | Reminder Clave90               | 104         | Y      |
| rem6503     | Reminder promesas              | 200         | Y      |
| rem6504     | Reminder Promesas 1            | 104         | Y      |
| rem6505     | Remainder Yeastar1             | 100         | Y      |
| rem6506     | Remainder Yeastar2             | 15          | N      |
| rem6507     | Reminder Jafra                 | 13          | Y      |
| rem6508     | Reminder Clave90-2             | 104         | Y      |
| rem6509     | Reminder Clave90-3             | 104         | Y      |
| Robot01     | Robot 01                       | 198         | Y      |
| test        | Campaña de prueba              | 200         | Y      |
| testMAN2    | testMAN2                       | 13          | Y      |
+-------------+--------------------------------+-------------+--------+