Transferring call to agent who is registered on remote srv

Dear Team,
I am having a requirement to send queue calls to agents who is registered on other servers. I installed asterisk 13.6.0 on both the servers and taken the below approach to achieve it.

Used chan_sip and corosync where on server 1 I am able to get the state of registered users from Server 2. Able to add the and see the state of server 2 users on Server 1 queue, But calls are not transferring to the remote server agent.
Below is the part of dialplan.

;Server 1 extensions
exten => _7XXX,1,Dial(SIP/${EXTEN})
exten => _7XXX,n,Hangup()
;Server 2 extensions
exten => _6XXX,1,Dial(SIP/${EXTEN})
; Also tried the below
; exten => _6XXX,1,Dial(SIP/Server2/${EXTEN})
exten => _6XXX,n,Hangup()
exten => _6XXX,hint,SIP/${EXTEN})

; Both the servers.
publish_event = device_state
subscribe_event = device_state

The queues are realtime and entry is given below.
*************************** 1. row ***************************
name: 314
musiconhold: ARA-MoH
announce: NULL
context: queueinput
timeout: 15
monitor_join: NULL
monitor_format: NULL
queue_youarenext: queue-youarenext
queue_thereare: queue_thereare
queue_callswaiting: queue-callswaiting
queue_holdtime: NULL
queue_minutes: NULL
queue_seconds: NULL
queue_lessthan: NULL
queue_thankyou: queue-thankyou
queue_reporthold: no
announce_frequency: NULL
announce_round_seconds: NULL
announce_holdtime: no
retry: 5
wrapuptime: 0
maxlen: 0
servicelevel: 30
strategy: leastrecent
joinempty: yes
leavewhenempty: no
eventmemberstatus: 0
eventwhencalled: 1
reportholdtime: NULL
memberdelay: NULL
weight: 0
timeoutrestart: NULL
log_membername_as_agent: NULL
shared_lastcall: NULL
updatecdr: NULL
ringinuse: 0
setinterfacevar: 1
periodic_announce: NULL
periodic_announce_frequency: NULL

Using the below command to add into the queue
queue add member local/6000@agents_custom to 314 penalty 0 as User1

Please advise the best method to achieve the same.