• Magyar nyelv
  • Gábor Kum

    Kum Gábor
    Specialist in use of Linux, free and open-source software at small and medium-sized enterprises, 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
     

    Matek Oázis
    Hungary's number one maths e-learning site, with interactive videos, tests and games for children, students, adult learners, teachers and schools.
    www.matekoazis.hu

  • Magyar nyelv

KG.hu

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 good here:

  • Gábor Kum

    Kum Gábor
    Specialist in use of Linux, free and open-source software at small and medium-sized enterprises, 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
     

    Matek Oázis
    Hungary's number one maths e-learning site, with interactive videos, tests and games for children, students, adult learners, teachers and schools.
    www.matekoazis.hu