/[resiprocate]/main/resip/dum/InviteSessionHandler.cxx
ViewVC logotype

Log of /main/resip/dum/InviteSessionHandler.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 10695 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 22 23:12:34 2013 UTC (5 years, 11 months ago) by sgodin
File length: 5489 byte(s)
Diff to previous 9033
-Merged from b-uasprack-20130904
  -added UAS Prack support to DUM!  Original implementation taken from b-uasprack-20091103
  -many changes, fixes and enhancements from original branch
  -MasterProfile setting setUasReliableProvisionalMode is used to enable
  -added mode called SupportedEssential where we will send reliable provisionals only if they
   are a provisional that is carrying an offer or answer  - required for 3GPP IMS flows 
  -added resubmit timer for reliable responses to ensure we send a reliable provisional at least 
   every 2.5 minutes  -new profile setting: set1xxRelResubmitTime to support this
  -updated state diagrams and added new PRACK flow diagrams to dum/doc directory (removed old diagrams)
  -fixed update glare handling for UAC prack 
  -added in support for UAC Prack to be able to send an offer in the first PRACK response 
  (must call provideOffer from onAnswer callback)
  -made a helper method on DialogUsageManager to set advertised capabilities 
  -fixed missing break in ClientInviteSession::dispatchReceivedUpdateEarly 
  

  
  

Revision 9033 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 17:17:15 2011 UTC (8 years, 8 months ago) by sgodin
File length: 5398 byte(s)
Diff to previous 8726
-merge work from b-client-outbound-20110213 - client outbound support (RFC 5626)
   - New UserProfile settings
      - clientOutboundEnabled
      - setRegId
   - UserProfile now tracks flow used at registration time if server indicates outbound support, and 
     all usages that are assigned the same UserProfile will use this flow
   - ;ob parameter is added to contact headers of non-REGISTER requests if clientOutboundEnabled
   - ;reg-id parameter is added to contact headers of REGISTER requests if configured
   - ;+sip.instance is added to all contact headers if configured
   - ClientRegistration tagContact is now static and is used in RegistrationCreator for consistency
   - Keep alive pong responses are now routed from Stack to DUM Keepalive Manager
   - DUM Keep alive manager will terminate flows if a pong response is not received from 
     an outbound enabled connection after a default of 10 seconds
   -removed a bunch of non-implemented methods from DialogUsageManager.hxx
   -optimized some accesses to user profile from usages
   -added new makeInviteSession calls that accept an InviteSessionHandle and add an appropriate replaces header
   -treat internal 503 errors the same as 408 errors when dispatching onRequestRetry callback for
    ClientRegistration, ClientSubscription and ClientPublication
      - allows retry logic that is consistent when using both UDP or TCP/TLS transports
      - note:  TCP/TLS transports get a 503 error when they cannot connect, UDP transports typically
               get a 408 error when the far end is not present
   -ClientRegistration changes to ensure calling requestRefresh will not assert in any state
      - allow calling requestRefresh while a retry timer is running to request an immediate retry 
   -created onFlowTerminated callbacks on:
      - ClientRegistrationHandler - default implementation is to retry registration immediately
      - InviteSessionHandler - current default implementation is to do nothing
      - ServerSubscriptionHandler - default implementation is to end the Subscription
      - ClientSubscriptionHandler - default implementation is to reSubscribe (new Dialog)
   -fix for ContactInstanceRecord equality checks - registration server was not treating contacts with the same
    instance id as equal if the contact URI was different

Revision 8726 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 3 17:15:16 2010 UTC (9 years, 10 months ago) by sgodin
File length: 5270 byte(s)
Diff to previous 7292
-made DUM InviteSession offer answer logic to be Content type generic 
 (ie. able to handle offer/answer of non-SDP mime types)
 - now stores / manipulates offer/answer logic using base Contents class instead 
   of SdpContents
 - full backwards compatibility is possible
 - new setting on InviteSessionHandler constructor to indicate to InviteSession 
   if the onOffer/onAnswer (etc.) callbacks should return SDP or generic 
   Contents (see note in InviteSessionHandler.hxx)

Revision 7292 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 4 16:32:08 2007 UTC (12 years, 1 month ago) by sgodin
File length: 4129 byte(s)
Diff to previous 7042
- implemented a stale re-invite timer 
  - duration is settable via Profile with a default of 40 seconds
  - New onStaleReInviteTimeout callback on InviteSession for applications that are interested
  - default implementation of onStaleReInviteTimeout is to end() the call
  - added new End Reason - StaleReInvite
  - fixes an issues of lingering usages when sending a re-invite, receiving a 1xx response and no final response
- Accept BYE messages in WaitingToTerminate state
- Respond to other requests with a 400 in WaitingToTerminate state


Revision 7042 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 9 07:02:41 2007 UTC (12 years, 7 months ago) by nash
File length: 3936 byte(s)
Diff to previous 5948
DialogUsageManager:
 add ExternalMessageHandler interface
 add hasEvent method
 changes to process methods to allow mutex lock while in-processing

ClientRegistration/ClientSubscription/ClientPagerMessage/ClientPublication/InviteSession/ServerInviteSession/ServerPagerMessage:
 Provide asynchronous method access by using command


Revision 5948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 15:30:16 2006 UTC (13 years, 9 months ago) by dworley
File length: 3846 byte(s)
Diff to previous 5929
Setting more svn: properties, and adding EOLs to the ends of files
that need it.


Revision 5929 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:36:43 2006 UTC (13 years, 9 months ago) by dworley
File length: 3846 byte(s)
Diff to previous 5697
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5697 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 24 17:19:12 2005 UTC (13 years, 11 months ago) by sgodin
File length: 3846 byte(s)
Diff to previous 5587
- added checks to InviteSession to verify CSeq on 2xx responses match our last request (or are a retransmission) - if not just drop them
- added onConnectedConfirmed callback for ACK (without answer) on initial invite
- removed enumSuffix vector copying (note:  there are still some mulit-threaded concerns)
- added missing InvalidContents files from .vcproj



Revision 5587 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 28 22:15:20 2005 UTC (14 years ago) by jason
File length: 3741 byte(s)
Diff to previous 5586
fix issue with onStaleCallTimeout
will now CANCEL by default instead of sending BYE for each early dialog


Revision 5586 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 28 21:01:13 2005 UTC (14 years ago) by sgodin
File length: 3716 byte(s)
Diff to previous 5555
- modified ACK handling
  - mAckId is no longer tracked by Dialog.cxx - all logic is in InviteSession.cxx
  - Authorization and Proxy-Authorization headers are copied to acks from the InviteSession.cxx
  - 2xx retransmission is now detected and handled properly - no more incorrect handler callbacks
- DialogSet destruction bug fixed
- onStaleCallTimeout callback no has a default handler to send a BYE - app can override and send a CANCEL if desired
- 


Revision 5555 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 19 14:04:10 2005 UTC (14 years, 1 month ago) by sgodin
File length: 3398 byte(s)
Diff to previous 5531
- changed isEarly to return true for UAC early states only
- added isAccepted to return false if UAS->accept is required 
    - bbridge to be modified to use this
- added requestOffer API to allow sending reInvite without SDP
- added new handler onOfferRequestRejected - if error response is received for 
  reinvite with no sdp
- added new requestOffer states and transitions
- added internal helper provideProposedOffer to clean up code
- corrected some missing sets of mProposedRemoteSdp
- fixed Glare state handling in dispatchGlare



Revision 5531 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 14 01:33:33 2005 UTC (14 years, 1 month ago) by derek
File length: 3298 byte(s)
Diff to previous 5508
reason header can be added to BYE messages...and will be added in the default InviteSessionHandler

Revision 5508 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 7 22:34:11 2005 UTC (14 years, 1 month ago) by jason
File length: 3240 byte(s)
Diff to previous 5505
added InviteSessionHandler::onRemoteSdpChanged
added default implementations of onReadyToSend in handlers that do nothing


Revision 5505 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 7 19:58:39 2005 UTC (14 years, 1 month ago) by daniel
File length: 2981 byte(s)
Diff to previous 5295
Added a virtual method onReadyToSend in BaseUsage. The BaseUsage send() calls onReadyToSend before calling send on DUM. Any usage can override this method to give application a chance to adorn the message. The default onReadyToSend does nothing. Callback onReadyToSend is also added in InviteSessoinHandler, ServerSubscriptionHandler, and ClientSubscriptionHandler.

Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 2 months ago) by jason
File length: 3095 byte(s)
Copied from: branches/b-directory-reorg/resip/dum/InviteSessionHandler.cxx revision 5294
Diff to previous 5276
merged 5270:HEAD from b-directory-reorg

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/InviteSessionHandler.cxx
File length: 3095 byte(s)
Diff to previous 5273
compiles now

Revision 5273 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:50:54 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/InviteSessionHandler.cxx
File length: 3104 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/dum/InviteSessionHandler.cxx
File length: 3104 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 3104 byte(s)
Diff to previous 4599
new directory reorg proposal

Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 3104 byte(s)
Diff to previous 4062
set svn:eol-style to LF

Revision 4062 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 27 02:00:20 2005 UTC (14 years, 7 months ago) by derek
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 3104 byte(s)
Diff to previous 4010
pluggable keep-alive manager; provided implementation sends a keep-alive every 20 seconds
Security::preload now run in SipStack's constructor, if a sec. object is provided
eol convenction & #define fixes

Revision 4010 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 19 03:54:17 2005 UTC (14 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 3153 byte(s)
Diff to previous 3425
merged changes from b-teltel-20041118-invitesession 3484:HEAD into the trunk



Revision 3425 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 1 22:21:04 2004 UTC (15 years ago) by jason
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 757 byte(s)
Diff to previous 3308
added some new interfaces for shutting down (partially implemented)
added pure virtual void BaseUsage::end() 
derived end() methods no longer return SipMessage&
SipStack is owned by DialogUsageManager
DialogUsageManager::process() interface change for separate StackThread


Revision 3308 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 17:07:28 2004 UTC (15 years, 2 months ago) by derek
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 785 byte(s)
Diff to previous 3255
added setOverrideHostAndPort for NAT traversal
if there is no to tag in a response, tid is used to dispatch to the correct dialog if one exists
temproary fix on onIllegalNegotiation; re-invite state machine needs tweaking


Revision 3255 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 13 17:14:26 2004 UTC (15 years, 3 months ago) by derek
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 444 byte(s)
Diff to previous 2965
ackConnection is gone. Ack's will be set automatically, unlesss late media needs to be sent(use setAnswer, send())
Accepting state has been removed from the Invite state machine.





Revision 2965 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 10 23:45:20 2004 UTC (15 years, 5 months ago) by derek
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 174 byte(s)
Diff to previous 2941
ClientInviteSession largely complete

Revision 2941 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 7 00:44:01 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 180 byte(s)
Diff to previous 2854
refactored Handle code
streamlined header includes


Revision 2854 - (view) (download) (annotate) - [select for diffs]
Added Sun May 30 03:06:58 2004 UTC (15 years, 5 months ago) by jason
Original Path: main/sip/resiprocate/dum/InviteSessionHandler.cxx
File length: 182 byte(s)
added Dialog::update, more cases in ClientInviteSession

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27