Telegram - ?

Call Waiting Asterisk FreePBX , . Call Waiting , ( , ) , .

, , , .

: , . . .


extensions_custom.conf

, extensions_custom.conf, /etc/asterisk/:. :

vim /etc/asterisk/extensions_custom.conf

, :

[from-internal-custom]
include => macro-dialout-one-predial-hook

[macro-dialout-one-predial-hook]
exten => s,1,Noop(HINT STATUS - ${EXTENSION_STATE(${DEXTEN})})
exten => s,n,ExecIf($["${EXTENSION_STATE(${DEXTEN})}" = "INUSE"]?Playback(/var/lib/asterisk/sounds/ru/custom/busytest))
exten => s,n,ExecIf($["${EXTENSION_STATE(${DEXTEN})}" = "INUSE"]?Set(D_OPTIONS=Ttm))
exten => s,n,ExecIf($["${EXTENSION_STATE(${DEXTEN})}" = "RINGINUSE"]?Playback(/var/lib/asterisk/sounds/ru/custom/busytest))
exten => s,n,ExecIf($["${EXTENSION_STATE(${DEXTEN})}" = "RINGINUSE"]?Set(D_OPTIONS=Ttm))
     Call Waiting  Asterisk

macro-dialout-one-predial-hook:

  • exten => s,1,Noop(HINT STATUS - ${EXTENSION_STATE(${DEXTEN})}) - . : UNKNOWN, NOT_INUSE, INUSE, BUSY, UNAVAILABLE, RINGING, RINGINUSE, HOLDINUSE, ONHOLD
  • exten => s,n,ExecIf($["${EXTENSION_STATE(${DEXTEN})}" = "INUSE"]?Playback(/var/lib/asterisk/sounds/ru/custom/busytest)) - : INUSE ( ), (/var/lib/asterisk/sounds/ru/custom/busytest, ;
  • exten => s,n,ExecIf($["${EXTENSION_STATE(${DEXTEN})}" = "INUSE"]?Set(D_OPTIONS=Ttm)) - , MoH (Music On Hold) ;

, , RINGINUSE. . :

asterisk -rx "dialplan reload"

Follow Me

, , Follow Me, :

  1. FreePBX. SettingsAdvanced Settings;
  2. Default Follow Me Ring Strategy Follow Me Module ringallv2;
  3. Follow Me;
  4. asterisk -rx "dialplan reload" ;

?

 .

P.S. , :)

"",