Re: Detecting callee pickup

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

 



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



[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