Re: Question on Originate with EarlyMedia

"Joshua C. Colp" <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <CAM0A2Z0KfA+8eWn_6gG4hMAOVsQgX6cJ5A1SpXe_6NQbOpHyLw@mail.gmail.com>
On Thu, Sep 1, 2022 at 1:32 PM Dan Cropp <[email protected]> wrote:

> Using AMI, we send an Originate with EarlyMedia: true setting
>
>
>
> If the other end sends a 183, Asterisk
>
> When the 183 is received, Asterisk indicates the ChannelState: 6 and
> ChannelStateDesc: Up values.
>
> All is fine up to this point.
>
>
>
> It may take the caller several seconds before the called party answers.
>
> When the called party answers (200 OK received), in the debugging I see
> Asterisk processing this and debugging show TSX State: Terminated  Inv
> State: EARLY
>
> At this point, the call is truly connected.
>
>
>
> Is there a configuration setting to indicate whether Asterisk should send
> an event indicating when the early media ends and the call is really Up?
>

There is no option. The Originate code makes the channel appear as answered
when the 183 arrives, everything reflects that afterwards. Even if a second
answer occurs it gets ignored. The log message you refer to is internal
state information to do with the SIP side.

-- 
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.