Hi,
I have fresh OML 1.9,
I have created agents and do PBX trunk with Issabel.
The trunk between PBX and OMl is Ok and the status of "pjsip show endpoints" is Avail.
also I have made Outbound Routes:

It seems every things is Ok.
On Agent Panel I do try to call "Call out Of Campaign" and dial 2030 witch is on my PBX.
But have no Success,
this is asterisk console log:
-- Executing [1004@click2call:1] Verbose("Local/1004@click2call-00000000;2", "2, Click2Call PJSIP/1XXX Agent side") in new stack
== Click2Call PJSIP/1XXX Agent side
-- Executing [1004@click2call:2] Gosub("Local/1004@click2call-00000000;2", "sub-oml-set-lang,s,1") in new stack
-- Executing [s@sub-oml-set-lang:1] Verbose("Local/1004@click2call-00000000;2", "2, "set system language"") in new stack
== "set system language"
-- Executing [s@sub-oml-set-lang:2] Set("Local/1004@click2call-00000000;2", "__OMLLANG=es") in new stack
-- Executing [s@sub-oml-set-lang:3] Return("Local/1004@click2call-00000000;2", "") in new stack
-- Executing [1004@click2call:3] GotoIf("Local/1004@click2call-00000000;2", "1?withoutCamp") in new stack
-- Goto (click2call,1004,9)
-- Executing [1004@click2call:9] ExecIf("Local/1004@click2call-00000000;2", "1?Set(__OMLC2CHEADER=withoutCamp)") in new stack
-- Executing [1004@click2call:10] ExecIf("Local/1004@click2call-00000000;2", "1?Set(CHANNEL(hangup_handler_push)=rip-withoutcamp-originate-agent-chan,s,1)") in new stack
-- Executing [1004@click2call:11] ExecIf("Local/1004@click2call-00000000;2", "1?Set(__OMLC2CCONNECT=withoutCamp)") in new stack
-- Executing [1004@click2call:12] ExecIf("Local/1004@click2call-00000000;2", "1?Set(__OMLCALLTYPEID=7)") in new stack
-- Executing [1004@click2call:13] ExecIf("Local/1004@click2call-00000000;2", "1?Set(__OMLCALLTYPE=withoutCamp)") in new stack
-- Executing [1004@click2call:14] Set("Local/1004@click2call-00000000;2", "__OMLOUTNUM=2030") in new stack
-- Executing [1004@click2call:15] Set("Local/1004@click2call-00000000;2", "__OMLAGENTID=1") in new stack
-- Executing [1004@click2call:16] Set("Local/1004@click2call-00000000;2", "__OMLCAMPID=") in new stack
-- Executing [1004@click2call:17] Set("Local/1004@click2call-00000000;2", "__OMLCODCLI=") in new stack
-- Executing [1004@click2call:18] Gosub("Local/1004@click2call-00000000;2", "sub-oml-set-chanvars,s,1(1,agent)") in new stack
-- Executing [s@sub-oml-set-chanvars:1] Verbose("Local/1004@click2call-00000000;2", "2, Set OML Channel Vars") in new stack
== Set OML Channel Vars
-- Executing [s@sub-oml-set-chanvars:2] Goto("Local/1004@click2call-00000000;2", "agent") in new stack
-- Goto (sub-oml-set-chanvars,s,16)
-- Executing [s@sub-oml-set-chanvars:16] AGI("Local/1004@click2call-00000000;2", "omni-agent-status.py,GET,1") in new stack
-- Launched AGI Script /opt/omnileads/asterisk/var/lib/asterisk/agi-bin/omni-agent-status.py
-- <Local/1004@click2call-00000000;2>AGI Script omni-agent-status.py completed, returning 0
-- Executing [s@sub-oml-set-chanvars:17] Return("Local/1004@click2call-00000000;2", "") in new stack
-- Executing [1004@click2call:19] Gosub("Local/1004@click2call-00000000;2", "sub-oml-set-chanvars,s,1(,camp)") in new stack
-- Executing [s@sub-oml-set-chanvars:1] Verbose("Local/1004@click2call-00000000;2", "2, Set OML Channel Vars") in new stack
== Set OML Channel Vars
-- Executing [s@sub-oml-set-chanvars:2] Goto("Local/1004@click2call-00000000;2", "camp") in new stack
-- Goto (sub-oml-set-chanvars,s,3)
-- Executing [s@sub-oml-set-chanvars:3] Set("Local/1004@click2call-00000000;2", "OMLCAMPQNAME=") in new stack
-- Executing [s@sub-oml-set-chanvars:4] Set("Local/1004@click2call-00000000;2", "__OMLCAMPCALLAGENTACTION=") in new stack
-- Executing [s@sub-oml-set-chanvars:5] Set("Local/1004@click2call-00000000;2", "__OMLCAMPFAILOVER=") in new stack
-- Executing [s@sub-oml-set-chanvars:6] Set("Local/1004@click2call-00000000;2", "__OMLCAMPMAXCALLS=") in new stack
-- Executing [s@sub-oml-set-chanvars:7] Set("Local/1004@click2call-00000000;2", "__OMLCAMPMAXQCALLS=") in new stack
-- Executing [s@sub-oml-set-chanvars:8] Set("Local/1004@click2call-00000000;2", "__OMLCAMPQUEUETIME=") in new stack
-- Executing [s@sub-oml-set-chanvars:9] Set("Local/1004@click2call-00000000;2", "__OMLCAMPREC=") in new stack
-- Executing [s@sub-oml-set-chanvars:10] Set("Local/1004@click2call-00000000;2", "__OMLCAMPRINGTIME=") in new stack
-- Executing [s@sub-oml-set-chanvars:11] Set("Local/1004@click2call-00000000;2", "__OMLCAMPSL=") in new stack
-- Executing [s@sub-oml-set-chanvars:12] Set("Local/1004@click2call-00000000;2", "__OMLCAMPTYPE=") in new stack
-- Executing [s@sub-oml-set-chanvars:13] Set("Local/1004@click2call-00000000;2", "__OMLCAMPOUTR=") in new stack
-- Executing [s@sub-oml-set-chanvars:14] Set("Local/1004@click2call-00000000;2", "__OMLCAMPOUTCID=") in new stack
-- Executing [s@sub-oml-set-chanvars:15] Return("Local/1004@click2call-00000000;2", "") in new stack
-- Executing [1004@click2call:20] Gosub("Local/1004@click2call-00000000;2", "sub-oml-set-chanvars,s,1(,client)") in new stack
-- Executing [s@sub-oml-set-chanvars:1] Verbose("Local/1004@click2call-00000000;2", "2, Set OML Channel Vars") in new stack
== Set OML Channel Vars
-- Executing [s@sub-oml-set-chanvars:2] Goto("Local/1004@click2call-00000000;2", "client") in new stack
-- Goto (sub-oml-set-chanvars,s,18)
-- Executing [s@sub-oml-set-chanvars:18] Verbose("Local/1004@click2call-00000000;2", "2, el futuro es ilusorio") in new stack
== el futuro es ilusorio
-- Executing [s@sub-oml-set-chanvars:19] Return("Local/1004@click2call-00000000;2", "") in new stack
-- Executing [1004@click2call:21] Set("Local/1004@click2call-00000000;2", "__OMLUNIQUEID=1598423836.1") in new stack
-- Executing [1004@click2call:22] Set("Local/1004@click2call-00000000;2", "__OMLYEARZERO=1598423838") in new stack
-- Executing [1004@click2call:23] Set("Local/1004@click2call-00000000;2", "__OMLCALLSTATUS=DIAL-AGENT") in new stack
-- Executing [1004@click2call:24] Set("Local/1004@click2call-00000000;2", "__OMLMOTHERCHAN=Local/1004@click2call-00000000;2") in new stack
-- Executing [1004@click2call:25] Gosub("Local/1004@click2call-00000000;2", "sub-oml-rec-check,s,1()") in new stack
-- Executing [s@sub-oml-rec-check:1] Verbose("Local/1004@click2call-00000000;2", "2, Welcome to sub-oml-rec-check - OMLCAMPID: - UNIQUEIDREC:") in new stack
== Welcome to sub-oml-rec-check - OMLCAMPID: - UNIQUEIDREC:
-- Executing [s@sub-oml-rec-check:2] GotoIf("Local/1004@click2call-00000000;2", "1?return") in new stack
-- Goto (sub-oml-rec-check,s,4)
-- Executing [s@sub-oml-rec-check:4] Return("Local/1004@click2call-00000000;2", "") in new stack
-- Executing [1004@click2call:26] GotoIf("Local/1004@click2call-00000000;2", "0?recCall") in new stack
-- Executing [1004@click2call:27] Dial("Local/1004@click2call-00000000;2", "PJSIP/1004,15,tTcb(sub-oml-pre-agent-chan,s,1)U(sub-oml-internalcall-connect^withoutCamp)") in new stack
[Aug 26 11:07:18] ERROR[1598]: res_pjsip.c:3534 ast_sip_create_dialog_uac: Endpoint '1004': Could not create dialog to invalid URI '1004'. Is endpoint registered and reachable?
[Aug 26 11:07:18] ERROR[1598]: chan_pjsip.c:2667 request: Failed to create outgoing session to endpoint '1004'
[Aug 26 11:07:18] WARNING[3778][C-00000001]: app_dial.c:2576 dial_exec_full: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination)
-- No devices or endpoints to dial (technology/resource)
-- Executing [1004@click2call:28] Gosub("Local/1004@click2call-00000000;2", "sub-oml-hangup,s,1(FAIL FAIL FAIL - click2call)") in new stack
-- Executing [s@sub-oml-hangup:1] Verbose("Local/1004@click2call-00000000;2", "2, Hangup call") in new stack
== Hangup call
-- Executing [s@sub-oml-hangup:2] Verbose("Local/1004@click2call-00000000;2", "2, Todo fue un fugaz pensamiento en la mente del TODO") in new stack
== Todo fue un fugaz pensamiento en la mente del TODO
-- Executing [s@sub-oml-hangup:3] Verbose("Local/1004@click2call-00000000;2", "2, FAIL FAIL FAIL - click2call") in new stack
== FAIL FAIL FAIL - click2call
-- Executing [s@sub-oml-hangup:4] Hangup("Local/1004@click2call-00000000;2", "") in new stack
== Spawn extension (sub-oml-hangup, s, 4) exited non-zero on 'Local/1004@click2call-00000000;2'
-- Local/1004@click2call-00000000;2 Internal Gosub(rip-withoutcamp-originate-agent-chan,s,1) start
-- Executing [s@rip-withoutcamp-originate-agent-chan:1] Verbose("Local/1004@click2call-00000000;2", "2, As above, So Below - CHANNEL8") in new stack
== As above, So Below - CHANNEL8
-- Executing [s@rip-withoutcamp-originate-agent-chan:2] Verbose("Local/1004@click2call-00000000;2", "2, AGENT <---click2call---- OML | ") in new stack
== AGENT <---click2call---- OML |
-- Executing [s@rip-withoutcamp-originate-agent-chan:3] GotoIf("Local/1004@click2call-00000000;2", "1?checkResult") in new stack
-- Goto (rip-withoutcamp-originate-agent-chan,s,5)
-- Executing [s@rip-withoutcamp-originate-agent-chan:5] Verbose("Local/1004@click2call-00000000;2", "2, check resultado de llamada DIALSTATUS: - DIAL-AGENT") in new stack
== check resultado de llamada DIALSTATUS: - DIAL-AGENT
-- Executing [s@rip-withoutcamp-originate-agent-chan:6] GotoIf("Local/1004@click2call-00000000;2", "0?answer") in new stack
-- Executing [s@rip-withoutcamp-originate-agent-chan:7] Set("Local/1004@click2call-00000000;2", "OMLCALLWAITDURATION=0") in new stack
-- Executing [s@rip-withoutcamp-originate-agent-chan:8] Gosub("Local/1004@click2call-00000000;2", "sub-oml-hangup,s,1") in new stack
-- Executing [s@sub-oml-hangup:1] Verbose("Local/1004@click2call-00000000;2", "2, Hangup call") in new stack
== Hangup call
-- Executing [s@sub-oml-hangup:2] Verbose("Local/1004@click2call-00000000;2", "2, Todo fue un fugaz pensamiento en la mente del TODO") in new stack
== Todo fue un fugaz pensamiento en la mente del TODO
-- Executing [s@sub-oml-hangup:3] Verbose("Local/1004@click2call-00000000;2", "2, ") in new stack
==
-- Executing [s@sub-oml-hangup:4] Hangup("Local/1004@click2call-00000000;2", "") in new stack
== Spawn extension (sub-oml-hangup, s, 4) exited non-zero on 'Local/1004@click2call-00000000;2'
-- Local/1004@click2call-00000000;2 Internal Gosub(rip-withoutcamp-originate-agent-chan,s,1) complete GOSUB_RETVAL=
This is the Dial Output line, I dont know what is missed to simple call out?
I am trying to Dial 2030 but It shows it is going to Dial 1004 !
-- Executing [1004@click2call:27] Dial("Local/1004@click2call-00000000;2", "PJSIP/1004,15,tTcb(sub-oml-pre-agent-chan,s,1)U(sub-oml-internalcall-connect^withoutCamp)") in new stack
[Aug 26 11:07:18] ERROR[1598]: res_pjsip.c:3534 ast_sip_create_dialog_uac: Endpoint '1004': Could not create dialog to invalid URI '1004'. Is endpoint registered and reachable?