[asterisk-users] Answer()ing a local Originate takes 500ms!?
Joshua C. Colp
jcolp at sangoma.com
Fri Nov 11 10:17:04 CST 2022
On Fri, Nov 11, 2022 at 12:15 PM Antony Stone <
Antony.Stone at asterisk.open.source.it> wrote:
> On Friday 11 November 2022 at 17:11:26, Joshua C. Colp wrote:
>
> > On Fri, Nov 11, 2022 at 12:09 PM Antony Stone wrote:
> > >
> > > https://wiki.asterisk.org/wiki/display/AST/Application_Answer tells me
> > > that the Answer() application takes an optional parameter which causes
> > > Asterisk to wait that number of milliseconds before returning to the
> > > dialplan after answering the call.
> > >
> > > Does this undocumentedly default to 500?
>
> > There is a hard coded minimum of 500 milliseconds for media to flow.
> You'd
> > have to modify the code to remove it.
>
> Urgh!
>
> Is there _anything_ I can do in either the Originate() or the Answer() to
> avoid this, without having to rebuild Asterisk?
>
Not really, it waits until media flows. That's the way it is written.
>
> And, separately, please can I request that:
>
> a) this minimum is documented
>
> b) it can be over-ridden at the user's own risk if the supplied parameter
> is
> lower than 500.
>
Any such things should go into a JIRA issue[1].
[1] https://issues.asterisk.org/jira
--
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20221111/686bfa1f/attachment.html>
More information about the asterisk-users
mailing list