Ignore:
Timestamp:
Dec 26, 2006 12:11:48 AM (14 years ago)
Author:
bennylp
Message:

Added DTMF callback support all the way to PJSUA API (ticket #48)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r861 r863  
    16231623} 
    16241624 
     1625/* 
     1626 * DTMF callback. 
     1627 */ 
     1628static void call_on_dtmf_callback(pjsua_call_id call_id, int dtmf) 
     1629{ 
     1630    PJ_LOG(3,(THIS_FILE, "Incoming DTMF on call %d: %c", call_id, dtmf)); 
     1631} 
    16251632 
    16261633/* 
     
    28192826    app_config.cfg.cb.on_call_media_state = &on_call_media_state; 
    28202827    app_config.cfg.cb.on_incoming_call = &on_incoming_call; 
     2828    app_config.cfg.cb.on_dtmf_digit = &call_on_dtmf_callback; 
    28212829    app_config.cfg.cb.on_reg_state = &on_reg_state; 
    28222830    app_config.cfg.cb.on_buddy_state = &on_buddy_state; 
Note: See TracChangeset for help on using the changeset viewer.