[asterisk-bugs] [JIRA] (ASTERISK-28218) Asterisk crashes when using Queue with a pre-dial handler (option b)

Mark (JIRA) noreply at issues.asterisk.org
Fri Dec 21 05:50:47 CST 2018


Mark created ASTERISK-28218:
-------------------------------

             Summary: Asterisk crashes when using Queue with a pre-dial handler (option b)
                 Key: ASTERISK-28218
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28218
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_queue
    Affects Versions: 16.0.1, 16.1.0
            Reporter: Mark
            Severity: Blocker


I am trying to add custom SIP headers in a pre-dial handler. 

Option b, which is working great for app Dial, is available for app Queue in Asterisk 16. Unfortunately Asterisk is crashing as soon as a call is transferred.

Setup:
Queues and users in realtime database

Dialplan:
exten => _X.,n,Queue(${queueid},b(addheaders^s^1))

[addheaders]
exten => s,1,NoOp(Adding custom headers to queue call)
exten => s,n,SipAddHeader(X-Queue-ID: ${queueid})
exten => s,n,SipAddHeader(X-Queue-Name: ${queuename})
exten => s,n,Return

Result:
Asterisk crashes with segmentation fault. No call is placed to the user. 





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



More information about the asterisk-bugs mailing list