Find Jobs
Hire Freelancers

Send line to queue.log on call transfer

$30-250 AUD

Stengt
Lagt ut omtrent 6 år siden

$30-250 AUD

Betalt ved levering
I need code to send a line to the [login to view URL] when a call is transferred. The current code I use is below but the UNIQUEID is incorrect and I need the duration and billsec added. exten => s,n,ExecIf($["${BLINDTRANSFER}" != ""]?System(echo "${EPOCH}|${UNIQUEID}|${FROMEXTEN}|Local/${CUT(agent,@,1)}@from-queue|COMPLETECALLER|0|${CDR(billsec)}|${CDR(duration)}" >> /var/log/asterisk/queue_log )) Correct UNIQUEID 1524458999|1524458986.618|56|Local/105@from-queue|COMPLETECALLER|2|11|1 UNIQUEID changes on Transfer 1524458997|1524458986.620|56|Local/105@from-queue|COMPLETECALLER|0|0|
Prosjekt-ID: 16760823

Om prosjektet

5 forslag
Eksternt prosjekt
Aktiv 6 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
5 frilansere byr i gjennomsnitt $122 AUD for denne jobben
Brukeravatar
hi, Can send the trimmed caller ID info to the log on call engange and on call disconnect and calculate the call duration also. So from the log you can know the call cost also WE can add the correct unique id and the call duration to the url and add to the log I have a log that I did and can share to you on chat Best regards, Shakthi
$155 AUD om 3 dager
4,6 (11 omtaler)
4,1
4,1
Brukeravatar
Have you considered putting the queue log into a mysql DB instead of a flat file? You can get more useful information about the status of what's happening in the queue. Your uniqueID changes because the part following the (.) is the number of calls yours system has handled since restart. So you can ignore that part of the number as it's not really associated with the call itself. When a number is transferred the queue log also keeps track of the change in UniqueID Here's how the queue log looks in MySql. For UniqueID 1474121109.1944284 the caller was in the queue for 49 seconds, they entered the queue at position 2 and exited the queue at position 2. It was a test number just in case you're wondering 2 2016-09-17 21:05:16.690900 1474121109.1944284 8006 NONE ENTERQUEUE 012620441 2 9/17/2016 9:05:16 PM 3 2016-09-17 21:06:00.721957 NONE NONE NONE CONFIGRELOAD 9/17/2016 9:06:00 PM 4 2016-09-17 21:06:03.181296 NONE NONE NONE CONFIGRELOAD 9/17/2016 9:06:03 PM 5 2016-09-17 21:06:05.597116 1474121109.1944284 8006 NONE ABANDON 2 2 49 9/17/2016 9:06:05 PM
$155 AUD om 3 dager
5,0 (2 omtaler)
3,1
3,1

Om klienten

AUSTRALIAs flagg
Surry Hills, Australia
5,0
52
Betalingsmetode bekreftet
Medlem siden jul. 23, 2010

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.