Re: Detecting callee pickup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andreas,
actually i'm not confusing things because i replied to your info, that music can be played before the actual confirm happens.
This is called early media and will be replied with a 183 Status code.
I'm not refering to the INVITE state though.
It's not supported for PRI/ISDN multis but for newer SIP implementations (asterisk).

Best regards
Franz
________________________________________
Von: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> im Auftrag von Andreas Wehrmann <a.wehrmann@xxxxxxxxxx>
Gesendet: Donnerstag, 19. Dezember 2019 09:47
An: pjsip@xxxxxxxxxxxxxxx
Betreff: Re:  Detecting callee pickup

On 18.12.19 17:44, Skale Franz wrote:
> Hi,
> it's called early media, so the PBX/C5 Softswitch has to return a "183" status as stated in the RFC.
> Draft:
> https://tools.ietf.org/html/draft-rosenberg-sip-early-media-00
>
> So, the call state confirmed is the thing you're searching for.
> Snippet to demonstrate the "confirmed" state: (on_call_state callback using pjsua).
> Callback:
> https://www.pjsip.org/pjsip/docs/html/structpjsua__callback.htm#a8029ac58404a39067691a1530a2b585a
>
>

I think you're confusing things.
EARLY state of the INVITE session has nothing to do with early media.
It just means you've got a response with a To tag, as described in the
pjsip docs.
You _can_ have early media in EARLY state, but it's actually a separate
thing.

For reference, see this:
https://www.pjsip.org/docs/latest-2/pjsip/docs/html/group__PJSIP__INV.htm#gga083ffd9c75c406c41f113479cc1ebc1ca6c887e56774f6d1fd3527cb55b3843fd

Regards,
Andreas


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux