ATech Machine LIBRA-02 M Technical Information Seite 247

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 734
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 246
exten => start,1,VoiceMail(${ARG1}@${ARG2},${ARG3})
same => n,Hangup()
In this version we’ve made just the one change: Return() to Return(${DIALSTATUS}).
Now we can modify extension 101 to use the ${GOSUB_RETVAL} channel variable, which
will be set by Return():
exten => 101,1,GoSub(subDialer,start,1(${JOHN},30))
same => n,Set(VoicemailMessage=${IF($[${GOSUB_RETVAL} = BUSY]?b:u)})
same => n,GoSub(subVoicemail,start,1(${EXTEN},default,${VoicemailMessage}))
Our dialplan now has a new line that sets the ${VoicemailMessage} channel variable to
a value of u or b, using the IF() dialplan function and the value of ${GOSUB_RETVAL}. We
then pass the value of ${VoicemailMessage} as the third argument to our subVoice
mail subroutine.
Before moving on, you might want to go back and review “Macros” on page 204
and“GoSub()” on page 207. We’ve given you a lot to digest here, but these concepts
will save you a lot of work as you start building your dialplans.
Local Channels
Local channels are a method of executing dialplans from the Dial() application. They
may seem like a bit of a strange concept when you first start using them, but believe us
when we tell you they are a glorious and extremely useful feature that you will almost
certainly want to make use of when you start writing advanced dialplans. The best way
to illustrate the use of Local channels is through an example. Let’s suppose we have a
situation where we need to ring multiple people, but we need to provide delays of
different lengths before dialing each of the members. The use of Local channels is the
only solution to the problem.
With the Dial() application, you can certainly ring multiple endpoints, but all three
channels will ring at the same time, and for the same length of time. Dialing multiple
channels at the same time is done like so:
[LocalSets]
exten => 107,1,Verbose(2,Dialing multiple locations simultaneously)
same => n,Dial(SIP/0000FFFF0001&DAHDI/g0/14165551212&SIP/MyITSP/12565551212,30)
same => n,Hangup()
This example dials three destinations for a period of 30 seconds. If none of those lo-
cations answers the call within 30 seconds, the dialplan continues to the next line and
the call is hung up.
However, let’s say we want to introduce some delays, and stop ringing locations at
different times. Using Local channels gives us independent control over each of the
channels we want to dial, so we can introduce delays and control the period of time for
which each channel rings independently. We’re going to show you how this is done in
the dialplan, both within a table that shows the delays visually, and all together in a
Local Channels | 211
Seitenansicht 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 733 734

Kommentare zu diesen Handbüchern

Keine Kommentare

Duraflame 10HM4124 manuály

Uživatelské manuály a uživatelské příručky pro Ohřívače prostoru Duraflame 10HM4124.
Poskytujeme 1 manuály pdf Duraflame 10HM4124 ke stažení zdarma podle typů dokumentů: Provozní pokyny


Duraflame 10HM4124 Provozní pokyny (19 strany)


Značka: Duraflame | Kategorie: Space heaters | Velikost: 5.75 MB |

 

Tabulka s obsahem





Další produkty a příručky pro Ohřívače prostoru Duraflame

Modely Typ Dokumentu
8QH1500 Manuál s instrukcemi     Duraflame 8QH1500 Instruction manual, 23 stránky
DFH-TH-17-TO Manuál s instrukcemi    Duraflame DFH-TH-17-TO Instructions / Assembly, 16 stránky
DFH-DH-15-TO Manuál s instrukcemi    Duraflame DFH-DH-15-TO Instructions / Assembly, 18 stránky
DFH-IH-12-O Návod k použití a péči      Duraflame DFH-IH-12-O Use and Care Manual, 24 stránky
10HET4128-E451 Návod k použití a péči    Duraflame 10HET4128-E451 Use and Care Manual, 14 stránky
DFH-UH-1-T Manuál s instrukcemi     Duraflame DFH-UH-1-T Instructions / Assembly, 24 stránky
DFH-CH-11-T Návod k použití a péči    Duraflame DFH-CH-11-T Use and Care Manual, 16 stránky
10HM4128-W504 Manuál s instrukcemi     Duraflame 10HM4128-W504 Instructions / Assembly, 23 stránky
10IF9239BLK Manuál s instrukcemi    no-title, 18 stránky
DFH-TH-18-TO Manuál s instrukcemi    Duraflame DFH-TH-18-TO Instructions / Assembly, 16 stránky
DFH-DH-14-T Manuál s instrukcemi     Duraflame DFH-DH-14-T Instructions / Assembly, 24 stránky
DFH-IH-9-T Manuál s instrukcemi    Duraflame DFH-IH-9-T Instructions / Assembly, 16 stránky
DFH-NH-3-T Návod k použití a péči    Duraflame DFH-NH-3-T Use and Care Manual, 16 stránky
5HM7000-PO78 Návod k použití a péči    Duraflame 5HM7000-PO78 Use and Care Manual, 18 stránky
DFH-107-T Manuál s instrukcemi     Duraflame DFH-107-T Instructions / Assembly, 38 stránky
9HM9126-O142 Manuál s instrukcemi     Duraflame 9HM9126-O142 Instructions / Assembly, 26 stránky
DFH-GA-4-T Instalační příručka     Duraflame DFH-GA-4-T Installation Guide, 20 stránky