Public feed #379507

Unnamed

public text v1 · immutable
Raw Edit
·published 2007-03-03 09:25 UTC
rendered paste body
 ERROR[955]: pbx.c:5708 pbx_builtin_serialize_variables: Data Buffer Size Exceeded!

static void set_queue_variables(struct queue_ent *qe)
{

       char interfacevar[256]="";
       float sl = 0;

       if (qe->parent->setqueuevar) {
       sl = 0;
       if (qe->parent->callscompleted > 0)
               sl = 100 * ((float) qe->parent->callscompletedinsl / (float) qe->parent->callscompleted);

       snprintf(interfacevar,sizeof(interfacevar),
               "QUEUEMAX=%d|QUEUESTRATEGY=%s|QUEUECALLS=%d|QUEUEHOLDTIME=%d|QUEUECOMPLETED=%d|QUEUEABANDONED=%d|QUEUESRVLEVEL=%d|QUEUESRVLEVELPERF=%2.1f",
               qe->parent->maxlen, int2strat(qe->parent->strategy), qe->parent->count, qe->parent->holdtime, qe->parent->callscompleted,
               qe->parent->callsabandoned,  qe->parent->servicelevel, sl);

       pbx_builtin_setvar(qe->chan, interfacevar);
       }
}

 

-- Serializing Var [BRIDGEPEER] Val [Local/5711@AgentQ-c958,1] Left [2012]
    -- Serializing Var [MEMBERDYNAMIC] Val [0] Left [1996]
    -- Serializing Var [MEMBERPENALTY] Val [0] Left [1980]
    -- Serializing Var [MEMBERLASTCALL] Val [1172913727] Left [1954]
    -- Serializing Var [MEMBERCALLS] Val [2] Left [1940]
    -- Serializing Var [MEMBERNAME] Val [jmls@tango.tessera.co.uk/DebtNet] Left [1896]
    -- Serializing Var [MEMBERINTERFACE] Val [Local/5711@AgentQ/n] Left [1860]
    -- Serializing Var [STACK-inboundqueue-123456-25] Val [Queue("Zap/1-1", "MYQUEUE|nt|||120") in new stack] Left [1784]
    -- Serializing Var [ODBCROWS] Val [1] Left [1773]
    -- Serializing Var [STACK-inboundqueue-123456-24] Val [Set("Zap/1-1", "ODBC_CREATEACTIVECALL()=1172913764.10,01702444706,MYQUEUE,,Zap/1-1") in new stack] Left [1649]
    -- Serializing Var [QCHANNEL] Val [Zap/1-1] Left [1632]
    -- Serializing Var [STACK-inboundqueue-123456-23] Val [Set("Zap/1-1", "__QCHANNEL=Zap/1-1") in new stack] Left [1553]
    -- Serializing Var [QCALLID] Val [1172913764.10] Left [1531]
    -- Serializing Var [STACK-inboundqueue-123456-22] Val [Set("Zap/1-1", "__QCALLID=1172913764.10") in new stack] Left [1447]
    -- Serializing Var [STACK-inboundqueue-123456-19] Val [GotoIfTime("Zap/1-1", "07:45-20:15|Mon-Sat|*|*?QueueOpen") in new stack] Left [1346]
    -- Serializing Var [STACK-inboundqueue-123456-7] Val [GotoIf("Zap/1-1", "1?JoinQueue") in new stack] Left [1272]
    -- Serializing Var [QUEUEDATA] Val [type=INBOUND:queue=MYQUEUE:debtref=] Left [1229]
    -- Serializing Var [STACK-inboundqueue-123456-6] Val [Set("Zap/1-1", "__QUEUEDATA=type=INBOUND:queue=MYQUEUE:debtref=") in new stack] Left [1125]
    -- Serializing Var [TEAMQUEUE] Val [no] Left [1112]
    -- Serializing Var [STACK-inboundqueue-123456-5] Val [Set("Zap/1-1", "__TEAMQUEUE=no") in new stack] Left [1038]
    -- Serializing Var [DEBTREF] Val [] Left [1029]
    -- Serializing Var [STACK-inboundqueue-123456-4] Val [Set("Zap/1-1", "__DEBTREF=") in new stack] Left [959]
    -- Serializing Var [ENTEREDNUM] Val [] Left [947]
    -- Serializing Var [STACK-inboundqueue-123456-3] Val [Read("Zap/1-1", "ENTEREDNUM|custom/9999") in new stack] Left [864]
    -- Serializing Var [PLAYBACKSTATUS] Val [SUCCESS] Left [841]
    -- Serializing Var [STACK-inboundqueue-123456-2] Val [Playback("Zap/1-1", "custom/107") in new stack] Left [766]
    -- Serializing Var [MONITORED] Val [true] Left [751]
    -- Serializing Var [STACK-inboundqueue-123456-1] Val [Monitor("Zap/1-1", "gsm|1172913764.10") in new stack] Left [670]
    -- Serializing Var [STACK-isdn32-a-123456-9] Val [Goto("Zap/1-1", "inboundqueue|123456|1") in new stack] Left [592]
    -- Serializing Var [LOCATION_MESSAGE] Val [custom/110] Left [564]
    -- Serializing Var [STACK-isdn32-a-123456-8] Val [Set("Zap/1-1", "__LOCATION_MESSAGE=custom/110") in new stack] Left [479]
    -- Serializing Var [INTERNALXFER] Val [] Left [465]
    -- Serializing Var [STACK-isdn32-a-123456-7] Val [Set("Zap/1-1", "__INTERNALXFER=") in new stack] Left [394]
    -- Serializing Var [OPEN_DAYS] Val [Mon-Sat] Left [376]
    -- Serializing Var [STACK-isdn32-a-123456-6] Val [Set("Zap/1-1", "__OPEN_DAYS=Mon-Sat") in new stack] Left [301]
    -- Serializing Var [OPEN_HOURS] Val [07:45-20:15] Left [278]
    -- Serializing Var [STACK-isdn32-a-123456-5] Val [Set("Zap/1-1", "__OPEN_HOURS=07:45-20:15") in new stack] Left [198]
    -- Serializing Var [WELCOME_MESSAGE] Val [custom/107] Left [171]
    -- Serializing Var [STACK-isdn32-a-123456-4] Val [Set("Zap/1-1", "__WELCOME_MESSAGE=custom/107") in new stack] Left [87]
    -- Serializing Var [VOICEMAIL] Val [799] Left [73]
    -- Serializing Var [STACK-isdn32-a-123456-3] Val [Set("Zap/1-1", "__VOICEMAIL=799") in new stack] Left [2]
    -- Serializing Var [QUEUENAME] Val [MYQUEUE] Left [0]
    -- Serializing Var [STACK-isdn32-a-123456-2] Val [Set("Zap/1-1", "__QUEUENAME=MYQUEUE") in new stack] Left [0]