Duvides about hangup

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

 



Hi folks,

I'm having some problems with the hangup in the pjsua api.
The version is the 1.x in trunk.

Looking for the api the function pjsua_call_hangup has the follow
descripton:
Hangup call by using method that is appropriate according to the call state.

My problem is that there is some modifications in my billing that changes my
returned packages in the
beginning of the call.
After the sequence of packages was that:
INVITE ->
100 TRYING <-
200 OK, WITH SESSION DESCRIPTION <-
ACK ->
OPTIONS -<
BYE -> // hear is when I call the hangup function.

But since my billing has changed I didn't receive the 200 OK anymore,
instead I receive a 183 Session in progress and only
receive de 200 OK when te call is answered.
The problem is that while the call isn't answered and I don't receive the
200 OK, the pjsua_call_hangup dont send anything to my sip server.

I tried connecting in the same server with the bria from counterpath and in
this  situation (when I receive the 183 package and didn't receive the 200
package yet),
the bria sent a CANCEL package and the hangup works fine.

How cold I make something like this with pjsip?

Thanks for help

-- 
Lucas Rosa Galego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090120/de654d3b/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