Changeset 201 for pjproject/trunk/pjsip/src/pjsua/pjsua_pres.c
- Timestamp:
- Feb 19, 2006 3:37:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua/pjsua_pres.c
r197 r201 99 99 &pjsua.contact_uri, &dlg); 100 100 if (status != PJ_SUCCESS) { 101 pjsua_perror("Unable to create UAS dialog for subscription", status); 101 pjsua_perror(THIS_FILE, 102 "Unable to create UAS dialog for subscription", 103 status); 102 104 return PJ_FALSE; 103 105 } … … 111 113 if (status != PJ_SUCCESS) { 112 114 PJ_TODO(DESTROY_DIALOG); 113 pjsua_perror("Unable to create server subscription", status); 115 pjsua_perror(THIS_FILE, "Unable to create server subscription", 116 status); 114 117 return PJ_FALSE; 115 118 } … … 135 138 status = pjsip_pres_accept(sub, rdata, 200, NULL); 136 139 if (status != PJ_SUCCESS) { 137 pjsua_perror("Unable to accept presence subscription", status); 140 pjsua_perror(THIS_FILE, "Unable to accept presence subscription", 141 status); 138 142 pj_list_erase(uapres); 139 143 return PJ_FALSE; … … 158 162 159 163 if (status != PJ_SUCCESS) { 160 pjsua_perror("Unable to create/send NOTIFY", status); 164 pjsua_perror(THIS_FILE, "Unable to create/send NOTIFY", 165 status); 161 166 pj_list_erase(uapres); 162 167 return PJ_FALSE; … … 305 310 NULL, &dlg); 306 311 if (status != PJ_SUCCESS) { 307 pjsua_perror("Unable to create dialog", status); 312 pjsua_perror(THIS_FILE, "Unable to create dialog", 313 status); 308 314 return; 309 315 } … … 313 319 if (status != PJ_SUCCESS) { 314 320 pjsua.buddies[index].sub = NULL; 315 pjsua_perror("Unable to create presence client", status); 321 pjsua_perror(THIS_FILE, "Unable to create presence client", 322 status); 316 323 return; 317 324 } … … 323 330 if (status != PJ_SUCCESS) { 324 331 pjsua.buddies[index].sub = NULL; 325 pjsua_perror("Unable to create initial SUBSCRIBE", status); 332 pjsua_perror(THIS_FILE, "Unable to create initial SUBSCRIBE", 333 status); 326 334 return; 327 335 } … … 330 338 if (status != PJ_SUCCESS) { 331 339 pjsua.buddies[index].sub = NULL; 332 pjsua_perror("Unable to send initial SUBSCRIBE", status); 340 pjsua_perror(THIS_FILE, "Unable to send initial SUBSCRIBE", 341 status); 333 342 return; 334 343 } … … 365 374 366 375 } else { 367 pjsua_perror("Unable to unsubscribe presence", status); 376 pjsua_perror(THIS_FILE, "Unable to unsubscribe presence", 377 status); 368 378 } 369 379 } … … 397 407 status = pjsip_endpt_register_module( pjsua.endpt, &mod_pjsua_pres); 398 408 if (status != PJ_SUCCESS) { 399 pjsua_perror("Unable to register pjsua presence module", status); 409 pjsua_perror(THIS_FILE, "Unable to register pjsua presence module", 410 status); 400 411 } 401 412
Note: See TracChangeset
for help on using the changeset viewer.