Dear Guys. I have some events about exit call one Queue.
https://wiki.asterisk.org/wiki/display/AST/Queue+Logs
So, when i execute the command Redirect one call into the Queue to another Queue, Asterisk log print ABANDON.
Bellow i use Redirect one call and log print Abandon.
1684179777|1684179715.94459|sac|NONE|ENTERQUEUE||21985395900|12
1684179790|1684179715.94459|sac|NONE|ABANDON|12|12|13
1684179790|1684179715.94459|suporte|NONE|ENTERQUEUE||21985395900|7
So, my client request to change it. In this case, i would like change to print REDIRECT_CHANNEL and not ABANDON because i need distinct ABANDON to REDIRECT_CHANNEL.
Question: Is it possible ? I can to do it in queue.c ? Or another Archive ?
Please, Help-Me !!!
fputs($socket, “Action: Login\r\n”);
fputs($socket, “UserName: $username\r\n”);
fputs($socket, “Secret: $secret\r\n”);
fputs($socket, “Event: Off\r\n\r\n”);
fputs($socket, "Action: Redirect\r\n");
fputs($socket, "Exten: $goto\r\n");
fputs($socket, "Context: ramais-externos\r\n");
fputs($socket, "Priority: 1\r\n");
fputs($socket, "Channel: $channel\r\n\r\n");
fputs($socket, "Action: Logoff\r\n\r\n");
while (!feof($socket)) {
$wrets .= fread($socket,8192 );
}
fclose($socket);