Ankündigung

Einklappen
Keine Ankündigung bisher.

OT: Hat jemand Asterisk am laufen und ein wenig Ahnung?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    OT: Hat jemand Asterisk am laufen und ein wenig Ahnung?

    Hallo,

    ich würde gerne einen Asterisk aufsetzen um bei Abwesenheit die Rufumleitung zu setzen und andere schicke Sachen um EIB und die Telefonanlage zu verbinden.

    Matthias hatte erzaehlt von einer "Mittagschlaf-Taste". Drueckt man die klingeln für 1h keine Telefone/Haustuere. Das haette nen hohen WAF bei uns .

    Also, wer hat sich mit dem Thema schon mal beschäftigt? Mein Astersik läuft soweit. Sipgate ist angebunden, die Telefone klingeln, der AB funktioniert, aber der ISDN Zugriff klappt nicht wirklich zuverlässig.


    LG

    #2
    Zitat von RaK Beitrag anzeigen
    ich würde gerne einen Asterisk aufsetzen um bei Abwesenheit die Rufumleitung zu setzen und andere schicke Sachen um EIB und die Telefonanlage zu verbinden.
    Hi Rak,
    I've Asterisk running.
    No connection to EIB yet, it is in my planning for the coming weeks (because I need some help from my friends )
    My street gate is 120m from the house, maybe some problems there..
    Config: Cisco Catalyst with in-line power, Cisco IP phones (3 B&W, 2 color). ADSL rtr 1Mb/s

    Kommentar


      #3
      It is up and running! I 've got some trouble with the ISDN hardware. It is solved now and running quite well.

      The connection of eib and asterisk is also in place. When leaving the house the call diversion to my mobile is setup.

      When comming home this call diversion is automatically unset .

      Extremly cool. Not to talk about the voice mail boxes, an IVR, setting the call diversion number from external via a normal phonecall , opening the garage door via a mobile call and much more to come.

      Cool!

      A small howto
      Code:
      # extensions.conf
       
      ; this line gets a value out of the asterix internal database
      ; this value could be set from a command shell or misterhouse
      exten => s,1,DBget(status=eib/anwesend)
      exten => s,n,GotoIf($[${status} = 0]?s-CALLDIV|1)
      ;the follwing line could be different for you depending on your cpe
      exten => s,n,Dial,SIP/30|30|r 
      exten => s,n,Goto,s-${DIALSTATUS}|1
       
      exten => s-BUSY,1,voicemail,u${ARG2}
      exten => s-BUSY,n,Hangup
       
      exten => s-NOANSWER,1,voicemail,u${ARG2}
      exten => s-NOANSWER,n,Hangup
       
      ;change the number below to your needs
      exten => s-CALLDIV,1,Dial(Zap/g1/0123456789)
      I have misterhouse up and running. The user code for setting the value in the asterix database is also quite simple

      Code:
      system("asterisk -rx 'database put eib anwesend 0'") if (state_now $Anwesend eq OFF);
      system("asterisk -rx 'database put eib anwesend 1'") if (state_now $Anwesend eq ON);
      Thats it!

      Kommentar


        #4
        Hi RaK,
        Congratulations ! Great stuff !
        Zitat von RaK Beitrag anzeigen
        I 've got some trouble with the ISDN hardware.
        I still fail to understand why you guys use ISDN (slow, expensive, call based invoicing). Maybe no ADSL infrastructure ?

        Zitat von RaK Beitrag anzeigen
        The connection of eib and asterisk is also in place.
        Ah! How have you done it physically ?


        Zitat von RaK Beitrag anzeigen
        opening the garage door via a mobile call
        Yes! that's my goal too .
        Thank you for the code sample, it will help a lot


        Zitat von RaK Beitrag anzeigen
        I have misterhouse up and running.
        I've a HS2. Hoping that the integration will be as simple as for misterhouse

        Warm greetings from a hot Midi-Pyrénées

        Kommentar


          #5
          ISDN: In germany it is the technology of choice. The frist fixed network operator wo only provides DSL including VoIP carrier grade is Arcor (at least what I know, no offense to others .

          Coppling EIB/Asterisk. I have MH running on the same machine which runs asterisk. Thats why its easy .


          If you need advise with the extension.conf . I have a IVR up and running which is able to do several things on the eib.

          Kommentar


            #6
            Zitat von Warichet Beitrag anzeigen
            Hi RaK,
            Congratulations ! I still fail to understand why you guys use ISDN (slow, expensive, call based invoicing). Maybe no ADSL infrastructure ?
            ...
            The telephone is running over the ISDN line but not the Network (Internet). It's very common that people have one line for the phone only and ADSL for the network.
            So if you do not want to have any phone call during your nap.....
            En Gruäss us dä Schwiiz
            KNX und DALI seit Nov. 2005.
            Zentrale Steuerung mit Loxone seit Jan 2011

            Kommentar

            Lädt...
            X