/[resiprocate]/main/resip/dum/test/basicClientUserAgent.cxx
ViewVC logotype

Log of /main/resip/dum/test/basicClientUserAgent.cxx

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 11170 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 8 16:11:44 2014 UTC (5 years, 6 months ago) by sgodin
File length: 36441 byte(s)
Diff to previous 10975 , to selected 10920
-fix obscure bug in basicClient where if we don't use a threaded stack processing does
 not function correctly - required PollGrp to be passed to SipStack constructor

Revision 10975 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 16 20:04:10 2014 UTC (5 years, 9 months ago) by sgodin
File length: 36418 byte(s)
Diff to previous 10920
-removed use of raw transport pointers in Tuple and SipMessage (finally!!)
 -required repro record route logic to be modified - no longer store transport specific
  record routes in the Transport class - the Proxy class now tracks these
 -removed SipMessage::getReceivedTransport and added isFromWire method that can be used in
  it's place in various locations


Revision 10920 - (view) (download) (annotate) - [selected]
Modified Sat Jan 25 20:06:47 2014 UTC (5 years, 10 months ago) by sgodin
File length: 36418 byte(s)
Diff to previous 10878
-enabled UAS PRACK in dum/test/basicClient program

Revision 10878 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 18 16:59:54 2014 UTC (5 years, 10 months ago) by sgodin
File length: 36466 byte(s)
Diff to previous 10836 , to selected 10920
-modified basicClient to use EventStackThread instead of InterruptableStackThread
 -enables Epoll support on platforms that support it

Revision 10836 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 5 18:38:04 2014 UTC (5 years, 11 months ago) by sgodin
File length: 36321 byte(s)
Diff to previous 9739 , to selected 10920
-dum/test/basicClientUserAgent.cxx - use stack in multi-threaded mode
-ensure shutdown works if initial registration attempt is in progress

Revision 9739 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 31 15:58:53 2012 UTC (7 years, 6 months ago) by sgodin
File length: 35943 byte(s)
Diff to previous 9493 , to selected 10920
-fixed a trap during shutdown, due to order of destructed objects

Revision 9493 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 7 10:56:50 2012 UTC (7 years, 8 months ago) by dpocock
File length: 35720 byte(s)
Diff to previous 9284 , to selected 10920
Include config.h from even more places where it may be needed

Revision 9284 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 28 15:03:15 2011 UTC (8 years, 2 months ago) by sgodin
File length: 35671 byte(s)
Diff to previous 9119 , to selected 10920
-allow subscription and call if not registering in basicClient dum test program

Revision 9119 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 25 17:43:24 2011 UTC (8 years, 7 months ago) by bcampen
File length: 35006 byte(s)
Diff to previous 9093 , to selected 10920
Clearing up warnings (there are a couple that still remain on OS X
due to gcc bug #37016).


Revision 9093 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 31 20:02:48 2011 UTC (8 years, 8 months ago) by sgodin
File length: 35006 byte(s)
Diff to previous 9066 , to selected 10920
-fix use of define - should be USE_DTLS not USED_DTLS

Revision 9066 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 16 15:20:36 2011 UTC (8 years, 8 months ago) by bcampen
File length: 35007 byte(s)
Diff to previous 9038 , to selected 10920
Fixing a few compiler warnings.


Revision 9038 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 20:22:45 2011 UTC (8 years, 9 months ago) by sgodin
File length: 35005 byte(s)
Diff to previous 9034 , to selected 10920
-allow a DUM application to optionally provide a MD5 A1 Hash of a users password, instead 
 of the clear text version
  Note:  If the A1 hash is provided then the realm provided MUST match the realm in the 
         challenge or authentication will fail.  If the plain text password is provided, 
         then we will form the A1 hash using the realm from the challenge.


Revision 9034 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 17:35:49 2011 UTC (8 years, 9 months ago) by sgodin
File length: 34666 byte(s)
Copied from: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx revision 9030
Diff to previous 9030 , to selected 10920
-new dum test program basicClient that provides a good reference starting
 place for people developing user agents
  - demonstrates how to use client outbound support (RFC5626)
  - uses AppDialogSet -> Call abstraction
  - uses recommended SelectInterruptor to drive the stack
  - ability to be dummy subscription server for fabricated basicClientTest event 
   (plain text bodies) - used for testing subscription recovery after flow failure
  - ability for to form a client subscription to a command line
    provided URI (typically this would be set to the AOR of another basicClient user)
  - command line parameter to be able to place a call after registration
     - Once call is placed, five test MESSAGEs will be sent every 30 seconds, then a 
       BYE will be sent
     - 30 seconds later the entire process is repeated
     - if we receive a call then it will be auto-answered, and for any received call, 
       if we receive a sip MESSAGE, then a answer MESSAGE will be sent to the far end 
     - this allows mid-dialog routing testing in both directions
  - performs an Invite with Replaces if a flow is terminated

Revision 9030 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 23:17:30 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 34666 byte(s)
Diff to previous 9029 , to selected 10920
-fix up TODO comments

Revision 9029 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 17:22:55 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 34820 byte(s)
Diff to previous 9024 , to selected 10920
-added command line option to basicClient to allow running in hostfile only DNS lookup mode
-added comments to TransportSelector maps, to indicate which maps own the transport pointers
 and which maps reference the transport pointers
-added missing TLS/DTLS transport shutdown calls when TransportSelector::shutdown is called
-added missing TLS/DTLS isFinished calls when TransportSelector::isFinished is called
-adjusted assert in determineSourceInterface to be tolerant of case when using TLS transports
 - particular case detected was ACK routing over TLS - in this case the top most via is
   already populated, and findTransportByVia will fail since it only looks through the UDP
   and TCP transports
-short circuit findTransportBySource for TLS and DTLS transports, since they will never be 
 found

Revision 9024 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 19 20:00:06 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 34691 byte(s)
Diff to previous 9022 , to selected 10920
-basicClient changes in order to accept an inbound Invite with Replaces


Revision 9022 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 19 18:27:49 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 34612 byte(s)
Diff to previous 9021 , to selected 10920
-added another makeInviteSession interface for forming INVITE with Replaces
-basicClient now tries to perform an Invite with Replaces if a flow is terminated


Revision 9021 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 19 17:54:39 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 34454 byte(s)
Diff to previous 9018 , to selected 10920
-modified basicClient
 - track all calls created and end properly when shutdown
 - added new command line parameter to be able to place a call after registration
 - Once call is placed, five test MESSAGEs will be sent every 30 seconds, then a BYE will be sent
 - 30 seconds later the entire process is repeated
 - if we receive a call then it will be auto-answered, and for any received call, if we receive a
   sip MESSAGE, then a answer MESSAGE will be sent to the far end - this allows mid-dialog routing
   testing in both directions

Revision 9018 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 16 22:40:07 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 32893 byte(s)
Diff to previous 9016 , to selected 10920
-fixed bug in propagation of flowTerminated to all relevant DialogSets
 - stopped finding dialogsets once the flow key was cleared from the user profile
-fixed bug in propagation of flowTerminated notification to server and client subscription dialogs
 - iterator can become invalidated if flow terminated handler ends Subscription 
-added ability for basicClient to be dummy subscription server for basicClientTest event 
 (plain text bodies) - used for testing subscription recovery after flow failure
-added ability for basicClient to form a client subscription to a command line
 provided URI (typically this would be set to the AOR of another basicClient user)


Revision 9016 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 16 18:06:10 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 30166 byte(s)
Diff to previous 9011 , to selected 10920
-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 new ClientRegistrationHandler callback:  onFlowTerminated - default implementation is
 to immediately try a registration refresh to establish a new flow
-Dispatch flowTerminated to all ClientSubscription, ServerSubscription and InviteSession dialogs
-implemented registration retry backoff logic from RFC5626 section 4.5 in basicClient test program


Revision 9011 - (view) (download) (annotate) - [select for diffs]
Added Sun Feb 13 20:30:51 2011 UTC (8 years, 9 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClientUserAgent.cxx
File length: 29255 byte(s)
Diff to selected 10920
-new dum test program basicClient that provides a good reference starting
 place for people developing user agents
  - demonstrates how to use client outbound support (RFC5626)
  - uses AppDialogSet -> Call abstraction
  - uses recommended SelectInterruptor to drive the stack

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