Hi,
I am tring to dial out throw Manual Campaign.
I have created Outbound and Trunk and The registration is OK.
When I am tring to dial via agent pannel this is the asterisk CLI log:
-- Executing [s@sub-oml-rec-check:2] GotoIf("Local/1004@click2call-00000006;2", "0?return") in new stack
-- Executing [s@sub-oml-rec-check:3] Set("Local/1004@click2call-00000006;2", "__OMLRECTHISCALL=1") in new stack
-- Executing [s@sub-oml-rec-check:4] Return("Local/1004@click2call-00000006;2", "") in new stack
-- Executing [1004@click2call:26] GotoIf("Local/1004@click2call-00000006;2", "1?recCall") in new stack
-- Goto (click2call,1004,29)
-- Executing [1004@click2call:29] Gosub("Local/1004@click2call-00000006;2", "sub-oml-rec-filename,s,1(1599026815.13,click2Call)") in new stack
-- Executing [s@sub-oml-rec-filename:1] Verbose("Local/1004@click2call-00000006;2", "2, Welcome to sub-oml-rec-filename - UNIQUEIDREC:1599026815.13") in new stack
== Welcome to sub-oml-rec-filename - UNIQUEIDREC:1599026815.13
-- Executing [s@sub-oml-rec-filename:2] GotoIf("Local/1004@click2call-00000006;2", "1?withUniqueidRec") in new stack
-- Goto (sub-oml-rec-filename,s,4)
-- Executing [s@sub-oml-rec-filename:4] Set("Local/1004@click2call-00000006;2", "UNIQUEIDREC=1599026815.13") in new stack
-- Executing [s@sub-oml-rec-filename:5] Goto("Local/1004@click2call-00000006;2", "click2Call") in new stack
-- Goto (sub-oml-rec-filename,s,22)
-- Executing [s@sub-oml-rec-filename:22] Verbose("Local/1004@click2call-00000006;2", "2, rec the 1 call 809122103250") in new stack
== rec the 1 call 809122103250
-- Executing [s@sub-oml-rec-filename:23] Set("Local/1004@click2call-00000006;2", "__OMLRECFILENAME=click2call-1-20200902-1-809122103250-1599026815.13") in new stack
-- Executing [s@sub-oml-rec-filename:24] Set("Local/1004@click2call-00000006;2", "SHARED(OMLRECFILENAME,Local/1004@click2call-00000006;2)=click2call-1-20200902-1-809122103250-1599026815.13") in new stack
-- Executing [s@sub-oml-rec-filename:25] Return("Local/1004@click2call-00000006;2", "") in new stack
-- Executing [1004@click2call:30] Set("Local/1004@click2call-00000006;2", "__OMLRECDIR=2020-09-02") in new stack
-- Executing [1004@click2call:31] MixMonitor("Local/1004@click2call-00000006;2", "2020-09-02/click2call-1-20200902-1-809122103250-1599026815.13.wav,b") in new stack
-- Executing [1004@click2call:32] Goto("Local/1004@click2call-00000006;2", "dial") in new stack
== Begin MixMonitor Recording Local/1004@click2call-00000006;2
-- Goto (click2call,1004,27)
**-- Executing [1004@click2call:27] Dial("Local/1004@click2call-00000006;2", "PJSIP/1004,15,tTcb(sub-oml-pre-agent-chan,s,1)U(sub-oml-internalcall-connect^click2Call)") in new stack
[Sep 2 10:36:56] ERROR[1507]: res_pjsip.c:3534 ast_sip_create_dialog_uac: Endpoint '1004': Could not create dialog to invalid URI '1004'. Is endpoint registered and reachable?**
[Sep 2 10:36:56] ERROR[1507]: chan_pjsip.c:2667 request: Failed to create outgoing session to endpoint '1004'
[Sep 2 10:36:56] WARNING[3563][C-00000007]: 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-00000006;2", "sub-oml-hangup,s,1(FAIL FAIL FAIL - click2call)") in new stack
-- Executing [s@sub-oml-hangup:1] Verbose("Local/1004@click2call-00000006;2", "2, Hangup call") in new stack
== Hangup call
-- Executing [s@sub-oml-hangup:2] Verbose("Local/1004@click2call-00000006;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-00000006;2", "2, FAIL FAIL FAIL - click2call") in new stack
== FAIL FAIL FAIL - click2call
-- Executing [s@sub-oml-hangup:4] Hangup("Local/1004@click2call-00000006;2", "") in new stack
== Spawn extension (sub-oml-hangup, s, 4) exited non-zero on 'Local/1004@click2call-00000006;2'
It seems it is tring to dial "1004" my agent at first but it is not successful.
as you see image the following image the Agent is connected and ready.
