1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
CString gXMLProfile = "\
<provision key=\"5B29C449-29EE-4fd8-9E3F-04AED077690E\"\n\
name=\"n4w.xml\">\n\
\n\
<user account=\"ange\"\n\
password=\"test\"\n\
uri=\"[email protected]\"\
/>\n\
\n\
<sipsrv addr=\"192.192.000.000.000\"\n\
protocol=\"udp\"\n\
auth=\"digest\"\n\
role=\"proxy\">\n\
<session party=\"first\" type=\"pc2pc\" />\n\
<session party=\"first\" type=\"pc2ph\" />\n\
<session party=\"first\" type=\"im\" />\n\
</sipsrv>\n\
<sipsrv addr=\"192.000.000.000\"\n\
protocol=\"udp\"\n\
auth=\"digest\"\n\
role=\"registrar\">\n\
</sipsrv>\n\
\n\
</provision>\n";
bstrXMLProfile=gXMLProfile.AllocSysString();
hr = pIRTCClientProvisioning->CreateProfile( bstrXMLProfile,
&pIRTCProfile ); |