Add queue members and show name rather than SIP/ext

Reposted from Tips and tricks forum!

Hi,

We are currently running version 5.6 distro with a custom function for joining queues:

exten => 7000,1,AddQueueMember(700,SIP/${CALLERID(num)})
exten => 7000,2,Playback(agent-loginok)
exten => 7000,3,Hangup
exten => 7001,1,RemoveQueueMember(700,SIP/${CALLERID(num)})
exten => 7001,2,Playback(agent-loggedoff)
exten => 7001,3,Hangup

Currently when a member joins the queue they are listed as SIP/extnum, however I would like to see the agent name instead (or as well as)

What would I need to add to the queue line to get this info working?

Drac