#ifdef WITH_VOOTP
p_vootp = NULL;
#endif
+ /* D-O-V */
+ dov_init();
/* append port to chain */
next = NULL;
if (p_record)
close_record(0, 0);
+ dov_exit();
+
classuse--;
/* disconnect port from endpoint */
set_vootp(¶m->vootp);
return 1;
#endif
+
+ case MESSAGE_DOV_REQUEST: /* Data-Over-Voice message */
+ PDEBUG(DEBUG_PORT, "PORT(%s) sending data over voice message (len=%d)\n", p_name, param->dov.length);
+ dov_sendmsg(param->dov.data, param->dov.length, (enum dov_type)param->dov.type, param->dov.level);
+ return 1;
+
+ case MESSAGE_DOV_LISTEN: /* Data-Over-Voice listen order */
+ PDEBUG(DEBUG_PORT, "PORT(%s) sending data over voice listen order\n", p_name);
+ dov_listen((enum dov_type)param->dov.type);
+ return 1;
}
return 0;