Е1 подвисание при звонках
В лог попадает сообщение
| Code: |
| -- Requested transfer capability: 0x00 - SPEECH |
После него пауза. Потом вызов все-таки проходит.
Если помотреть дамп PRI, то вот
| Code: |
| -- Requested transfer capability: 0x00 - SPEECH > Protocol Discriminator: Q.931 (8) len=37 > TEI=0 Call Ref: len= 2 (reference 14/0xE) (Sent from originator) > Message Type: SETUP (5) > [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) > User information layer 1: A-Law (35) > [18 04 e1 81 83 81] > Channel ID (len= 6) [ Ext: 1 IntID: Explicit Other(PRI) Spare: 0 Preferred Dchan: 0 > ChanSel: As indicated in following octets > Ext: 1 DS1 Identifier: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 1 Type: CPE] > [6c 09 21 80 36 34 30 37 36 30 30] > Calling Number (len=11) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) > Presentation: Presentation permitted, user number not screened (0) '6407600' ] > [70 08 80 33 33 34 31 32 31 32] > Called Number (len=10) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '3341212' ] q931.c:4858 q931_setup: Call 32782 enters state 1 (Call Initiated). Hold state: Idle -- Called g1/3341212 < Protocol Discriminator: Q.931 (8) len=10 < TEI=0 Call Ref: len= 2 (reference 14/0xE) (Sent to originator) < Message Type: SETUP ACKNOWLEDGE (13) < [18 03 a9 83 81] < Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0 < ChanSel: As indicated in following octets < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 1 Type: CPE] Received message for call 0x9247f60 on 0x9304da8 TEI/SAPI 0/0, call->pri is 0x9304da8 TEI/SAPI 0/0 -- Processing IE 24 (cs0, Channel Identification) q931.c:7176 post_handle_q931_message: Call 32782 enters state 2 (Overlap Sending). Hold state: Idle < Protocol Discriminator: Q.931 (8) len=9 < TEI=0 Call Ref: len= 2 (reference 14/0xE) (Sent to originator) < Message Type: CALL PROCEEDING (2) < [1e 02 82 82] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ] Received message for call 0x9247f60 on 0x9304da8 TEI/SAPI 0/0, call->pri is 0x9304da8 TEI/SAPI 0/0 -- Processing IE 30 (cs0, Progress Indicator) q931.c:6898 post_handle_q931_message: Call 32782 enters state 3 (Outgoing Call Proceeding). Hold state: Idle < Protocol Discriminator: Q.931 (8) len=5 -- DAHDI/1-1 is proceeding passing it to SIP/7539-00001960 |
Настройки
/etc/dahdi/daidh.conf
| Code: |
| span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 echocanceller=mg2,1-15,17-31 # Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" span=2,2,0,ccs,hdb3,crc4 # termtype: te bchan=32-46,48-62 dchan=47 echocanceller=mg2,32-46,48-62 alaw=1-62 # Global data loadzone = ru defaultzone = ru |
chan_dahdi.conf
| Code: |
| [trunkgroups] trunkgroup => 1,16 trunkgroup => 2,47 spanmap => 1,1,1 spanmap => 2,2,2 [channels] language=ru group=1 context=from-pstn switchtype = euroisdn signalling = pri_cpe callerid=asreceived usecallerid=yes hidecallerid=no callwaiting=yes overlapdial=yes pridialplan=national usecallingpres=yes callwaitingcallerid=yes rxgain=0.0 txgain=0.0 threewaycalling=yes echocancel=yes echocancelwhenbridged=yes faxdetect=both channel => 1-15,17-31,32-46,48-62 |
Каким образом можно добавить в SETUP Sending Complete???
overlapdial=no если нужен сендин комплит