[asterisk-bugs] [JIRA] (ASTERISK-26322) hangup handlers not working from lua

Rajesh Kumar Sahoo (JIRA) noreply at issues.asterisk.org
Tue Aug 30 00:33:01 CDT 2016


Rajesh Kumar Sahoo created ASTERISK-26322:
---------------------------------------------

             Summary: hangup handlers not working from lua
                 Key: ASTERISK-26322
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26322
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: PBX/pbx_lua
    Affects Versions: 13.1.0
         Environment: ubuntu 16.04
            Reporter: Rajesh Kumar Sahoo
            Severity: Minor


i want to attach a hangup handler to newly created channels in Dial application.But below methods are not working. 
1) channel.hangup_handler_push='hangup-handlers,s,1' 
2) channel['hangup_handler_push']='hangup-handlers,s,1'
But using application Set it is working.
3) app.Set('CHANNEL(hangup_handler_push)=hangup-handlers,s,1')

For More details,
http://stackoverflow.com/questions/39207289/asterisk-hangup-handler-using-lua/39212653



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



More information about the asterisk-bugs mailing list