• Magyar nyelv
  • Gábor Kum

    Kum Gábor
    Specialist in use of Linux, free and open-source software, and in security of bank payment technologies. Also interested in today's privacy challenges, low-bitrate communications, and building a house as a hobby. Lives at the biggest lake of Central Europe, Lake Balaton.

  • Other projects

    HELLOTUX
    Promoting free software all over the world. Free software merchandise from Europe, in partnership with the leading Linux distributions and free software developers.
    www.hellotux.com
     

    Education
    Teaching digital competences for children between ages 9 and 14. The goal is not understanding ancient software but understanding the digital future.
    www.fenyvesirefi.hu
     

    Consulting
    IT consulting and services for government institutions. GAFAM-free and GDPR compliant local and EU-based systems on the base of open source.

  • Magyar nyelv
Automatikus hívásindítás Asteriskből

28 March 2011, 3:59 pm (Central European Time)

Az egyik legegyszerűbb automatikus hívásindítási mód az Asterisk esetében az, amikor létrehozunk egy "hívásfájlt" a kezdeményezni kívánt telefonhívás adataival.

Hozzunk létre egy fájlt a /var/spool/asterisk/outgoing könyvtárban az alábbi tartalommal:


Channel: SIP/1000
Context: kimeno
Extension: 1234
MaxRetries: 0

A fájl létrehozása után azonnal csörögni fog az 1000-es mellékünk, és a kimeno kontextusban meghatározott szabályok szerint összekapcsol az 1234-es telefonszámmal. A MaxRetries érték azt a célt szolgálja, hogy ha nem vennénk fel elsőre az 1000-es melléket, akkor az itt megadott alkalommal próbálja újra a hívást a rendszer, ha a hármas szám szerepel itt, akkor három alkalommal.

Természetesen ezt a fájlt létrehozhatjuk külső programokból, vagy akár PHP-ből is.

 

Be the first who leaves a comment!

Leave a comment!

Your name:

Your e-mail (kept private and will not be shown):

Comment:

Please type the word friend here:

  • Gábor Kum

    Kum Gábor
    Specialist in use of Linux, free and open-source software, and in security of bank payment technologies. Also interested in today's privacy challenges, low-bitrate communications, and building a house as a hobby. Lives at the biggest lake of Central Europe, Lake Balaton.

  • Other projects

    HELLOTUX
    Promoting free software all over the world. Free software merchandise from Europe, in partnership with the leading Linux distributions and free software developers.
    www.hellotux.com
     

    Education
    Teaching digital competences for children between ages 9 and 14. The goal is not understanding ancient software but understanding the digital future.
    www.fenyvesirefi.hu
     

    Consulting
    IT consulting and services for government institutions. GAFAM-free and GDPR compliant local and EU-based systems on the base of open source.