Unable to CANCEL a pending invite transaction

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

 



Dear all,
     in my test I am using pjsip to call the x-lite softphone with 
OfficeSIP server.
I have a problem when I try to cancel an invite transaction. In 
principle my UA should see:

-----    invite     -->
<-- ringing    -----

---- CANCEL --->
<-- OK ------

My question regards the way in which I can send the CANCEL request. I am 
using pjsua so I tried
pjsua_call_hangup() with codes 486,487 and 603 but the server returns 
"401 Unhautorized".
In this situation the pjsip client close the transaction but the invided 
softphone keeps ringing.

On the contrary when I use x-lite to invite my pjsip UA and then I 
cancel the transaction all is fine.

What is the correct procedure to cancel an invite transaction?

Thank you
mario raffin




-------------- next part --------------
A non-text attachment was scrubbed...
Name: raffin.vcf
Type: text/x-vcard
Size: 266 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120606/bc8c867d/attachment.vcf>


[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