<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>http://wiki.fhem.de/w/index.php?action=history&amp;feed=atom&amp;title=VoIP_to_FHEM</id>
	<title>VoIP to FHEM - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.fhem.de/w/index.php?action=history&amp;feed=atom&amp;title=VoIP_to_FHEM"/>
	<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=VoIP_to_FHEM&amp;action=history"/>
	<updated>2026-05-01T03:57:40Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in FHEMWiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=VoIP_to_FHEM&amp;diff=18651&amp;oldid=prev</id>
		<title>Krikan: Krikan verschob die Seite VoIP to fhem nach VoIP to FHEM: FHEM(TM)</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=VoIP_to_FHEM&amp;diff=18651&amp;oldid=prev"/>
		<updated>2017-01-20T10:19:04Z</updated>

		<summary type="html">&lt;p&gt;Krikan verschob die Seite &lt;a href=&quot;/wiki/VoIP_to_fhem&quot; class=&quot;mw-redirect&quot; title=&quot;VoIP to fhem&quot;&gt;VoIP to fhem&lt;/a&gt; nach &lt;a href=&quot;/wiki/VoIP_to_FHEM&quot; title=&quot;VoIP to FHEM&quot;&gt;VoIP to FHEM&lt;/a&gt;: FHEM(TM)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 20. Januar 2017, 12:19 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-1497:rev-18651 --&gt;
&lt;/table&gt;</summary>
		<author><name>Krikan</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=VoIP_to_FHEM&amp;diff=1497&amp;oldid=prev</id>
		<title>Markusbloch: /* Hints */</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=VoIP_to_FHEM&amp;diff=1497&amp;oldid=prev"/>
		<updated>2013-05-11T15:08:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Hints&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 11. Mai 2013, 17:08 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l106&quot;&gt;Zeile 106:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 106:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* it is also possible to connect the ASTERISK with the rest of the world (e.g. Sipgate, 1und1) :-)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* it is also possible to connect the ASTERISK with the rest of the world (e.g. Sipgate, 1und1) :-)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* for debug asterisk: &amp;quot;asterisk -r&amp;quot;, &amp;quot;sip debug&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* for debug asterisk: &amp;quot;asterisk -r&amp;quot;, &amp;quot;sip debug&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:HOWTOS]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-1230:rev-1497:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Markusbloch</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=VoIP_to_FHEM&amp;diff=1230&amp;oldid=prev</id>
		<title>Generix: Die Seite wurde neu angelegt: „= VoIP2FHEM or HOWTO control the FHEM with Asterisk = == Description == This is a HOWTO about the use of a VoIP-DECT-Telephone (or every phone of a fritzbox) a…“</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=VoIP_to_FHEM&amp;diff=1230&amp;oldid=prev"/>
		<updated>2013-05-10T20:54:41Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „= VoIP2FHEM or HOWTO control the FHEM with Asterisk = == Description == This is a HOWTO about the use of a VoIP-DECT-Telephone (or every phone of a fritzbox) a…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= VoIP2FHEM or HOWTO control the FHEM with Asterisk =&lt;br /&gt;
== Description ==&lt;br /&gt;
This is a HOWTO about the use of a VoIP-DECT-Telephone (or every phone of a fritzbox) as a remote controller for the FHEM-Devices.&lt;br /&gt;
The provided scripts are under the GPL.&lt;br /&gt;
&lt;br /&gt;
The Goal is&lt;br /&gt;
&lt;br /&gt;
* Switching the FS20-Devices&lt;br /&gt;
* text2speach, the Telephone reads e.g. the measured-temp&lt;br /&gt;
* Possibility to start scripts with the Remote Telephone&lt;br /&gt;
* AND EVERYTHING SHOULD RUN ON THE NSLU2 (or other small machines):-)&lt;br /&gt;
== Technical Overview ==&lt;br /&gt;
On the NLSU2 (or every other Linux Box) runs an Asterisk. This machine needs not to be the machine with the FHEM. I bought the Voip-DECT-Telephone Siemens Gigaset C470 IP (80.-EUR). It has a nice Webinterface and it is possible to read in a self made telephone book. If you have a Fritzbox you do not need such special devices (see below).&lt;br /&gt;
&lt;br /&gt;
The Asterisk calls depending on the dialed number a bash skript. After that Asterisk plays two soundfiles &amp;amp;lt; text &amp;amp;gt;&amp;amp;lt; value &amp;amp;gt; in a loop.&lt;br /&gt;
&lt;br /&gt;
The NSLU2 is a weak machine. It always only creates a soundfile 1x and then stores it on the harddisk. A set of prebuild voices (e.g. digits from -20 to 90) are included. Some scripts for creating soundfiles and automatically the telephone book are provided too.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Go to [http://fhem.dnsalias.net/voip2fhem [1]] and download the files.&lt;br /&gt;
&lt;br /&gt;
* Install with your package manager asterisk, sox, espeak, libsox-fmt-gsm. On Debian based Machines: &amp;quot;apt-get install asterisk sox espeak libsox-fmt-gsm&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Debian: activate asterisk in the /etc/default/asterisk&lt;br /&gt;
&lt;br /&gt;
* copy the scripts voip2fhem voip2fhem_create_telefonlist voip2fhem_create_txt2gsm to /usr/local/bin/ and be shure that they are executable (chmod +x /usr/local/bin/voip2fhem*)&lt;br /&gt;
* extract the prepared voices &amp;quot;tar -xvzf voip2fhem_voices.tar.gz -C /&amp;quot; and give the correct rights &amp;quot;chown -R asterisk.asterisk /var/tmp/voip2fhem&amp;quot;&lt;br /&gt;
* cp extensions.conf and sip.conf to /etc/asterisk/ and edit these files and the bash script /usr/local/bin/voip2fhem&lt;br /&gt;
* restart/reload asterisk (/etc/init.d/asterisk restart or asterisk -r and then &amp;quot;extensions reload&amp;quot; and &amp;quot;sip reload&amp;quot;)&lt;br /&gt;
== Example extensions.conf ==&lt;br /&gt;
this is an example of an extensions.conf&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[FHEM]&lt;br /&gt;
; after every change of this file make &amp;quot;asterisk -r&amp;quot; and then &amp;quot;extensions reload&amp;quot;&lt;br /&gt;
exten =&amp;amp;gt; 3001,1,Answer()&lt;br /&gt;
exten =&amp;amp;gt; 3001,2,System(/usr/local/bin/voip2fhem ks300 &amp;quot;Aussentemperatur .&amp;quot; KS300) &lt;br /&gt;
exten =&amp;amp;gt; 3001,3,Playback(/tmp/asterisk1)&lt;br /&gt;
exten =&amp;amp;gt; 3001,n,Playback(/tmp/asterisk2)&lt;br /&gt;
exten =&amp;amp;gt; 3001,n,Wait(3)&lt;br /&gt;
exten =&amp;amp;gt; 3001,n,Goto(3)&lt;br /&gt;
exten =&amp;amp;gt; 3002,1,Answer()&lt;br /&gt;
exten =&amp;amp;gt; 3002,2,System(/usr/local/bin/voip2fhem kesselu &amp;quot;Kesseltemperatur kesselu .&amp;quot; HMS100) &lt;br /&gt;
exten =&amp;amp;gt; 3002,3,Playback(/tmp/asterisk1)&lt;br /&gt;
exten =&amp;amp;gt; 3002,4,Playback(/tmp/asterisk2)&lt;br /&gt;
exten =&amp;amp;gt; 3002,n,Wait(3)&lt;br /&gt;
exten =&amp;amp;gt; 3002,n,Goto(3) &lt;br /&gt;
exten =&amp;amp;gt; 3003,1,Answer()&lt;br /&gt;
exten =&amp;amp;gt; 3003,2,System(/usr/local/bin/voip2fhem wz &amp;quot;Wohnzimmertemperatur .&amp;quot; FHT) &lt;br /&gt;
exten =&amp;amp;gt; 3003,3,Playback(/tmp/asterisk1)&lt;br /&gt;
exten =&amp;amp;gt; 3003,4,Playback(/tmp/asterisk2)&lt;br /&gt;
exten =&amp;amp;gt; 3003,n,Wait(3)&lt;br /&gt;
exten =&amp;amp;gt; 3003,n,Goto(3) &lt;br /&gt;
exten =&amp;amp;gt; 3004,1,Answer()&lt;br /&gt;
exten =&amp;amp;gt; 3004,2,System(/usr/local/bin/voip2fhem nachto &amp;quot;Nachtlicht oben&amp;quot; FS20) &lt;br /&gt;
exten =&amp;amp;gt; 3004,3,Playback(/tmp/asterisk1)&lt;br /&gt;
exten =&amp;amp;gt; 3004,n,Wait(3)&lt;br /&gt;
exten =&amp;amp;gt; 3004,n,Goto(3)&lt;br /&gt;
exten =&amp;amp;gt; 3005,1,Answer()&lt;br /&gt;
exten =&amp;amp;gt; 3005,2,System(/usr/local/bin/voip2fhem stuwz1 &amp;quot;Fernsehlicht&amp;quot; FS20) &lt;br /&gt;
exten =&amp;amp;gt; 3005,3,Playback(/tmp/asterisk1)&lt;br /&gt;
exten =&amp;amp;gt; 3005,n,Wait(3)&lt;br /&gt;
exten =&amp;amp;gt; 3005,n,Goto(3)&lt;br /&gt;
exten =&amp;amp;gt; 3006,1,Answer()&lt;br /&gt;
exten =&amp;amp;gt; 3006,2,System(/usr/local/bin/voip2fhem ofen &amp;quot;Status Ofen .&amp;quot; FS20STATE) &lt;br /&gt;
exten =&amp;amp;gt; 3006,3,Playback(/tmp/asterisk1)&lt;br /&gt;
exten =&amp;amp;gt; 3006,n,Playback(/tmp/asterisk2)&lt;br /&gt;
exten =&amp;amp;gt; 3006,n,Wait(3)&lt;br /&gt;
exten =&amp;amp;gt; 3006,n,Goto(3)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
== Example sip.conf ==&lt;br /&gt;
this is an example of a sip.conf &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[general]&lt;br /&gt;
context=FHEM&lt;br /&gt;
port=5060&lt;br /&gt;
bindaddr=0.0.0.0&lt;br /&gt;
&lt;br /&gt;
; FHEM: VoIP-Telephone with the Name/Number 2000 and the password 1234&lt;br /&gt;
[2000]&lt;br /&gt;
type=friend&lt;br /&gt;
context=FHEM&lt;br /&gt;
secret=1234&lt;br /&gt;
host=dynamic&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative use of the Fritzbox ==&lt;br /&gt;
If you have a Fritzbox you can register your Asterisk there. After that you can use every telephone, which is registered on the Fritzbox. In this case you do not need further devices like a special VOIP-Device.&lt;br /&gt;
&lt;br /&gt;
Go to something like &amp;quot;Internettelefonie&amp;quot; and register Asterisk. The Registrar is the IP-Address of the Asterisk-Box. The Calling-Number is the internal number like 2000 in this example. User name (2000) and password (1234) are from the sip.conf:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;##############&lt;br /&gt;
; Example:&lt;br /&gt;
; FHEM: VoIP-Telephone with the Name/Number 2000 and the password 1234&lt;br /&gt;
[2000]&lt;br /&gt;
type=friend&lt;br /&gt;
context=FHEM&lt;br /&gt;
secret=1234&lt;br /&gt;
host=dynamic&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Fritzbox will give you a short number (e.g. *123#) -- after that you can call your skripts with &amp;#039;&amp;#039;&amp;#039;*123#3001#&amp;#039;&amp;#039;&amp;#039;with every telephone of your Fritzbox.&lt;br /&gt;
&lt;br /&gt;
== Hints ==&lt;br /&gt;
* if there isn&amp;#039;t the required soundfile then the NSLU2 creates it. This needs on this weak machine minutes (example: the word &amp;quot;asterisk&amp;quot; needs 3 min). voip2fhem stores this file and the next time it will be used.&lt;br /&gt;
* Use the script voip2fhem_create_txt2gsm on a faster machine to create the sounds. Usage: voip2fhem_create_txt2gsm &amp;quot;I love FHEM&amp;quot;. The soundfile is then automatically copied to /var/tmp/voip2fhem/&lt;br /&gt;
* it is also possible to connect the ASTERISK with the rest of the world (e.g. Sipgate, 1und1) :-)&lt;br /&gt;
* for debug asterisk: &amp;quot;asterisk -r&amp;quot;, &amp;quot;sip debug&amp;quot;&lt;/div&gt;</summary>
		<author><name>Generix</name></author>
	</entry>
</feed>