Ignore:
Timestamp:
Feb 14, 2008 3:50:46 PM (14 years ago)
Author:
bennylp
Message:

Ticket #477: DTMF digit callback error in Python

File:
1 edited

Legend:

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

    r1706 r1797  
    153153static void cb_on_dtmf_digit(pjsua_call_id call_id, int digit) 
    154154{ 
    155     if (PyCallable_Check(g_obj_callback->on_call_media_state)) 
     155    if (PyCallable_Check(g_obj_callback->on_dtmf_digit)) 
    156156    { 
    157157        char digit_str[10]; 
     
    162162 
    163163        PyObject_CallFunctionObjArgs( 
    164             g_obj_callback->on_call_media_state, 
     164            g_obj_callback->on_dtmf_digit, 
    165165            Py_BuildValue("i",call_id), 
    166166            PyString_FromString(digit_str), 
Note: See TracChangeset for help on using the changeset viewer.