Код: Выделить всё
Connected to Asterisk 1.6.2.17.2 currently running on asterisk (pid = 10002)
Verbosity is at least 3
== Using SIP RTP CoS mark 5
-- Executing [94513260@default:1] NoOp("SIP/10.224.25.14-00000002", ""Starting A-number analysis"") in new stack
-- Executing [94513260@default:2] MixMonitor("SIP/10.224.25.14-00000002", "/var/record/1.office/call-center/1000-94513260-2011.04.23-10`59`33.wav") in new stack
-- Executing [94513260@default:3] NoOp("SIP/10.224.25.14-00000002", ""Finishing A-number analysis"") in new stack
-- Executing [94513260@default:4] Set("SIP/10.224.25.14-00000002", "CALLERID(num)=0029162532") in new stack
-- Executing [94513260@default:5] Set("SIP/10.224.25.14-00000002", "CALLERID(name)=ast-gotti-gw") in new stack
-- Executing [94513260@default:6] Dial("SIP/10.224.25.14-00000002", "SIP/4513260@sipnet") in new stack
== Begin MixMonitor Recording SIP/10.224.25.14-00000002
== Using SIP RTP CoS mark 5
-- Called 4513260@sipnet
[Apr 23 10:59:46] WARNING[14119]: chan_sip.c:3828 retrans_pkt: Maximum retries exceeded on transmission 477177d424d4d22d4acd9df0179eef00@sipnet.ru for seqno 102 (Critical Request) -- See doc/sip-retransmit.txt.
[Apr 23 10:59:46] WARNING[14119]: chan_sip.c:3855 retrans_pkt: Hanging up call 477177d424d4d22d4acd9df0179eef00@sipnet.ru - no reply to our critical packet (see doc/sip-retransmit.txt).
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [94513260@default:7] Hangup("SIP/10.224.25.14-00000002", "") in new stack
== Spawn extension (default, 94513260, 7) exited non-zero on 'SIP/10.224.25.14-00000002'
== End MixMonitor Recording SIP/10.224.25.14-00000002
Код: Выделить всё
[general]
register = @sipnet.ru
bindport = 5060
bindaddr = 0.0.0.0
context = default
allowguest = yes
allowoverlap = yes
;realm = fantasyworld
srvlookup = yes
language = ru
udpbindaddr = 0.0.0.0
[authentication]
[sipnet]
type=friend
insecure=invite
username=
secret=
host=sipnet.ru
fromuser=
fromdomain=sipnet.ru
port=5060
dtmfmode=rfc2833
canreinvite=no
[1000]
qualify=yes
context=localAndPSTAndMobileAndLD
type-friend
username=1000
secret=148125
nat=yes
allow=all
host=dynamic
callerid="IT Crowd"
callgroup=1
pickgroup=1
language=ru
canreinvite=yes
mailbox=1000@fantasyworld.ru,1000
Код: Выделить всё
[general]
priorityjumping=yes
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
[globals]
DYNAMIC_FEATURES=automon
[default]
include => 0029162532
include => city-in
include => LocalAndFree
include => LocalAndPSTN
include => LocalAndPSTNAndMobile
include => LocalOnly
[LocalOnly]
[city-in]
exten => s,1,Answer
exten => s,2,Set(TIMEOUT(digit)=5)
exten => s,3,Set(TIMEOUT(response)=10)
exten => s,4,BackGround(gotti/gotti-welcome)
exten => s,5,WaitExten(8)
exten => s,6,GotoIfTime(8:00-20:00|*|*|*?0029162532,s,9)
exten => s,7,Dial(SIP/1999,300,otmw)
exten => s,8,Goto(14)
exten => s,9,Dial(SIP/1001,10,otmw)
exten => s,10,Dial(SIP/1002,10,otmw)
exten => s,11,Dial(SIP/1003,10,otmw)
exten => s,12,Dial(SIP/1004,10,otmw)
exten => s,13,Dial(SIP/1005,10,otmw)
exten => s,14,Hangup
exten => i,1,GotoIfTime(8:00-20:00|*|*|*?0029162532,i,4)
exten => i,2,Dial(SIP/1999,300,otmw)
exten => i,3,Goto(9)
exten => i,4,Dial(SIP/1001,10,otmw)
exten => i,5,Dial(SIP/1002,10,otmw)
exten => i,6,Dial(SIP/1003,10,otmw)
exten => i,7,Dial(SIP/1004,10,otmw)
exten => i,8,Dial(SIP/1005,10,otmw)
exten => i,9,Hangup
exten => _XXXX,1,Goto(LocalAndPSTNAndMobileAndLD,${EXTEN},1)
[0029162532]
exten => s,1,Answer
exten => s,2,Set(TIMEOUT(digit)=5)
exten => s,3,Set(TIMEOUT(response)=10)
exten => s,4,BackGround(gotti/gotti-welcome)
exten => s,5,WaitExten(8)
exten => s,6,GotoIfTime(8:00-20:00|*|*|*?0029162532,s,9)
exten => s,7,Dial(SIP/1999,300,otmw)
exten => s,8,Goto(14)
exten => s,9,Dial(SIP/1001,10,otmw)
exten => s,10,Dial(SIP/1002,10,otmw)
exten => s,11,Dial(SIP/1003,10,otmw)
exten => s,12,Dial(SIP/1004,10,otmw)
exten => s,13,Dial(SIP/1005,10,otmw)
exten => s,14,Hangup
exten => i,1,GotoIfTime(8:00-20:00|*|*|*?0029162532,i,4)
exten => i,2,Dial(SIP/1999,300,otmw)
exten => i,3,Goto(9)
exten => i,4,Dial(SIP/1001,10,otmw)
exten => i,5,Dial(SIP/1002,10,otmw)
exten => i,6,Dial(SIP/1003,10,otmw)
exten => i,7,Dial(SIP/1004,10,otmw)
exten => i,8,Dial(SIP/1005,10,otmw)
exten => i,9,Hangup
exten => _XXXX,1,Goto(LocalAndPSTNAndMobileAndLD,${EXTEN},1)
[LocalAndFree]
include => LocalOnly
exten => _98800XXXXXXX,1,Set(CALLERID(num)=0029162532)
exten => _98800XXXXXXX,2,Set(CALLERID(name)=ast-gotti-gw)
exten => _98800XXXXXXX,3,Dial(SIP/${EXTEN:1}@sipnet,300,Wj)
exten => _98800XXXXXXX,4,Hangup
exten => _98800XXXXXXX,104,Playback(gotti/out_line_busy)
exten => _98800XXXXXXX,105,Hangup
exten => _98810XXXXXXX,1,Set(CALLERID(num)=0029162532)
exten => _98810XXXXXXX,2,Set(CALLERID(name)=ast-gotti-gw)
exten => _98810XXXXXXX,3,Dial(SIP/${EXTEN:1}@sipnet,300,Wj)
exten => _98810XXXXXXX,4,Hangup
exten => _98810XXXXXXX,104,Playback(gotti/out_line_busy)
exten => _98810XXXXXXX,105,Hangup
[LocalAndPSTN]
include => LocalAndFree
exten => _9XXXXXXX,1,NoOP("Starting A-number analysis")
exten => _9XXXXXXX/_100X,2,MixMonitor(/var/record/1.office/call-center/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_101X,2,MixMonitor(/var/record/1.office/head/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_102X,2,MixMonitor(/var/record/1.office/fin/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_103X,2,MixMonitor(/var/record/1.office/buh/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_110X,2,MixMonitor(/var/record/1.office/orp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_111X,2,MixMonitor(/var/record/1.office/okp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_112X,2,MixMonitor(/var/record/1.office/okp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_120X,2,MixMonitor(/var/record/1.office/postavki/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_130X,2,NoOP("No record for IT")
exten => _9XXXXXXX/_131X,2,NoOP("No record for arenda")
exten => _9XXXXXXX/_140X,2,MixMonitor(/var/record/1.office/marketing/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_150X,2,MixMonitor(/var/record/1.office/e-shop/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_160X,2,MixMonitor(/var/record/1.office/hr/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_199X,2,MixMonitor(/var/record/1.office/secure/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_2XXX,2,MixMonitor(/var/record/2.service/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_3XXX,2,MixMonitor(/var/record/3.sclad/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_4XXX,2,MixMonitor(/var/record/4.bonanza/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX/_5XXX,2,MixMonitor(/var/record/5.podsolnuh/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _9XXXXXXX,3,NoOP("Finishing A-number analysis")
exten => _9XXXXXXX,4,Set(CALLERID(num)=0029162532)
exten => _9XXXXXXX,5,Set(CALLERID(name)=ast-gotti-gw)
exten => _9XXXXXXX,6,Dial(SIP/${EXTEN:1}@sipnet)
exten => _9XXXXXXX,7,Hangup
exten => _9XXXXXXX,107,Playback(gotti/out_line_busy)
exten => _9XXXXXXX,108,Hangup
[LocalAndPSTNAndMobile]
include => LocalAndPSTN
exten => _989XXXXXXXXX,1,NoOP("Starting A-number analysis")
exten => _989XXXXXXXXX/_100X,2,MixMonitor(/var/record/1.office/call-center/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_101X,2,MixMonitor(/var/record/1.office/head/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_102X,2,MixMonitor(/var/record/1.office/fin/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_103X,2,MixMonitor(/var/record/1.office/buh/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_110X,2,MixMonitor(/var/record/1.office/orp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_111X,2,MixMonitor(/var/record/1.office/okp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_112X,2,MixMonitor(/var/record/1.office/okp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_120X,2,MixMonitor(/var/record/1.office/postavki/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_130X,2,NoOP("no record for IT")
exten => _989XXXXXXXXX/_131X,2,NoOP("no record for arenda")
exten => _989XXXXXXXXX/_140X,2,MixMonitor(/var/record/1.office/marketing/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_150X,2,MixMonitor(/var/record/1.office/e-shop/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_160X,2,MixMonitor(/var/record/1.office/hr/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_199X,2,MixMonitor(/var/record/1.office/secure/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_2XXX,2,MixMonitor(/var/record/2.service/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_3XXX,2,MixMonitor(/var/record/3.sclad/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_4XXX,2,MixMonitor(/var/record/4.bonanza/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX/_5XXX,2,MixMonitor(/var/record/5.podsolnuh/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _989XXXXXXXXX,3,NoOP("Finishing A-number analysis")
exten => _989XXXXXXXXX,4,Set(CALLERID(num)=0029162532)
exten => _989XXXXXXXXX,5,Set(CALLERID(name)=ast-gotti-gw)
exten => _989XXXXXXXXX,6,Dial(SIP/${EXTEN:1}@sipnet)
exten => _989XXXXXXXXX,7,Hangup
exten => _989XXXXXXXXX,107,Playback(gotti/out_line_busy)
exten => _989XXXXXXXXX,108,Hangup
[LocalAndPSTNAndMobileAndLD]
include => LocalAndPSTNAndMobile
exten => _98XXXXXXXXXX,1,NoOP("Starting A-number analysis")
exten => _98XXXXXXXXXX/_100X,2,MixMonitor(/var/record/1.office/call-center/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_101X,2,MixMonitor(/var/record/1.office/head/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_102X,2,MixMonitor(/var/record/1.office/fin/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_103X,2,MixMonitor(/var/record/1.office/buh/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_110X,2,MixMonitor(/var/record/1.office/orp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_111X,2,MixMonitor(/var/record/1.office/okp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_112X,2,MixMonitor(/var/record/1.office/okp/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_120X,2,MixMonitor(/var/record/1.office/postavki/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_130X,2,NoOP("No record for IT")
exten => _98XXXXXXXXXX/_131X,2,NoOP("No record for arenda")
exten => _98XXXXXXXXXX/_140X,2,MixMonitor(/var/record/1.office/marketing/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_150X,2,MixMonitor(/var/record/1.office/e-shop/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_160X,2,MixMonitor(/var/record/1.office/hr/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_199X,2,MixMonitor(/var/record/1.office/secure/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_2XXX,2,MixMonitor(/var/record/2.service/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_3XXX,2,MixMonitor(/var/record/3.sclad/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_4XXX,2,MixMonitor(/var/record/4.bonanza/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX/_5XXX,2,MixMonitor(/var/record/5.podsolnuh/${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y.%m.%d-%H`%M`%S)}.wav)
exten => _98XXXXXXXXXX,3,NoOP("Finishing A-number analysis")
exten => _98XXXXXXXXXX,4,Set(CALLERID(num)=0029162532)
exten => _98XXXXXXXXXX,5,Set(CALLERID(name)=ast-gotti-gw)
exten => _98XXXXXXXXXX,6,Dial(SIP/${EXTEN:1}@sipnet)
exten => _98XXXXXXXXXX,7,Hangup
exten => _98XXXXXXXXXX,107,Playback(gotti/out_line_busy)
exten => _98XXXXXXXXXX,108,Hangup