jain-sip


Jain Sip : how to send an ACK on 200 ok type CANCEL?


In my application, I send an invite request and cancel this one. I receive the 200 ok (of my cancel) and I want to send the ACK request but the dialog is not yet established, so how can I send this ack ?
However, I think it's not clear for me the difference between dialog and transaction, could you shed some light on this point for me ?
Thanks in advance.
The CANCEL scenario requires that the remote side sends OK response to CANCEL, but also 487 response to the INVITE, otherwise the transaction is not complete. Only after 487 you can send ACK. The JAIN-SIP stack sends ACK to error responses automatically in most cases. In this case ACK will be sent automatically when you receive 487, you don't need to send it yourself. You only need to send ACK for successful transactions that are not CANCELed.

Related Links

sip stack implementatin outside the servlet container
why jain sip return 481 on received bye?
How to create a kind of SDK for JainSIP?
Jain Sip : how to send an ACK on 200 ok type CANCEL?
Jain sip return 481 for a received bye request
JAIN SIP - between requests
Downloading JAIN SIP
Jain SIP in multi-thread environment
jain-sip /jsip getListeningPoint method was removed from RequestEvent and ResponseEvent
mobicent sip servlet with jboss as 7 in cloud
jainsip processResponse not called
JAIN-SIP getting request source IP address and port

Categories

HOME
oauth-2.0
repository
ssms
stanford-nlp
locale
nagios
conceptual
watson-iot
richtextbox
servicenow
procmon
qt4
google-api-oauth
digital
guidewire
desktop-application
opendaylight
appsettings
openscad
amazon-data-pipeline
smooth-scrolling
openam
views
novacode-docx
vala
uipath
chartist.js
workflow-foundation
hierarchical-data
large-files
cqlsh
pushpad
ios9
deferred
ng2-bootstrap
kubectl
jsonapi-resources
headphones
cocoa-scripting
ansible-inventory
flex3
maven-2
dotnetnuke-module
framebuffer
libconfig
scalamock
jslider
rbac
aspnetboilerplate
definition
test-kitchen
firefox-developer-edition
nshttpurlresponse
ack
skype-bots
openidm
fluent-nhibernate-mapping
jenkins-docker
printer-control-language
spring-cloud-aws
disassembly
acceleo
computed-properties
x12
class-design
jira-agile
vga
git-cherry-pick
cherry-pick
diameter-protocol
django-celery
mrunit
web-optimization
periodic-processing
dday
wonderware
kramdown
commercetools
gulp-cdnizer
libgcrypt
jts
callfire
firewire
fileinputstream
tinymce-plugins
veeam
jad
touch-typing
teamstudio-unplugged
formbuilder
indic
visual-c#-express-2010
satisfiability
cvi
.net-reflector
lastinsertid
jfilechooser
surfaceview
ojb
listpicker
extensibility
android-library
latex-suite
gmail-imap
beep
parsec
ruby-1.9
rjs
backlight
n2
cpack
onunload
datarelation
konsole
software-update

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App