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

RE: [reSIProcate] Call back function problem


So there is no call back function for the 100 Trying?

 

[Scott] - You should be receiving an onTrying() callback, if you implemented a  DialogSetHandler (via dum->setDialogSetHandler()).

 

How can I call the cancel method of invite session?

 

[Scott] - You can call end on the AppDialogSet that you passed into makeInviteSession or you can call dum->end(DialogSetId) - this requires you to store the dialogsetid from the invite message created.

 

 

You may also want to look at:  http://warsaw.sjc.purplecomm.com/wiki/index.php?title=DUM_Associating_Application_Data_with_DialogSets_and_Dialogs

 

 


From: shailesh [mailto:shailesh@xxxxxxxxxx]
Sent: Monday, July 11, 2005 5:24 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] Call back function problem

 

Hello all

 

I am trying to make call on the 500@xxxxxxxxxxxxx which is sip server. And it will play one audio when I make call to 500.

 

I don't get the call back function properly ..... like onNewSession

 

Messages are passed like this

 

UAC                                         SIP Server

INVITE with SDP --------------à    

            ß--------------------------       100 Trying

 

            ß--------------------------       200 OK with SDP

ACK     --------------------------à

 

Here I get called ClientInviteSession-onNewSession when I got the 200OK

 

So there is no call back function for the 100 Trying?

How can I call the cancel method of invite session?

How can I detect my new session is going on (proceeding)?

 

Here is logs for this ..............

 

C:\SIPCallbackHandler.cpp:147: ClientInviteSession-onNewSession - SipResp: 200 tid=a61721395e061c0a cseq=INVITE contact=500@xxxxxxxxxxxxx / 1 from(wire)

C:\SIPCallbackHandler.cpp:193:InviteSession-onAnswer(SDP)

C:\SIPCallbackHandler.cpp:194192.168.0.142

C:\SIPCallbackHandler.cpp:19513350

C:\SIPCallbackHandler.cpp:167: ClientInviteSession-onConnected - SipResp: 200 tid=a61721395e061c0a cseq=INVITE contact=500@xxxxxxxxxxxxx / 1 from(wire)

 

 

Regards,

Shailesh