/[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 3551 by jason, Mon Nov 22 23:34:31 2004 UTC
# Line 235  Line 235 
235    
236        virtual void onNewSubscription(ServerSubscriptionHandle h, const SipMessage& sub)        virtual void onNewSubscription(ServerSubscriptionHandle h, const SipMessage& sub)
237        {        {
238           if (h->getDocumentKey() != h->getPublisher())           if (h->getDocumentKey() != h->getSubscriber())
239           {           {
240              h->send(h->accept(403)); // !jf! is this the correct code?              h->send(h->accept(403)); // !jf! is this the correct code?
241           }           }
# Line 284  Line 284 
284        {        {
285           addTransport(UDP, 5100);           addTransport(UDP, 5100);
286           addTransport(TCP, 5100);           addTransport(TCP, 5100);
287           addTransport(TLS, 5101,           addTransport(TLS, 5101, V4, Data::Empty, me.uri().host(), Data::Empty);
          // addTlsTransport  
288                    
289           mProfile.clearSupportedMethods();           mProfile.clearSupportedMethods();
290           mProfile.addSupportedMethod(PUBLISH);           mProfile.addSupportedMethod(PUBLISH);

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

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.26