--- channels/chan_vpb.cc (Asterisk 13.20) +++ channels/chan_vpb.cc (working copy) @@ -112,3 +112,2 @@ -static const char desc[] = "VoiceTronix V6PCI/V12PCI/V4PCI API Support"; static const char tdesc[] = "Standard VoiceTronix API Driver"; @@ -364,29 +363,29 @@ static struct ast_channel_tech vpb_tech = { - type: "vpb", - description: tdesc, - capabilities: NULL, - properties: 0, - requester: vpb_request, - devicestate: NULL, - send_digit_begin: vpb_digit_begin, - send_digit_end: vpb_digit_end, - call: vpb_call, - hangup: vpb_hangup, - answer: vpb_answer, - read: vpb_read, - write: vpb_write, - send_text: NULL, - send_image: NULL, - send_html: NULL, - exception: NULL, - early_bridge: NULL, - indicate: vpb_indicate, - fixup: vpb_fixup, - setoption: NULL, - queryoption: NULL, - transfer: NULL, - write_video: NULL, - write_text: NULL, - func_channel_read: NULL, - func_channel_write: NULL, + .type = "vpb", + .description = tdesc, + .capabilities = NULL, + .properties = 0, + .requester = vpb_request, + .devicestate = NULL, + .send_digit_begin = vpb_digit_begin, + .send_digit_end = vpb_digit_end, + .call = vpb_call, + .hangup = vpb_hangup, + .answer = vpb_answer, + .read = vpb_read, + .write = vpb_write, + .send_text = NULL, + .send_image = NULL, + .send_html = NULL, + .exception = NULL, + .early_bridge = NULL, + .indicate = vpb_indicate, + .fixup = vpb_fixup, + .setoption = NULL, + .queryoption = NULL, + .transfer = NULL, + .write_video = NULL, + .write_text = NULL, + .func_channel_read = NULL, + .func_channel_write = NULL, }; @@ -394,29 +393,29 @@ static struct ast_channel_tech vpb_tech_indicate = { - type: "vpb", - description: tdesc, - capabilities: NULL, - properties: 0, - requester: vpb_request, - devicestate: NULL, - send_digit_begin: vpb_digit_begin, - send_digit_end: vpb_digit_end, - call: vpb_call, - hangup: vpb_hangup, - answer: vpb_answer, - read: vpb_read, - write: vpb_write, - send_text: NULL, - send_image: NULL, - send_html: NULL, - exception: NULL, - early_bridge: NULL, - indicate: NULL, - fixup: vpb_fixup, - setoption: NULL, - queryoption: NULL, - transfer: NULL, - write_video: NULL, - write_text: NULL, - func_channel_read: NULL, - func_channel_write: NULL, + .type = "vpb", + .description = tdesc, + .capabilities = NULL, + .properties = 0, + .requester = vpb_request, + .devicestate = NULL, + .send_digit_begin = vpb_digit_begin, + .send_digit_end = vpb_digit_end, + .call = vpb_call, + .hangup = vpb_hangup, + .answer = vpb_answer, + .read = vpb_read, + .write = vpb_write, + .send_text = NULL, + .send_image = NULL, + .send_html = NULL, + .exception = NULL, + .early_bridge = NULL, + .indicate = NULL, + .fixup = vpb_fixup, + .setoption = NULL, + .queryoption = NULL, + .transfer = NULL, + .write_video = NULL, + .write_text = NULL, + .func_channel_read = NULL, + .func_channel_write = NULL, };