Hi I have custom extension on Issabel like this dial string:
SIP/omnileads/123456
``
and on OML I have inbound route like this:
[upl-image-preview url=https://forum.omnileads.net/assets/files/2020-09-21/1600678354-934293-image.png]
as I call OML from Issabel The call dropped immediately and this is asterisk LOG:
-- Executing [123456@from-pbx:1] Verbose("PJSIP/toISSABEL-00000019", "2, call to agent 56") in new stack
== call to agent 56
-- Executing [123456@from-pbx:2] Set("PJSIP/toISSABEL-00000019", "OMLFROMPBXCID=Hamed") in new stack
-- Executing [123456@from-pbx:3] Gosub("PJSIP/toISSABEL-00000019", "sub-oml-dial-without-campaign,s,1(56,pbx2AgCall,Hamed)") in new stack
-- Executing [s@sub-oml-dial-without-campaign:1] Verbose("PJSIP/toISSABEL-00000019", "2, Internal calls") in new stack
== Internal calls
-- Executing [s@sub-oml-dial-without-campaign:2] Goto("PJSIP/toISSABEL-00000019", "pbx2AgCall") in new stack
-- Goto (sub-oml-dial-without-campaign,s,17)
-- Executing [s@sub-oml-dial-without-campaign:17] AGI("PJSIP/toISSABEL-00000019", "omni-agent-status.py,GET,56") in new stack
-- Launched AGI Script /opt/omnileads/asterisk/var/lib/asterisk/agi-bin/omni-agent-status.py
-- <PJSIP/toISSABEL-00000019>AGI Script omni-agent-status.py completed, returning 0
-- Executing [s@sub-oml-dial-without-campaign:18] Set("PJSIP/toISSABEL-00000019", "OMLAGENT2CALLID=56") in new stack
-- Executing [s@sub-oml-dial-without-campaign:19] Set("PJSIP/toISSABEL-00000019", "OMLAGENTSIPCALLER=omnileads") in new stack
-- Executing [s@sub-oml-dial-without-campaign:20] Set("PJSIP/toISSABEL-00000019", "OMLMANUALCALLTYPEID=agent2agent") in new stack
-- Executing [s@sub-oml-dial-without-campaign:21] GotoIf("PJSIP/toISSABEL-00000019", "1?nonReady") in new stack
-- Goto (sub-oml-dial-without-campaign,s,14)
-- Executing [s@sub-oml-dial-without-campaign:14] Set("PJSIP/toISSABEL-00000019", "DIALSTATUS=BUSY") in new stack
-- Executing [s@sub-oml-dial-without-campaign:15] BackGround("PJSIP/toISSABEL-00000019", "/please-try-again") in new stack
> 0x7f3f04005a60 -- Strict RTP learning after remote address set to: 192.168.2.100:19712
> 0x7f3f04005a60 -- Strict RTP switching to RTP target address 192.168.2.100:19712 as source
[Sep 19 22:25:53] WARNING[22771][C-0000001a]: file.c:789 ast_openstream_full: File /please-try-again does not exist in any format
[Sep 19 22:25:53] WARNING[22771][C-0000001a]: file.c:1262 ast_streamfile: Unable to open /please-try-again (format (alaw)): No such file or directory
[Sep 19 22:25:53] WARNING[22771][C-0000001a]: pbx_builtins.c:1175 pbx_builtin_background: ast_streamfile failed on PJSIP/toISSABEL-00000019 for /please-try-again
-- Executing [s@sub-oml-dial-without-campaign:16] Goto("PJSIP/toISSABEL-00000019", "hangup") in new stack
-- Goto (sub-oml-dial-without-campaign,s,13)
-- Executing [s@sub-oml-dial-without-campaign:13] Gosub("PJSIP/toISSABEL-00000019", "sub-oml-hangup,s,1") in new stack
-- Executing [s@sub-oml-hangup:1] Verbose("PJSIP/toISSABEL-00000019", "2, Hangup call") in new stack
== Hangup call
-- Executing [s@sub-oml-hangup:2] Verbose("PJSIP/toISSABEL-00000019", "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("PJSIP/toISSABEL-00000019", "2, ") in new stack
-- Executing [s@sub-oml-hangup:4] Hangup("PJSIP/toISSABEL-00000019", "") in new stack
also I have tried to set Incoming Campaign instead of IVR in Inbound route, the resault and the asterisk log is exactly the same !..
also I should say that the outbound campaign and dialing from OMl to Issabel is working with no Problem.
thanks