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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 9885 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 28 20:06:29 2012 UTC (6 years, 11 months ago) by sgodin
File length: 3542 byte(s)
Diff to previous 9036
-fix startup delay issue that is seen when building resiprocate into a Windows DLL
 - was related to having socket calls at static initialization time and the following 
   globally scoped static initialization in Helper.cxx:
   static Data localhostname = DnsUtil::getLocalHostName();
 - since function scoped static initialization is prone to multi-threaded issues, a 
   different solution was implemented
 - modified DnsUtil::getLocalHostname to store the hostname on first call in static
   Data - using a gate and a mutex to ensure it is also thread safe
 - this will improve performance for all invocations of DnsUtil::getLocalHostname 
-added initNetwork call in a few places that help, since it won't be called
 from DnsUtil::getLocalHostname at global static init time any longer



Revision 9036 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 18:48:47 2011 UTC (8 years, 6 months ago) by sgodin
File length: 3498 byte(s)
Diff to previous 9034
-fix for building basicClient without OpenSSL

Revision 9034 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 17:35:49 2011 UTC (8 years, 6 months ago) by sgodin
File length: 3476 byte(s)
Copied from: branches/b-client-outbound-20110213/resip/dum/test/basicClient.cxx revision 9030
Diff to previous 9011
-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 9011 - (view) (download) (annotate) - [select for diffs]
Added Sun Feb 13 20:30:51 2011 UTC (8 years, 7 months ago) by sgodin
Original Path: branches/b-client-outbound-20110213/resip/dum/test/basicClient.cxx
File length: 3476 byte(s)
-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.26