Привет! Вопрос к обладателям этого устройства. Каждый канал FXO заведен индивидуально в астериск
[Dlink6004S](!)
disallow=all
type=friend
host=dynamic
dtmfmode=rfc2833
context=incoming
canreinvite=nonat
allow=ulaw,alaw,g729
insecure=port,invite
[DVG031](Dlink6004S)
secret=DVG031
[DVG032](Dlink6004S)
secret=DVG032
[DVG033](Dlink6004S)
secret=DVG033
[DVG034](Dlink6004S)
secret=DVG034
DVG031/DVG031 192.168.201.38 D 5060 Unmonitored
DVG032/DVG032 192.168.201.38 D 5060 Unmonitored
DVG033/DVG033 192.168.201.38 D 5060 Unmonitored
DVG034/DVG034 192.168.201.38 D 5060 Unmonitored
[incoming]
exten => s,1,Goto(to-queue,s,1)
exten => _90X,1,NoOp(${CALLERID(num)})
exten => _90X,n,NoOp(${CALLERID(name)})
exten => _90X,n,Goto(to-queue,s,1)
exten => _X.,1,Goto(to-queue,s,1)
exten => receiver,1,Set(CALLERID(num)=${CALLERID(name)})
exten => receiver,n,Goto(to-queue,s,1)
Executing [901@incoming:1] NoOp("SIP/DVG031-00000033", "777777") in new stack
-- Executing [901@incoming:2] NoOp("SIP/DVG031-00000033", "") in new stack
-- Executing [901@incoming:3] Goto("SIP/DVG031-00000033", "to-queue,s,1") in new stack
-- Goto (to-queue,s,1)
Звоню на 2ой порт устройства
-- Executing [902@incoming:1] NoOp("SIP/DVG031-0000002b", "777777") in new stack
-- Executing [902@incoming:2] NoOp("SIP/DVG031-0000002b", "") in new stack
-- Executing [902@incoming:3] Goto("SIP/DVG031-0000002b", "to-queue,s,1") in new stack
-- Goto (to-queue,s,1)
Executing [903@incoming:1] NoOp("SIP/DVG031-0000002e", "777777") in new stack
-- Executing [903@incoming:2] NoOp("SIP/DVG031-0000002e", "") in new stack
-- Executing [903@incoming:3] Goto("SIP/DVG031-0000002e", "to-queue,s,1") in new stack
-- Goto (to-queue,s,1)
Почему всегда SIP/DVG031 (Иногда правда бывают и другие SIP/DVG032, SIP/DVG033)? Из за этого пришлось использовать в шаблоне [Dlink6004S]
[Dlink6004S](!)
...
insecure=port,invite
...
| 77 | 2012-06-05 15:13:59 | | 89205555555 | s | to-queue | SIP/DVG031-0000000a | SIP/100-0000000c | Queue | operators,tTh,,,300
P.S.: Аналогичная тема на Dlink