Re: Detecting callee pickup

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

 



Hi

enum pjsip_inv_state provide the different types for INVITE session management. In Call object, onCallState notify on SipEvent the following events:
  • PJSIP_INV_STATE_NULL
  • PJSIP_INV_STATE_CALLING
  • PJSIP_INV_STATE_INCOMING
  • PJSIP_INV_STATE_EARLY
  • PJSIP_INV_STATE_CONNECTING
  • PJSIP_INV_STATE_CONFIRMED
  • PJSIP_INV_STATE_DISCONNECTED
I get PJSIP_INV_STATE_CONFIRMED before PJSIP_INV_STATE_EARLY, so I think it is not possible to be notified before.

Invite session reference: https://www.pjsip.org/pjsip/docs/html/group__PJSIP__INV.htm
Call reference: https://www.pjsip.org/pjsip/docs/html/classpj_1_1Call.htm

Regards,



_________________________________________________________


Víctor Goñi Sanz

Tecnología | Biometría de Voz

 

Veridas Digital Authentication Solutions S.L.

Polígono Industrial Talluntxe II, Calle M-10

31192, Tajonar, Navarra, SPAIN

  Map:    Veridas

  Web:    www.veri-das.com

  Email:  vgoni@xxxxxxxxxxxx

  Phone: +34 948 24 62 95
  Mobile: +34 622 226 276



On Wed, 18 Dec 2019 at 16:54, Martin Schmid via pjsip <pjsip@xxxxxxxxxxxxxxx> wrote:
Hello everybody

I'm seraching for a solution to detect the callee pickup.
The 'confirmed' arrives at a very early stage, long before the callee
picks up the phone.
Is there a way to detect the pickup? I don't see much in the callInfo.

Regards,

Martin

_______________________________________________
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