< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] make call crash


resip all,

I made a small program to test outbound call for resiprocate 1.0(revision 
6527), following is the scenario 

1, make call to a non-exists DNIS
2, dum got onFailure event with 603
3, dum got onTerminated event
4, repeat 1-3

I wanna make 10000 calls to test, but often got error after several call

Register SIP Account: "testua"<sip:52412300@xxxxxxxxxxxxxx>
Logged in: 2201@xxxxxxxxxxxxxx

[Line 0] Got failure response from UAS - 603
[Line 0] call terminated.
[Line 1] Got failure response from UAS - 603
[Line 1] call terminated.
[Line 2] Got failure response from UAS - 603
[Line 2] call terminated.
[Line 3] Got failure response from UAS - 603
[Line 3] call terminated.
[Line 4] Got failure response from UAS - 603
[Line 4] call terminated.
[Line 5] Got failure response from UAS - 603
[Line 5] call terminated.
[Line 6] Got failure response from UAS - 603
[Line 6] call terminated.
[Line 7] Got failure response from UAS - 603
[Line 7] call terminated.
[Line 8] Got failure response from UAS - 603
[Line 8] call terminated.
[Line 9] Got failure response from UAS - 603
[Line 9] call terminated.
[Line 10] Got failure response from UAS - 603
[Line 10] call terminated.
Assertion failed: 0, file .\HandleManager.cxx, line 114

I saw the HandleManager.cxx, line 114, means "Stale handle", can anyone help me 
to avoid this error, because I must get failure reason for every SipCall(it is 
my own AppDialogSet), so I have to do  h->getAppDialogSet().get() in the 
onFailure callback

Attachment is my simple test program, you can compile it in VS.2005, MAY BE YOU 
CAN FIND MY USAGE ERROR ON RESIP!!!

Thanks



        maodonghu
        hhmmdd@xxxxxxx
          2006-08-22

Attachment: TestResip.rar
Description: Binary data