Hi! I writing a application in objective-c to iphone. When I get a message I like to use the received data, but the first run, I will just write a personal message to the console. My Code: #include <pjsua-lib/pjsua.h> #include <pjsip_ua.h> #include <pjsip.h> #include <pjlib-util.h> #include <pjlib.h> #include <pjsua.h> #include <pjsip-simple/presence.h> ..... static void on_pager(pjsua_call_id call_id, const pj_str_t *from, const pj_str_t *to, const pj_str_t *contact, const pj_str_t *mime_type, const pj_str_t *body, pjsip_rx_data *rdata, pjsua_acc_id acc_id) { NSLog(@"I got the message. This is the on_pager."); } static void on_pager2(pjsua_call_id call_id, const pj_str_t *from, const pj_str_t *to, const pj_str_t *contact, const pj_str_t *mime_type, const pj_str_t *body, pjsip_rx_data *rdata, pjsua_acc_id acc_id) { NSLog(@"I got the message. This is the on_pager2."); } ... pjsua_config _pjsua_config; ... _pjsua_config.cb.on_pager2 = &on_pager2; _pjsua_config.cb.on_pager = &on_pager; But when I get a message I don't see the loging text and the pjsip handle the callback. Why could not override the method? Regards, Balazs -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100618/c2da2c70/attachment.html>