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

Diff of /main/resip/dum/test/certServer.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3550 by jason, Mon Nov 22 23:19:18 2004 UTC revision 3593 by jason, Tue Nov 23 06:13:16 2004 UTC
# Line 2  Line 2 
2  #  define usleep(t) Sleep(t)  #  define usleep(t) Sleep(t)
3  #endif  #endif
4    
5    #define HAVE_POPT_H
6    
7  #if defined (HAVE_POPT_H)  #if defined (HAVE_POPT_H)
8  #include <popt.h>  #include <popt.h>
9  #endif  #endif
# Line 235  Line 237 
237    
238        virtual void onNewSubscription(ServerSubscriptionHandle h, const SipMessage& sub)        virtual void onNewSubscription(ServerSubscriptionHandle h, const SipMessage& sub)
239        {        {
240           if (h->getDocumentKey() != h->getPublisher())           if (h->getDocumentKey() != h->getSubscriber())
241           {           {
242              h->send(h->accept(403)); // !jf! is this the correct code?              h->send(h->accept(403)); // !jf! is this the correct code?
243           }           }
# Line 284  Line 286 
286        {        {
287           addTransport(UDP, 5100);           addTransport(UDP, 5100);
288           addTransport(TCP, 5100);           addTransport(TCP, 5100);
289           addTransport(TLS, 5101,           addTransport(TLS, 5101, V4, Data::Empty, me.uri().host(), Data::Empty);
          // addTlsTransport  
290                    
291           mProfile.clearSupportedMethods();           mProfile.clearSupportedMethods();
292           mProfile.addSupportedMethod(PUBLISH);           mProfile.addSupportedMethod(PUBLISH);

Legend:
Removed from v.3550  
changed lines
  Added in v.3593

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27