{
int count_pattern = 0;
int norval = 0;
- char *temp = NULL;
+ const char *temp = NULL;
for (; ;) {
/* Scans the string for the next value in the pattern. If none, it checks to see if any have been entered so far. */
}
if (!link->ss7.ss7) {
ast_log(LOG_ERROR, "Please specify isup timers after sigchan!\n");
- } else if (!ss7_set_isup_timer(link->ss7.ss7, strstr(v->name, ".") + 1, atoi(v->value))) {
+ /*! \todo Remove cast after libss7 API is changed to const char */
+ } else if (!ss7_set_isup_timer(link->ss7.ss7, (char*) strstr(v->name, ".") + 1, atoi(v->value))) {
ast_log(LOG_ERROR, "Invalid isup timer %s\n", v->name);
}
} else if (!strncasecmp(v->name, "mtp3_timer.", 11)) {
}
if (!link->ss7.ss7) {
ast_log(LOG_ERROR, "Please specify mtp3 timers after sigchan!\n");
- } else if (!ss7_set_mtp3_timer(link->ss7.ss7, strstr(v->name, ".") + 1, atoi(v->value))) {
+ /*! \todo Remove cast after libss7 API is changed to const char */
+ } else if (!ss7_set_mtp3_timer(link->ss7.ss7, (char*) strstr(v->name, ".") + 1, atoi(v->value))) {
ast_log(LOG_ERROR, "Invalid mtp3 timer %s\n", v->name);
}
} else if (!strcasecmp(v->name, "inr_if_no_calling")) {
int res;
#ifdef HAVE_PRI
- char *c;
+ const char *c;
int spanno;
int i;
int logicalspan;