Cancelling INVITE before 200 has been received

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

 



Hi,

I'm trying to use the pjsua API to create an INVITE that I'd like to
CANCEL whilst the remote party is in the early media phase, i.e. after
the 183 but before the 200.

To do this I'm calling pjsua_call_hangup(), which seems to have the
correct effect in terms of signalling to the remote peer, but I'm
getting this error message from the API:

21:46:00.245   pjsua_call.c  .............Failed to send end session
message: Object already exists (PJ_EEXISTS) [status=70015]

So I'm wondering whether I should either ignore this error or whether
I'm just using the API wrongly.

I've looked at pjsua_call_send_request() but the documentation implies
that sending a message via these means as a way to CANCEL an INVITE
might have an adverse affect of the library's view of the current
state.

Any pointers are appreciated.

Cheers,

Ben



[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