ОС:
[root@PBX outcoming]# uname -a
Linux PBX 2.6.32-220.17.1.el6.i686 #1 SMP Tue May 15 22:09:39 BST 2012 i686 i686 i386 GNU/Linux
Asterisk:
PBX*CLI> core show version
Asterisk 10.3.0 built by root @ PBX on a i686 running Linux on 2012-05-25 11:00:22 UTC
железо:
01:01.0 Communication controller: Device 1b74:2410 (rev 14)
Subsystem: Device 1b74:0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at ff880000 (32-bit, non-prefetchable) [size=512K]
Kernel driver in use: opvxa24xx
Kernel modules: opvxa24xx
dahdi:
[root@PBX dahdi]# cat system.conf
# Span 1: OPVXA24XX/24 "OpenVox A2410 Board 25" (MASTER)
fxsks=1
echocanceller=mg2,1
...............порезано.......................
fxsks=7
echocanceller=mg2,7
...............порезано.......................
# Global data
loadzone = ru
defaultzone = ru
dahdi-channels.conf
[root@PBX dahdi]# cat dahdi-channels.conf
...............порезано.......................
[PSTN](!)
language=ru
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
immediate=no
context=PSTN
signaling=fxs_ks
cidstart=ring
cidsignalling=dtmf
relaxdtmf=yes
faxdetect=both
faxbuffers=>8,full
busydetect=yes
busycount=4
callprogress=yes
...............порезано.......................
;Город
[fxs_1_1](PSTN)
callerid=PSTN
dahdichan=7
group=2
...............порезано.......................
[root@PBX dahdi]# cat indications.conf
[general]
country=ru ; default location
...............порезано.......................
[ru]
; References:
;
http://www.minsvyaz.ru/site.shtml?id=1806
;
http://www.aboutphone.info/lib/gost/45-223-2001.html
description = Russian Federation / ex Soviet Union
ringcadence = 1000,4000
dial = 425
busy = 425/350,0/350
ring = 425/1000,0/4000
congestion = 425/175,0/175
callwaiting = 425/200,0/5000
record = 1400/400,0/15000
info = 950/330,1400/330,1800/330,0/1000
dialrecall = 425/400,0/40
stutter = !425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425
екстеншен - звонок наружу:
[PSTN]
exten => _XXXXXXXXXXX,1,Set(_REC_UNIQUEID=${UNIQUEID})
exten => _XXXXXXXXXXX,n,Dial(DAHDI/g2/${EXTEN},,m)
При всем при этом:
1. звоню себе сотовый
2. звонок проходит
3. я трубку не поднимаю
4. через 20-25 секунд dahdi распознает гудки дозвона как занято и "кладет" трубку.
== Using SIP RTP CoS mark 5
-- Executing [8919XXXXXXX@sip-outcoming:2] Set("SIP/2005-00000000", "_REC_UNIQUEID=1338952852.0") in new stack
-- Executing [8919XXXXXXX@sip-outcoming:3] Dial("SIP/2005-00000000", "DAHDI/g2/8919XXXXXXX,60,m") in new stack
-- Called DAHDI/g2/8919XXXXXXX
-- Started music on hold, class 'default', on SIP/2005-00000000
-- DAHDI/7-1 is busy
-- Hanging up on 'DAHDI/7-1'
-- Hungup 'DAHDI/7-1'
== Everyone is busy/congested at this time (1:1/0/0)
-- Stopped music on hold on SIP/2005-00000000
-- Auto fallthrough, channel 'SIP/2005-00000000' status is 'BUSY'
Такая же история со всеми исходящими звонками(кроме внутренних звонков SIP-SIP)!!! Т.е. отказываться от
busydetect???
З.Ы. В первом посте было указано что:
-- DAHDI/7-1 answered SIP/2005-0000004f
но там я еще не использовал
callprogress=yes