Re: Answer()ing a local Originate takes 500ms!?

"Joshua C. Colp" <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <CAM0A2Z2Mw4h7MvioRGhF5=FJjdWVvEoJ3wE=-xWSw-voKLnKFw@mail.gmail.com>
On Fri, Nov 11, 2022 at 12:15 PM Antony Stone <
[email protected]> 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

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.