fix warnings
This commit is contained in:
parent
457f98686c
commit
0a000613e2
|
@ -143,7 +143,7 @@ switch_status_t mg_is_ito_pkg_req(megaco_profile_t* mg_profile, MgMgcoCommand *c
|
|||
(reqEvtPar->u.other.val.u.eq.type.val == MGT_VALTYPE_UINT32))
|
||||
{
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_INFO," Received Inactivity timer value [%d]\n",
|
||||
reqEvtPar->u.other.val.u.eq.u.decInt.val);
|
||||
(int)reqEvtPar->u.other.val.u.eq.u.decInt.val);
|
||||
|
||||
mg_profile->inact_tmr = reqEvtPar->u.other.val.u.eq.u.decInt.val/MG_INACTIVITY_TMR_RESOLUTION;
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ switch_status_t config_profile(megaco_profile_t *profile, switch_bool_t reload)
|
|||
const char *prefix = switch_xml_attr(mg_term, "termination-id-prefix");
|
||||
//const char *sztermination_id_base = switch_xml_attr(mg_term, "termination-id-base");
|
||||
//const char *tech = switch_xml_attr(mg_term, "tech");
|
||||
const char *channel_prefix = switch_xml_attr(mg_term, "channel-prefix");
|
||||
//const char *channel_prefix = switch_xml_attr(mg_term, "channel-prefix");
|
||||
const char *channel_map = switch_xml_attr(mg_term, "channel-map");
|
||||
const char *szspan_id = switch_xml_attr(mg_term, "span-id");
|
||||
const int span_id = !zstr(szspan_id) ? atoi(szspan_id) : 0;
|
||||
|
|
Loading…
Reference in New Issue