[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 07:13:48 CST 2018


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

Mark updated ASTERISK-28218:
----------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

I have a backtrace here unfortunately it includes a couple of names and phone numbers which I cannot send to public.

Is there anything special you are looking for which I probably can extract from the files? I have brief.txt, full.txt, locks.txt and thread1.txt 

This is my very first bug report and I just want to make you aware of this issue.

In my case an incoming call is sent into a pretty basic queue (which can be even configured locally and doesn't need to be realtime) :

[queue1000]
strategy=rrmemory
ringinuse=no
autopause=no
wrapuptime=5
autofill=yes
member => SIP/agent1000
member => SIP/agent1001

See dialplan steps above. As soon as the call is sent to a queue member (using the b option to add SIP headers), Asterisk crashes.

Let me know if I can extract some worthy information for you from the backtrace files. Any keywords to look for?





> 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: Mark
>
> 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