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

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

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

revision 2991 by derek, Tue Jun 15 08:09:24 2004 UTC revision 3150 by jason, Mon Jul 26 20:47:35 2004 UTC
# Line 106  Line 106 
106     clientDum.setClientAuthManager(&clientAuth);     clientDum.setClientAuthManager(&clientAuth);
107     clientDum.getProfile()->setDefaultRegistrationTime(70);     clientDum.getProfile()->setDefaultRegistrationTime(70);
108    
109     NameAddr aor("sip:101@proxy.internal.xten.net");     NameAddr from("sip:101@proxy.internal.xten.net");
110     clientDum.getProfile()->setDefaultAor(aor);     clientDum.getProfile()->setDefaultFrom(from);
111    
112    
113  //   profile.addDigestCredential( "xten.gloo.net", "derek@xten.gloo.net", "123456" );  //   profile.addDigestCredential( "xten.gloo.net", "derek@xten.gloo.net", "123456" );
114  //   profile.addDigestCredential( "sphone.vopr.vonage.net", "13015604286", "" );  //   profile.addDigestCredential( "sphone.vopr.vonage.net", "13015604286", "" );
115    
116     SipMessage & regMessage = clientDum.makeRegistration(aor, new RegisterAppDialogSet(clientDum));     SipMessage & regMessage = clientDum.makeRegistration(from, new RegisterAppDialogSet(clientDum));
117     NameAddr contact;     NameAddr contact;
118  //   contact.uri().user() = "13015604286";    //   contact.uri().user() = "13015604286";  
119  //   regMessage.header(h_Contacts).push_back(contact);    //   regMessage.header(h_Contacts).push_back(contact);  

Legend:
Removed from v.2991  
changed lines
  Added in v.3150

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27