Changeset 1797 for pjproject/trunk/pjsip-apps/src/py_pjsua/py_pjsua.c
- Timestamp:
- Feb 14, 2008 3:50:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/py_pjsua/py_pjsua.c
r1706 r1797 153 153 static void cb_on_dtmf_digit(pjsua_call_id call_id, int digit) 154 154 { 155 if (PyCallable_Check(g_obj_callback->on_ call_media_state))155 if (PyCallable_Check(g_obj_callback->on_dtmf_digit)) 156 156 { 157 157 char digit_str[10]; … … 162 162 163 163 PyObject_CallFunctionObjArgs( 164 g_obj_callback->on_ call_media_state,164 g_obj_callback->on_dtmf_digit, 165 165 Py_BuildValue("i",call_id), 166 166 PyString_FromString(digit_str),
Note: See TracChangeset
for help on using the changeset viewer.