Changeset 499:8844ce6b2c20 in verona
- Timestamp:
- Jun 7, 2012 11:50:50 AM (12 months ago)
- Branch:
- default
- Files:
-
- 4 edited
-
phapi/phapi.c (modified) (2 diffs)
-
phapi/phapi.h (modified) (2 diffs)
-
phcpp/phapipp.cpp (modified) (1 diff)
-
phcpp/phapipp.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
phapi/phapi.c
r481 r499 2020 2020 2021 2021 PHAPI_EXPORT int 2022 phAnswerMessage(int tid, int code) 2023 { 2024 int i; 2025 2026 eXosip_lock(); 2027 i = eXosip_message_send_answer(tid, code, NULL); 2028 eXosip_unlock(); 2029 return i >= 0 ? i : -PH_BADARG; 2030 } 2031 2032 PHAPI_EXPORT int 2022 2033 phLineSubscribe(int vlid, const char *uri, const int winfo) 2023 2034 { … … 6889 6900 info.rawctt = rawCtt; 6890 6901 6891 eXosip_message_send_answer(je->tid, 202, NULL); 6902 if (!phcfg.no_msg_auto_reply) 6903 eXosip_message_send_answer(je->tid, 202, NULL); 6892 6904 if (phcb->msgProgress != NULL) 6893 6905 phcb->msgProgress(je->tid, &info); -
phapi/phapi.h
r465 r499 482 482 483 483 484 PHAPI_EXPORT int 485 phAnswerMessage(int tid, int code); 486 487 484 488 /** 485 489 * Subscribe to presence … … 1333 1337 int qos; /* QoS bits to add to TOS to : 0x2 min cost, 0x4 max reliability, 0x8 max throughput, 0x10 min delay */ 1334 1338 unsigned int hdxlevel; /* if bit31=1 HDX level is valid and bits0-30 contains the power threshold */ 1335 1339 int no_msg_auto_reply; /* when 1 avoid auto answering message requests */ 1336 1340 }; 1337 1341 -
phcpp/phapipp.cpp
r466 r499 180 180 { 181 181 return phLineSendMessage3(vlid, target, to, buff, mime, hdrs.size(), (const struct ph_hdr_val*) &hdrs.front() ); 182 } 183 184 int phapi::answerMessage(int tid, int code) 185 { 186 return phAnswerMessage(tid, code); 182 187 } 183 188 -
phcpp/phapipp.h
r498 r499 121 121 const std::vector<std::pair<const char*, const char* > >& hdrs, const char* target = 0); 122 122 123 virtual int answerMessage(int tid, int code); 124 123 125 virtual int subscribe(int vlid, const char* to, int winfo, int use_proxy = 1, int expire = 600, 124 126 const std::vector<std::pair<const char*, const char* > >* hdrs = 0);
Note: See TracChangeset
for help on using the changeset viewer.
