Bug#928712: ASTERISK-28409 due enabled deprecated modules
PICCORO McKAY Lenz
mckaygerhard at gmail.com
Thu May 9 14:59:42 BST 2019
Source: asterisk
Version: 1:16.2.1~dfsg-1
Severity: important
Tags: patch
when try to build the chan_vpb module i got taht error:
chan_vpb.cc:427:1: error: uninitialized const member
'ast_channel_tech::send_text_data' … quite xtrange … why?
a attached patch its provided from upstream bug
https://issues.asterisk.org/jira/browse/ASTERISK-28409 with solution
from communitity here:
https://community.asterisk.org/t/build-problems-asterisk-16/79593/2
Description: ASTERISK-28409
compiler dont like non-init vars struct
Author: PICCORO Lenz McKAY <mckaygerhard at gmail.com>
---
Origin: https://community.asterisk.org/t/build-problems-asterisk-16/79593/3
Bug: https://issues.asterisk.org/jira/browse/ASTERISK-28409
Bug-Debian:
Forwarded: yes
--- asterisk-16.2.1~dfsg.orig/channels/chan_vpb.cc
+++ asterisk-16.2.1~dfsg/channels/chan_vpb.cc
@@ -390,6 +390,10 @@ static struct ast_channel_tech vpb_tech
.write_text = NULL,
.func_channel_read = NULL,
.func_channel_write = NULL,
+ .get_pvt_uniqueid = NULL,
+ .cc_callback = NULL,
+ .pre_call = NULL,
+ .send_text_data = NULL,
};
static struct ast_channel_tech vpb_tech_indicate = {
@@ -424,6 +428,10 @@ static struct ast_channel_tech vpb_tech_
.write_text = NULL,
.func_channel_read = NULL,
.func_channel_write = NULL,
+ .get_pvt_uniqueid = NULL,
+ .cc_callback = NULL,
+ .pre_call = NULL,
+ .send_text_data = NULL,
};
#if defined(VPB_NATIVE_BRIDGING)
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ASTERISK-28409.patch
Type: text/x-patch
Size: 967 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20190509/447cea24/attachment.bin>
More information about the Pkg-voip-maintainers
mailing list