[asterisk-bugs] [JIRA] (ASTERISK-26726) Call app.Dial with "d" option from lua dialplan freeze asterisk until kill the process of asterisk

Yuriy Gorlichenko (JIRA) noreply at issues.asterisk.org
Wed Jan 18 04:43:10 CST 2017


Yuriy Gorlichenko created ASTERISK-26726:
--------------------------------------------

             Summary: Call app.Dial  with "d" option from lua dialplan freeze asterisk until kill the process of asterisk 
                 Key: ASTERISK-26726
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26726
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_dial, PBX/pbx_lua
    Affects Versions: 13.10.0, 11.25.0
         Environment: Ubuntu 16.04,14.04

            Reporter: Yuriy Gorlichenko


I trying to call app.Dial from extesnions.lua
I have context. Presume it named main

["main"]={
   ["_XXXX"]=simpleDial,
   ["0"]=app.NoOp("Works!")
}


function simpleDial(context,extension)
     app.Dial("SIP/"..extension..","10","d")
end

After press 0 while extension ringing
at the debug watch only  (at the asterisk 13.10)

pbx_lua.c:1480 lua_find_extension: Looking up 0 at main:1

Then asterisk freezes while I not kill the process


I checked other versions of 13 asterisk, but there was not updates of pbx_lua module.

In 14 asterisk updates also was not include nothing for this module so i suppose tha tthis issue will happen at the 14 asterisk also. But i will check.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list