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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Feb 6 05:07:51 CST 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-28218:
-------------------------------------

    Target Release Version/s: 16.2.0

> app_queue: 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.1.0, 16.0.1
>            Reporter: Mark
>            Assignee: Joshua C. Colp
>              Labels: patch
>      Target Release: 16.2.0
>
>         Attachments: ASTERISK-26218.diff, brief.txt, full.txt, locks.txt, thread1.txt
>
>
> 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:
> {noformat}
> 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
> {noformat}
> 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