Код: Выделить всё
Extension Changed 101[blf_office] new state InUse&Ringing for Notify User 216
== Extension Changed 101[blf_office] new state InUse&Ringing for Notify User 215
-- Executing [*76@outcalliing:1] Answer("SIP/101-00000080", "") in new stack
== Extension Changed 101[blf_office] new state InUse&Ringing for Notify User 102
> 0x7fc2c006b890 -- Probation passed - setting RTP source address to 192.168.2.21:11796
-- Executing [*76@outcalliing:2] GotoIf("SIP/101-00000080", "1?activate:deactivate") in new stack
-- Goto (outcalliing,*76,3)
-- Executing [*76@outcalliing:3] Set("SIP/101-00000080", "STATE=RINGING") in new stack
-- Executing [*76@outcalliing:4] Set("SIP/101-00000080", "DEVICE_STATE(Custom:DND101)=RINGING") in new stack
-- Executing [*76@outcalliing:5] Hangup("SIP/101-00000080", "") in new stack
== Spawn extension (outcalliing, *76, 5) exited non-zero on 'SIP/101-00000080'
== Extension Changed 101[blf_office] new state Ringing for Notify User 216
== Extension Changed 101[blf_office] new state Ringing for Notify User 215
== Extension Changed 101[blf_office] new state Ringing for Notify User 102
Код: Выделить всё
[root@localhost ~]# asterisk -rx 'database show' | grep DND
/CustomDevstate/DND : NOT_INUSE
/CustomDevstate/DND101 : RINGING
/CustomDevstate/DND314 : RINGING
/CustomDevstate/DND320 : RINGING
/CustomDevstate/DND321 : BUSY
Судя по всему вы явно не понимаете что именно вы делаете.grizzly5482 писал(а):подскажите пожалуйста, куда еще копать?
Код: Выделить всё
-- Executing [*76@outcalliing:1] Answer("SIP/320-00000008", "") in new stack
-- Executing [*76@outcalliing:2] GotoIf("SIP/320-00000008", "1?activate:deactivate") in new stack
-- Goto (outcalliing,*76,3)
-- Executing [*76@outcalliing:3] Set("SIP/320-00000008", "STATE=BUSY") in new stack
-- Executing [*76@outcalliing:4] Set("SIP/320-00000008", "DEVICE_STATE(Custom:DND320)=BUSY") in new stack
-- Executing [*76@outcalliing:5] Set("SIP/320-00000008", "DB(DND/320)=1") in new stack
-- Executing [*76@outcalliing:6] Hangup("SIP/320-00000008", "") in new stack