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
webvr
gaussian
squeak
download
mediarecorder
angularjs-directive
glympse
swap
kohana
qt4
yacc
ejb-3.0
dcos
captcha
expo
hql
infopath
nsoperation
facebook-marketing-api
k-means
wallet
django-rest-auth
datasource
ejb-3.1
rvm
ps
checkmarx
osgi-bundle
jmsserializerbundle
restler
ragel
mongoid5
yelp
framebuffer
lex
vertical-alignment
flume-ng
wufoo
gradlew
runtime-permissions
playframework-1.x
try-catch-finally
apache-commons-cli
firebase-polymer
joystick
require-handlebars
particle-system
recurring
gdi
alchemy
jquery-draggable
yfiles
webservices-client
lytro
updating
traminer
cloud-storage
eula
jeet-grid
valdr-bean-validation
pymol
optimistic-locking
aiff
javacompiler
disparity-mapping
im4java
serializer
behance-api
dayofweek
maven-javadoc-plugin
kademlia
azure-scheduler
latex-suite
auctex
phone-state-listener
moonscript
nsregularexpression
yii-components
correctness
blackberry-eclipse-plugin
filedialog
django-1.4
helicontech
zend-validate
zipstream
lwp
norton
xcdatamodel
hp-trim
retrospectiva
ihtmldocument2
projectgen
cstring

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