[asterisk-dev] Questions about Message/ast_msg_queue

Richard Mudgett rmudgett at digium.com
Mon Sep 19 10:34:43 CDT 2016


On Mon, Sep 19, 2016 at 4:40 AM, Jean Aunis <jean.aunis at prescom.fr> wrote:

> Hello,
>
> I am currently using a lot of SIP MESSAGEs, which rely on the
> Message/ast_msg_queue channel in Asterisk. Unless I misunderstood
> something, this channel is acting as a kind of "singleton" : there is only
> one instance of this channel, which processes one message after the other.
> This behaviour makes it more difficult to handle large amounts of messages,
> especially if the dialplan handling the messages takes a long time to
> execute.
>
> So my questions are the following :
>
> 1- what is the reason for this "singleton" behaviour ? Why not creating
> one channel for each SIP message ?
>
> 2- is it technically possible (and even desirable) to change this
> behaviour ?
>

Creating one channel per message would work for individual messages.  It
doesn't
work if your messages have a sequence to them.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20160919/fb6825ec/attachment.html>


More information about the asterisk-dev mailing list