< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
There are many reasons it is dangerous to be re-using your
appdialogset for 2 different dialogsets, one of which it that dum controls the
lifetime of these objects (unless you override AppDialogSet::destroy). Appdialogsets
are only designed to be assigned to one Dialogset. More comments inline… Scott From:
resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Pawan
N I've a B2BUA application which receives an Invite (generates
AppDialogSet) So both the legs have same AppdialogSet's AppData... Now when caller sends a CANCEL, a new CANCEL is generated
using Callee's INVITE.. [Scott] Despite my warning above – I don’t think
this is what is happening here. The problem is at the stack level.
How do you generate the cancel? You should be using AppDialogSet::end() (but
this is clearly hairy given the way you use AppDialogSets ) or
DialogUsageManager::end(). Surprisingly it doesn't happen always... Sometimes it
happens this way.. Also when I use SendBye() instead of CANCEL, everything
works fine... Can BYE be used anywhere during the call-session.. (I'm
asking specifically before receiving 200 OK) [Scott] You can only send a bye if you have a dialog – ie.
have received a provisional response containing a to tag. Otherwise you
must send a CANCEL. CANCEL cancels the entire invite request. BYE
only terminates one leg of the invite (it might fork). My logs error and sip messages are as under - The error in Log says something like - DEBUG | 20070123-162310.763 | b2bua | RESIP:TRANSPORT | 904
| Transport.cxx:209 | Adding message to tx buffer to: [ V4 180.144.128.1:5060
UDP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 UDP
target domain=unspecified connectionId=0 ] connectionId=0 ] CALLEE's MSG = INVITE sip:b2bua-9011@xxxxxxxxxxxxx:5060 SIP/2.0 and the CANCEL MSG = CANCEL sip:b2bua-9011@xxxxxxxxxxxxx:5060 SIP/2.0 Regards, Pawan... Everyone is raving about the
all-new Yahoo! Mail beta. |