How to detect that an outgoing call got declined?

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

 



Thank you! this did the trick! I had a voicebox enabled for my callees.

>That usually happens because the call got sent to voicemail or something, so you end up with a connected call to the voicemail server.  So it can't be detected from the sip level, because as far as the phone is concerned the call is a real call.

>Calls that really don't get connected will end up DISCONNCTD.



2011/12/2 Philip H?hlein <philip.hoehlein at googlemail.com>

> Hello,
>
> how can I detect that an outgoing call got declined in pjsip 1.12?
> If I make call pjsip_inv_state is first *PJSIP_INV_STATE_CALLING* and
> then *PJSIP_INV_STATE_EARLY.
>
> If the call was declined state should change to **PJSIP_INV_STATE_DISCONNECTED,
> but that's not the case, I get **PJSIP_INV_STATE_CONNECTING and **
> PJSIP_INV_STATE_CONFIRMED*. That's identical to Accepted Calls.
>
> So how can I differ both cases?
>
>
> kind regards
>
>
> Philip Hoehlein
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111206/b02e8544/attachment.html>


[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