dump_prov_ies(output, maxlen, value, len);
}
-static struct iax2_ie {
+struct iax2_ie {
int ie;
char *name;
void (*dump)(char *output, int maxlen, void *value, int len);
-} infoelts[] = {
+};
+static struct iax2_ie infoelts[] = {
{ IAX_IE_CALLED_NUMBER, "CALLED NUMBER", dump_string },
{ IAX_IE_CALLING_NUMBER, "CALLING NUMBER", dump_string },
{ IAX_IE_CALLING_ANI, "ANI", dump_string },
int found;
char interp[1024];
char tmp[1024];
+
if (len < 2)
return;
while(len > 2) {
"CNLINE ",
"REDIR ",
"T38PARM",
- "CONTRCC",
+ "CC ERR!",/* This must never go across an IAX link. */
"SRCCHG ",
"READACT",
"AOC ",