Changeset 102:b23e4a0c5ff2 in verona


Ignore:
Timestamp:
Mar 31, 2010 2:37:35 PM (3 years ago)
Author:
Nikita Kozlov <nikita@…>
Branch:
default
Message:

test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phcpp/testphcpp.cpp

    r98 r102  
    282282</presence>\n" 
    283283 
    284 void publishPresence(int vlid, bool status,const std::string& activity, int timeout)  
     284int publishPresence(int vlid, bool status,const std::string& activity, int timeout)  
    285285{ 
    286286 
     
    290290    std::string realAct = activity; 
    291291    const char *mood="1"; 
    292  
     292    int i = 0; 
    293293  
    294294    if (prefix.length()) 
     
    306306 
    307307 
    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); 
    309309 
    310310    delete [] body; 
    311  
    312  
     311    return i; 
    313312} 
    314313 
Note: See TracChangeset for help on using the changeset viewer.