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电话呼入问题

15 years 5 days ago #3146 by zy7884
系统asterisk1.4.17,zaptel1.4.10
问题:用移动手机不能呼入系统,联通手机可以正常呼入,下面是用移动手机呼入时的pri日志,请教是什么原因
< Protocol Discriminator: Q.931 (8) len=52
< Call Ref: len= 2 (reference 875/0x36B) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< Ext: 1 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: Multirate (Nx64kbps) (24)
< Ext: 1 Transfer rate multiplier: 16 x 64
< Ext: 1 User information layer 1: A-Law (35)
< [18 03 a1 83 8f]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Preferred Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 15 ]
< [6c 0d 21 81 31 35 36 30 31 32 32 38 30 36 30]
< Calling Number (len=15) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation permitted, user number passed network screening (1) '15601228060' ]
< [70 09 c1 36 35 36 35 37 39 30 30]
< Called Number (len=11) [ Ext: 1 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '65657900' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Making new call for cr 875
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
q931.c:3298 q931_receive: call 875 on channel 15 enters state 6 (Call Present)
q931.c:2893 q931_release_complete: call 875 on channel 15 enters state 0 (Null)
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 875/0x36B) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 c1]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Bearer capability not implemented (65), class = Service or Option not Implemented (4) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
15 years 5 days ago #3147 by james.zhu
看看你的设置文件:zapata.conf,
james.zhu

15 years 4 days ago #3148 by zy7884
[channels]
language=cn
context=incoming
signalling=pri_cpe
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
pridialplan=local
;prilocaldialplan=local
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=-8
txgain=-8
;group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
;switchtype = euroisdn
switchtype = national
group=1
;Include AMP configs
#include zapata_additional.conf
channel = 1-15
channel = 17-31
channel = 32-46
channel = 48-62
channel = 63-77
channel = 79-93
15 years 4 days ago #3149 by james.zhu
改一下这两个值试试:
pridialplan=local// unknown 或者 natioanl
prilocaldialplan=local
刚才的问题是网络不兼容引起的。他的可能是 64kbps.
james.zhu

15 years 4 days ago #3150 by zy7884
pridialplan=local
prilocaldialplan=local
这样测试过,不可以
15 years 4 days ago #3151 by james.zhu
hello:
你让运营商改一下你的 设置, 支持 speech 的。
报错原因:
========================================
65 Bearer Capability Not Implemented.
Indicates that the equipment sending this cause does not support the bearer capability requested (i.e., requesting 64kb data when only speech is supported).
========================================
james.zhu

Time to create page: 0.033 seconds
Powered by Kunena Forum