asterisk 1.8.16+chan_ss7 version 2.1.1b
${CALLERID(rdnis)}变量取不到信息问题,解决
编辑 funcs/func_callerid.c
chan->redirecting.from.number.valid值为空,致使号码号码赋值不生效
注释掉判断valid语句,重新编译即可解决
918 if (member.argc == 1 && !strcasecmp("rdnis", member.argv[0])) {
919 /*if (chan->redirecting.from.number.valid
920 && chan->redirecting.from.number.str) {
921 */
922 if (chan->redirecting.from.number.str) {
923 ast_copy_string(buf, chan->redirecting.from.number.str, len);
924 }