Changeset 3352
- Timestamp:
- Oct 21, 2010 2:22:41 AM (14 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/python/_pjsua.c
r3010 r3352 2184 2184 2185 2185 status = pjsua_im_send(acc_id, &to, mime_type, &content, 2186 &msg_data, (void *)user_data);2186 &msg_data, (void*)(long)user_data); 2187 2187 if (pool) 2188 2188 pj_pool_release(pool); … … 3711 3711 3712 3712 status = pjsua_call_send_im(call_id, mime_type, &content, 3713 &msg_data, (void *)user_data);3713 &msg_data, (void*)(long)user_data); 3714 3714 3715 3715 if (pool) -
pjproject/trunk/pjsip-apps/src/python/_pjsua.h
r3007 r3352 1667 1667 PyObject *contact_uri_params; 1668 1668 int require_100rel; 1669 int require_timer;1669 int use_timer; 1670 1670 unsigned timer_se; 1671 1671 unsigned timer_min_se; … … 1745 1745 obj->contact_uri_params = PyString_FromPJ(&cfg->contact_uri_params); 1746 1746 obj->require_100rel = cfg->require_100rel; 1747 obj-> require_timer = cfg->require_timer;1747 obj->use_timer = cfg->use_timer; 1748 1748 obj->timer_se = cfg->timer_setting.sess_expires; 1749 1749 obj->timer_min_se = cfg->timer_setting.min_se; … … 1795 1795 cfg->contact_uri_params = PyString_ToPJ(obj->contact_uri_params); 1796 1796 cfg->require_100rel = obj->require_100rel; 1797 cfg-> require_timer = obj->require_timer;1797 cfg->use_timer = obj->use_timer; 1798 1798 cfg->timer_setting.sess_expires = obj->timer_se; 1799 1799 cfg->timer_setting.min_se = obj->timer_min_se; … … 1948 1948 }, 1949 1949 { 1950 "require_timer", T_INT, 1951 offsetof(PyObj_pjsua_acc_config, require_timer), 0, 1952 "Require session timer." 1950 "use_timer", T_INT, 1951 offsetof(PyObj_pjsua_acc_config, use_timer), 0, 1952 "Use SIP session timers? (default=1)" 1953 "0:inactive, 1:optional, 2:mandatory, 3:always" 1953 1954 }, 1954 1955 {
Note: See TracChangeset
for help on using the changeset viewer.