Сообщений: 4
|
Re: Как увидить на телефоне номер звонящего?
Показываю
[numberplan-custom-1]
include = default
include = employee
plancomment = DialPlan1
exten = _810XXXXXXXXXXXX,1,Macro(trunkdial,${trunk_2}/${EXTEN:0})
comment = _810XXXXXXXXXXXX,1,Zarubezh,standard
exten = _07XXXXXXXXXX,1,Macro(trunkdial,${trunk_1}/${EXTEN:1})
comment = _07XXXXXXXXXX,1,Sipnet,standard
exten = _8499XXXXXXX,1,Macro(trunkdial,${trunk_1}/7${EXTEN:1})
comment = _8499XXXXXXX,1,Moskva499,standard
exten = _8495XXXXXXX,1,Macro(trunkdial,${trunk_1}/7${EXTEN:1})
comment = _8495XXXXXXX,1,Moskva495,standard
exten = _89XXXXXXXXX,1,Macro(trunkdial,${trunk_1}/7${EXTEN:1})
comment = _89XXXXXXXXX,1,Mobil,standard
exten = _849634XXXXX,1,Macro(trunkdial,${trunk_1}/7${EXTEN:1})
comment = _849634XXXXX,1,Nara,standard
exten = _84912XXXXXX,1,Macro(trunkdial,${trunk_1}/7${EXTEN:1})
comment = _84912XXXXXX,1,84912,standard
exten = _848438XXXXX,1,Macro(trunkdial,${trunk_1}/7${EXTEN:1})
comment = _848438XXXXX,1,Ð^ÑоÑ^ÀовÑ^Áк,standard
[employee]
exten = 1200, 1, Dial(SIP/101)
exten = 4200, 1, Goto(numberplan-custom-1, 89161111111)
exten = 4300, 1, Dial(SIP/trunk_2/89161111111)
exten = 666, 1, Dial(SIP/trunk_2/89061111111)
[default]
exten = _9.,1,Dial(SIP/${EXTEN:0}@100,20,rT)
exten = _5.,1,Dial(SIP/8${EXTEN:1}@110,20,rT)
exten = _4.,1,Dial(SIP/${EXTEN:1}@111,20,rT)
exten = 777,1,Goto(voicemenu-custom-3|s|1)
exten = 778,1,Goto(voicemenu-custom-4|s|1)
exten = 1001,1,Goto(ringroups-custom-1|s|1)
exten = 123, 1, Set(COUNT=10)
exten = 123, n(start),GotoIf($[${COUNT} > 0]?:goodbye)
exten = 123, n, SayNumber(${COUNT})
exten = 123, n, Set(COUNT=$[${COUNT} - 1])
exten = 123, n, Goto(start)
exten = 123, n(goodbye), Hangup()
exten = 1004,1,Goto(ringroups-custom-3|s|1)
exten = 1005,1,Goto(ringroups-custom-4|s|1)
|