[reSIProcate] Call back function problem

Scott Godin slgodin at icescape.com
Wed Jul 6 08:31:00 CDT 2005


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_Applic
ation_Data_with_DialogSets_and_Dialogs
<http://warsaw.sjc.purplecomm.com/wiki/index.php?title=DUM_Associating_Appli
cation_Data_with_DialogSets_and_Dialogs> 

 

 

  _____  

From: shailesh [mailto:shailesh at varaha.com] 
Sent: Monday, July 11, 2005 5:24 AM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Call back function problem

 

Hello all

 

I am trying to make call on the 500 at 192.168.0.142 <mailto:500 at 192.168.0.142>
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 at 192.168.0.142 / 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 at 192.168.0.142 / 1
from(wire)

 

 

Regards,

Shailesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050706/3a8f4baf/attachment.htm>


More information about the resiprocate-devel mailing list