keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

pri电话呼入问题

14 years 10 months ago #3531 by miaolin
Q.931标准里面,如果呼叫方打算进行bearer capability negotiation,就可以发送2个bearer capability,第一个是高优先级的,但允许设备不去支持bearer capability negotiation.

这个问题可能要修改libpri或者chan_zap.c,你们谁能提供一个测试环境?要求有ssh root帐号,可以随便启动asterisk和zaptel,另外提供能够呼通和不能呼通的主叫号码各一个。

先试试james的办法,应该能行。

i] Last edited by miaolin at 2009-7-14 13:51 [/i
14 years 10 months ago #3532 by james.zhu
这个错误的里面是发了两次:
=================================
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< User information layer 1: A-Law (35)
< [04 04 80 98 90 a3]
< Bearer Capability (len= 6) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: (Nx64kbps) (24)
< Ext: 1 Transfer rate multiplier: 16 x 64
< User information layer 1: A-Law (35)
=====================================================
两个中,第一个好像是正确的。第二个有点不对。

14 years 10 months ago #3533 by james.zhu
The following recommendations are made on the use of cause values.q931 标准的报错解释:1) When the calling user or called user is not an authorized subscriber of the multirate circuit-mode bearer capability, cause No. 57 bearer capability not authorized shall be returned to the calling user.2) When a network (public or private)cannot support the specified transfer rate or bearer capability, cause No. 65 bearer capability not implemented shall be returned to the calling user.3) When there are insufficient channels on a single interface to support the information transfer rate requested, cause No. 34 no circuit/channel available or cause No. 17 user busy shall be returned to the calling user (see Recommendation Q.850 which is also reproduced in Appendix I).

14 years 10 months ago #3536 by cncba
好了!
真的太谢谢朱工了!同样也谢谢热心的miaolin和楼主!
恐怕在中国这种问题只有你们几位能解决了!
只是发现后来的LOG跟之前贴出来的错误LOG基本没什么差别,只有一行消失了:
q931.c:3104 q931_release_complete: call 1185 on channel 24 enters state 0 (Null)
无论如何,现在能用了!

顺便再share一个我们遇到的另外的问题吧,
我们申请了200个电话码和一个E1,之前在用电信的时候,呼出的电话,对方会看到正确 的的电话号码会(比如****0012) 从电信换成网通之后,无论用什么号码呼出,对方只能看到****0000的号码,结果人家回复的时候总是打到老板那里。经过摸索和请教,发现在设置callerid的时候,电信可以设置为010*******,但网通必须设置为10********。
希望能对有同样问题的朋友有所帮助。:D

最后再次谢谢诸位!

i] Last edited by cncba at 2009-7-17 10:53 [/i
14 years 10 months ago #3537 by james.zhu
good news! :)

Time to create page: 0.034 seconds
Powered by Kunena Forum