keywords:pbx ip pbx voip gateway gsm gateway

× Questions on Asterisk with SS7 Chinese variant. (有关Asterisk+中国七号信令的问题)

無法獲取原始被叫號碼

6 years 2 months ago #9063 by markgo
hi,
asterisk無法獲取rni號碼,即系原始被叫號碼。

舉個例子:
用戶甲手機號碼:15900000000
用戶乙手機號碼:13800000000
ASTERISK SS7號碼:13900000000

用戶乙手機無條件呼叫轉移去ASTERISK ,
當用戶甲呼叫用戶乙時,
ASTERISK正常應該能獲取到以下三組號碼:
主叫號碼 =>甲手機號碼 =>15900000000 !ANI
原始被叫 =>乙手機號碼 =>13800000000 !RNI
被叫號碼 => ASTERISK =>13900000000 !DNI

但是在ASTERISK CLI下,我只能看到如下信息:
-- Recv IAM CIC=23   ANI=15900000000 DNI=13900000000 RNI= redirect=yes/0 complete=0
其中ANI和DNI都能捕抓到,但是RNI確一直为空,
另外用Wireshark截包看過了,
     Frame 2: 56 bytes on wire (448 bits), 56 bytes captured (448 bits)
     Message Transfer Part Level 2
     Message Transfer Part Level 3
     ISDN User Part
        CIC: 2906
        Message type: Answer (9)
        Pointer to start of optional part: 9
        Optional forward call indicators: spare (1)
        Optional forward call indicators: non-CUG call (0)
        Calling Party Number: 15900000000F
        Original Called Number: 138000000
        Redirection Information
        End of optional parameters (0)
那麼證明運營商方面是有送出RNI號碼的,或者說7號信令本來就是帶有原始被叫信息,只是我能通過什麼方式獲取?
謝謝。
6 years 2 months ago #9064 by miaolin
请问你用的是chan_ss7还是libss7?
6 years 2 months ago #9065 by markgo
chan_ss7 version 2.2.0
Asterisk 11.4.0 built by palosanto @ rpmbuild32-2.elastix.palosanto.com on a i686 running Linux
D430E
CHNIA SS7 ISUP


我能正常接聽,打出電話,
只是無法獲取原始被叫號碼。

i] Last edited by markgo at 2013-9-10 10:58 [/i
6 years 2 months ago #9066 by miaolin
6 years 2 months ago #9067 by markgo
可是我的chan_ss7是2.2.0版本,而這個補丁是2.1.0版本,能通用嗎?
謝謝
6 years 2 months ago #9068 by miaolin
你也可以用2.1.0,除非你要用到什么特别功能一定要2.2.0支持的?
Time to create page: 0.022 seconds
Powered by Kunena Forum