This is an invalid SIP URI, did you mean:
callid@sip.external.voiceagent.com:5060
I would think that was possible with the custom destinations module, and possibly an AGI script, as well as the custom dialplan. The main difficulty will be extracting the callid (not to be confused with a SIP Call-ID) from the response, in a way that isn’t vulnerable to code injection attacks.