diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-14 16:45:20 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-14 16:45:20 +0000 |
commit | 5406b158f07e67aab413b407d589920f2e120b4a (patch) | |
tree | ba4dcb386b3b87edd9bd70e852302f08ed159042 /pjsip-apps | |
parent | d56088c64c3def57ae8a9484814a9951475ae260 (diff) |
Ticket #274: the From parameter on_pager() callback contains Contact instead (thanks Nicholas Xu), and also allow non-text/plain IM messages
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1272 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/pjsua/pjsua_app.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c index 6fd74c62..fc86225a 100644 --- a/pjsip-apps/src/pjsua/pjsua_app.c +++ b/pjsip-apps/src/pjsua/pjsua_app.c @@ -1675,9 +1675,10 @@ static void on_pager(pjsua_call_id call_id, const pj_str_t *from, PJ_UNUSED_ARG(contact); PJ_UNUSED_ARG(mime_type); - PJ_LOG(3,(THIS_FILE,"MESSAGE from %.*s: %.*s", + PJ_LOG(3,(THIS_FILE,"MESSAGE from %.*s: %.*s (%.*s)", (int)from->slen, from->ptr, - (int)text->slen, text->ptr)); + (int)text->slen, text->ptr, + (int)mime_type->slen, mime_type->ptr)); } |