We are running into an issue when we do an agentdirect transfer to another agent it all goes well and when the same agent does a second transfer to the same agent vicidial adds the campaign prefix and phone code before the agent id, you can see this is happening in the realtime screen where you can see the call in the agentdirect queue and in the last column the agent that is being dialed (who in this case does not exist, example: 931john01).
After testing a bit more we discovered that this only happens when doing the second transfer you keep the agent name from the previous call in the transfer destination field (instead of selecting the agent again). If you select the agent again through the agents link this problem doesn't occur.
Did we find a bug?