Changeset 102:b23e4a0c5ff2 in verona
- Timestamp:
- Mar 31, 2010 2:37:35 PM (3 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
phcpp/testphcpp.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
phcpp/testphcpp.cpp
r98 r102 282 282 </presence>\n" 283 283 284 voidpublishPresence(int vlid, bool status,const std::string& activity, int timeout)284 int publishPresence(int vlid, bool status,const std::string& activity, int timeout) 285 285 { 286 286 … … 290 290 std::string realAct = activity; 291 291 const char *mood="1"; 292 292 int i = 0; 293 293 294 294 if (prefix.length()) … … 306 306 307 307 308 api.publish(vlid, "sip:" + uri, "presence" , "application/pidf+xml", body, timeout);308 i = api.publish(vlid, "sip:" + uri, "presence" , "application/pidf+xml", body, timeout); 309 309 310 310 delete [] body; 311 312 311 return i; 313 312 } 314 313
Note: See TracChangeset
for help on using the changeset viewer.
