keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions on Asterisk with SS7 Chinese variant. (有关Asterisk+中国七号信令的问题)

asteirsk接收号码不全

11 years 10 months ago #8155 by bbull
我用的是chan_ss7 2.1.0 ,运营商分两次送的号码,asterisk接收的号码不全,比如说我用固话打0085228977668,运营商分两次送号码,最后在号码后面加上#,送到asterisk的应该是0085228977668#,但asterisk ss7中的DNI成了00008522897,麻烦工程师们帮忙解答一下,谢谢
11 years 10 months ago #8156 by tim.june
在你打电话前执行命令抓包:
ss7 dump start /tmp/ss7.pcap both
然后进行呼叫,呼叫完后停止抓包:
ss7 dump stop
把抓包文件提交到附件。

i] Last edited by tim.june at 2012-6-18 09:41 [/i

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
11 years 10 months ago #8162 by tim.june
请向服务商那边确认一下拨号属性是否为local。如果是,请修改代码如下:
修改源码 l4isup.c

if(result_len > plen) {
ast_log(LOG_DEBUG, "Phonenumber too large to fit in parameter, "
"len %d < %d.\n", plen, result_len);
return -1;
}

/*param[0] = (is_odd << 7) | (is_international ? 4 : 3); */

param[0] = (is_odd << 7) | 1;
param[1] = 0x10 | si; /* Number complete; ISDN number plan; + screening indicator */
if(pres_restr) {
param[1] |= (0x1 << 2);
}

有问题加我QQ:2283703418

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
11 years 10 months ago #8167 by bbull
您好,拨号属性是不是指的是主叫地址属性,运营商的主叫地址属性是国际的,
Time to create page: 0.054 seconds
Powered by Kunena Forum