Find Jobs
Hire Freelancers

Send line to queue.log on call transfer

$30-250 AUD

Closed
Posted about 6 years ago

$30-250 AUD

Paid on delivery
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|
Project ID: 16760823

About the project

5 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $122 AUD for this job
User Avatar
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 in 3 days
4.6 (11 reviews)
4.1
4.1
User Avatar
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 in 3 days
5.0 (2 reviews)
3.1
3.1

About the client

Flag of AUSTRALIA
Surry Hills, Australia
5.0
52
Payment method verified
Member since Jul 23, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.