[asterisk-bugs] [JIRA] (ASTERISK-28218) app_queue: Asterisk crashes when using Queue with a pre-dial handler (option b)
Mark (JIRA)
noreply at issues.asterisk.org
Wed Jan 2 11:43:47 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245870#comment-245870 ]
Mark commented on ASTERISK-28218:
---------------------------------
Sorry for that - as said before: this is my very first bug report ;-)
> 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
> 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