Сообщений: 12
|
Re: No answer
А вот extension.conf
[general]
clearglobalvars=no
static=yes
SetMusicOnHold(default)
Set(TIMEOUT(absolute)=0)
Set(TIMEOUT(digit)=6)
Set(TIMEOUT(response)=15)
priorityjumping=yes
writeprotect=no
[globals]
[macro-dumpvars]
exten => s,1,Noop(ACCOUNTCODE=${ACCOUNTCODE})
exten => s,2,Noop(ANSWEREDTIME=${ANSWEREDTIME})
exten => s,3,Noop(BLINDTRANSFER=${BLINDTRANSFER})
exten => s,4,Noop(CALLERID=${CALLERID(all)})
exten => s,5,Noop(CALLERID(name)=${CALLERID(name)})
exten => s,6,Noop(CALLERID(number)=${CALLERID(number)})
exten => s,7,Noop(CALLINGPRES=${CALLINGPRES})
exten => s,8,Noop(CHANNEL=${CHANNEL})
exten => s,9,Noop(CONTEXT=${CONTEXT})
exten => s,10,Noop(DATETIME=${DATETIME})
exten => s,11,Noop(DIALEDPEERNAME=${DIALEDPEERNAME})
exten => s,12,Noop(DIALEDPEERNUMBER=${DIALEDPEERNUMBER})
exten => s,13,Noop(DIALEDTIME=${DIALEDTIME})
exten => s,14,Noop(DIALSTATUS=${DIALSTATUS})
exten => s,15,Noop(DNID=${DNID})
exten => s,16,Noop(EPOCH=${EPOCH})
exten => s,17,Noop(EXTEN=${EXTEN})
exten => s,18,Noop(HANGUPCAUSE=${HANGUPCAUSE})
exten => s,19,Noop(INVALID_EXTEN=${INVALID_EXTEN})
exten => s,20,Noop(LANGUAGE=${LANGUAGE})
exten => s,21,Noop(MEETMESECS=${MEETMESECS})
exten => s,22,Noop(PRIORITY=${PRIORITY})
exten => s,23,Noop(RDNIS=${RDNIS})
exten => s,24,Noop(SIPDOMAIN=${SIPDOMAIN})
exten => s,25,Noop(SIP_CODEC=${SIP_CODEC})
exten => s,26,Noop(SIPCALLID=${SIPCALLID})
exten => s,27,Noop(SIPUSERAGENT=${SIPUSERAGENT})
exten => s,28,Noop(TIMESTAMP=${TIMESTAMP})
exten => s,29,Noop(TXTCIDNAME=${TXTCIDNAME})
exten => s,30,Noop(UNIQUEID=${UNIQUEID})
exten => s,31,Noop(TOUCH_MONITOR=${TOUCH_MONITOR})
exten => s,32,Noop(MACRO_CONTEXT=${MACRO_CONTEXT})
exten => s,33,Noop(MACRO_EXTEN=${MACRO_EXTEN})
exten => s,34,Noop(MACRO_PRIORITY=${MACRO_PRIORITY})
[local]
exten => 7200,1,Macro(dumpvars)
exten => 7200,2,Dial(SIP/${EXTEN}@${EXTEN},12,rtT)
exten => 7200,3,Macro(dumpvars)
exten => 7200,4, Goto(7202,1)
exten => 7200,5,Hangup
exten => 7201,1,Dial(SIP/${EXTEN}@${EXTEN},12,rtT)
exten => 7202,1,Dial(SIP/${EXTEN}@${EXTEN},12,rtT)
exten => 7202,2,Hangup
exten => 7203,1,Dial(SIP/${EXTEN}@${EXTEN},12,rtT)
exten => 7204,1,Dial(SIP/${EXTEN}@${EXTEN},12,rtT)
[incoming]
exten => 7021022,1,Goto(local,7200,1)
[cos1]
include => gorod
include => mgorod
include => mn
[cos2]
include => gorod
include => mgorod
[cos3]
include => gorod
[cos4]
include => local
include => spec
[gorod]
exten => _70XX,1,Goto(local,${EXTEN},1)
exten => _71XX,1,Goto(local,${EXTEN},1)
exten => _72XX,1,Goto(local,${EXTEN},1)
exten => _73XX,1,Goto(local,${EXTEN},1)
exten => _74XX,1,Goto(local,${EXTEN},1)
exten => _75XX,1,Goto(local,${EXTEN},1)
exten => _76XX,1,Goto(local,${EXTEN},1)
exten => _77XX,1,Goto(local,${EXTEN},1)
exten => _78XX,1,Goto(local,${EXTEN},1)
exten => _79XX,1,Goto(local,${EXTEN},1)
exten => _0[05678]X,1,SetCallerID(656${CALLERIDNUM})
exten => _0[05678]X,2,Dial(SIP/9${EXTEN}@Mediant,12,rtT)
exten => _0[1-4],1,SetCallerID(656${CALLERIDNUM})
exten => _0[1-4],2,Dial(SIP/9${EXTEN}@Mediant)
exten => _[1-59]XXXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _[1-59]XXXXXX,2,Dial(SIP/9${EXTEN}@Mediant,12,rtT)
exten => _6XXXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _6XXXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _70XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _70XXXXX,2,Dial(SIP/9${EXTEN}@Mediant,12,rtT)
exten => _71XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _71XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _72XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _72XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _73XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _73XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _75XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _75XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _77XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _77XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _78XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _78XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _74XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _74XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
exten => _79XXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _79XXXXX,2,Dial(SIP/8812${EXTEN}@Mediant,12,rtT)
[mgorod]
exten => _8[02-9]XXXXXXXXX,1,SetCallerID(656${CALLERIDNUM})
exten => _8[02-9]XXXXXXXXX,2,Dial(SIP/${EXTEN}@Mediant,12,rtT)
[mn]
exten => _810.,1,SetCallerID(656${CALLERIDNUM})
exten => _810.,2,Dial(SIP/${EXTEN}@Mediant,12,rtT)
[spec]
exten => _0[1-4],1,SetCallerID(656${CALLERIDNUM})
exten => _0[1-4],2,Dial(SIP/9${EXTEN}@Mediant,12,rtT)
|