Thanks Gang, With more tests I discovery a instability in my sip server configuration. The api in the 1.x version worked sucessfuly then. regardless, Lucas Rosa Galego > pjsua will send CANCEL request to server at this call state. I have tryed > 1.0.1 release. > > regards, > Gang > > > > On Tue, Jan 20, 2009 at 10:28 PM, Lucas Rosa Gal?go <lrgalego at gmail.com > >wrote: > > > 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/09a63e14/attachment.html>