search for: twodevices

Displaying 1 result from an estimated 1 matches for "twodevices".

Did you mean: rw_devices
2017 May 08
8
Dial an extension to modify dialplan
...viceB" to ring. I would like to have an extension to dial in order to modify the dialplan. Here is what I did... In extensions.conf: ------ snip ----- [mynicecontext] #include "ringdevice.conf exten => 2000,1,GoTo(ringdevice,ring,1) exten => 4000,1,System(/bin/cat /etc/asterisk/twodevices.txt > /etc/asterisk/ringdevice.conf) exten => 4000,2,Wait(3) exten => 4000,3,System(/usr/sbin/asterisk -rx "dialplan reload") exten => 4000,4,Playback(service&de-activated) exten => 4001,1,System(/bin/cat /etc/asterisk/alldevices.txt > /etc/asterisk/ringdevice.conf)...