Loxone and SIP
Einklappen
X
-
Loxone and SIP
Can anyone explain my how the Loxone Door controller register itself with an external SIP-server? In the configuration of the door controller, one has to specify the sip host (e.g. iptel.org) and the sip-user Id, but there is no sip password field that is required to register the user with the sip-server? I would think that in order to have an audio connection between the Loxone Intercom/Mobotix T25, you need to register 2 users in the sip server: one for the Intercom and one for the Doocontroller. Is that correct? if not, pls can you explain how this works?Stichworte: - -
Only the intercom (the hardware mounted at the door) registers with an external SIP provider, see section "SETUP FOR EXTERNAL AUDIO CONNECTION" at http://www.loxone.com/enen/service/d...tercom-xl.html (a quick search only came up with the link for the XL version, but this does not matter).
Configuration of the door controller is used by the Loxone app on the smartphone and here you only have the options for a SIP host and a user-id. This ID is NOT for the app itself, but used to make an anonymous call to the intercom that has registered as a SIP client with the credentials shown above. The app is NOT a full SIP client, so it does not register with a SIP provider. This is the reason why you don't have an option for a password. The Loxone app can make outgoing calls as an anonymous SIP user to the intercom by using the user-ID as a "phone number" for the destination (the intercom). Iptel is one provider that supports these anonymous calls.
If you are using the intercom internally, it acts as a SIP server, so the app is directly connecting (again, as an anonymous user) to the intercom itself.
I hope this helps. The documentation from Loxone regarding the intercom is very bad, they only provide an example with Iptel. I could neither find any technical description from Loxone that describes how it works, nor any graphical workflow with arrows and order of steps.
Kind Regards,
Jan
Miniserver v14.5.12.7, 2x Ext., 2x Relay Ext., 2x Dimmer Ext., DMX Ext., 1-Wire Ext., Gira KNX Tastsensor 3 Komfort, Gira KNX Präsenzmelder, Fenster- und Türkontakte, Loxone Regen- und Windsensor, Gira Dual Q Rauchmelder vernetzt, 1x Relais-Modul
Loxberry: SmartMeter, MS Backup, CamConnect, Weather4Lox
Lüftung: Helios KWL EC 370W ET mit Modbus TCP - via Pico-C
Heizung: Stiebel Eltron WPF 5 cool (Sole-Wasser WP) mit ISG, FB-Heizung mit 18 Kreisen, Erdsonde - via modbus/TCP
Node-RED: IKEA Tradfri -
Hi Jan,
Thanks for your reply. This is the 1st time I received some valuable information about the working of the door controller. It is incredible that Loxone is using the concept of anonymous user, because from the information I read on the internet, this type of user is in many cases not allowed with a lot of SIP-providers. I wonder what Loxone would do if iptel.org does not allow anymore this type of user...
I believe the scenario for setting up a SIP call is as follows (correct me if I am wrong):
1. Bell button on the camera is pushed
2. Signal event is sent to the Loxone door controller
3. Loxone app pops up and video is showing from the door controller
4. The Loxone user pushes the phone icon on the door controller (I do not think that a sip call is being setup automatically from the Camera).
5. The camera sets up a sip call using its SIP-id, as calling party, and anonymous -id, as called party, which is identified in the camera as the Loxone door controller
6. SIP call is established.
The step from point 4 to point 5 is not clear to me how this happens
Knowing this I still have to find out why the SIP-client on the camera fails to register with iptel, although I have filled in all required parameters (if i use the same SIP-user id on a dedicated client on Android or on an iPad, this SIP-user does register itself without any issue with iptel. So this is weird to me. Do you know about any pitfalls here?
BR,
Jan M.
Kommentar
-
I fully agree with you. So far Iptel.org is allowing anonymous calls, but this if not the case with most other SIP providers.
3. Loxone app pops up and video is showing from the door controller
4. The Loxone user pushes the phone icon on the door controller (I do not think that a sip call is being setup automatically from the Camera).
5. The camera sets up a sip call using its SIP-id, as calling party, and anonymous -id, as called party, which is identified in the camera as the Loxone door controller
I don't know why your SIP client is not able to register, maybe another user is able to provide more detailled information. Here are just some general tips: First check the IP settings, specifically default gateway and DNS servers. The verify all settings in the section "SETUP FOR EXTERNAL AUDIO CONNECTION" in e.g. http://www.loxone.com/enen/service/d...tercom-xl.html
If you have a Fritz!box (http://fritz.box/html/capture.html) or a switch with port mirroring you are able to capture packets and analyse the packets with Wireshark afterwards.
Cheers,
Jan
Miniserver v14.5.12.7, 2x Ext., 2x Relay Ext., 2x Dimmer Ext., DMX Ext., 1-Wire Ext., Gira KNX Tastsensor 3 Komfort, Gira KNX Präsenzmelder, Fenster- und Türkontakte, Loxone Regen- und Windsensor, Gira Dual Q Rauchmelder vernetzt, 1x Relais-Modul
Loxberry: SmartMeter, MS Backup, CamConnect, Weather4Lox
Lüftung: Helios KWL EC 370W ET mit Modbus TCP - via Pico-C
Heizung: Stiebel Eltron WPF 5 cool (Sole-Wasser WP) mit ISG, FB-Heizung mit 18 Kreisen, Erdsonde - via modbus/TCP
Node-RED: IKEA TradfriKommentar
-
I managed to get my SIP working between T25 and Loxone....at last. The major reason was that in mobotix the sip port client is being set to default 5060. This seems not to be correct. Therefore I changed to value to 5065. I also removed all port forwarding sip-ports in my gateway (modem), because I noticed that for all SIP communication (signalling, voice video), ALG was providing me the necessary forwarding. Now I have voice communication between the T25 and the loxone app on my smart phone.Kommentar
-
The default port for SIP is 5060. But if your modem/router support SIP himself, the 5060 is used by the router an couldn't be used by other clients.
greetings
SvenMiniserver; KNX; Vitogate; EnOcean (EnOceanPi); Loxone Air; Caldav-Kalenderanbindung; RaspberryPi und für keine Frickellösung zu schade :-)Kommentar
-
Hi Sven, my router does not support SIP, it has no SIP-client. The default port for the SIP-server is 5060, not for the client. I would expect that a sip-client can have any port (except for the well-known ports), so even 5060. That is why I would have expected that the default port 5060 for my sip-client would not give any issues. Only by changing that sip-client port to another value, I got it working (I also deleted any sip-port forwarding in my modem). In the pcap traces from the T25, I did not see any reply from the sip-server. Trying to understand what was really the issue, I configured the sip-port of the T25 client back to 5060. Guess what, this client was not able to register anymore. As soon as I changed the sip-port to e.g. 5065, the client registered again successfully. Therefore, I am quiet sure, that I cannot use the port 5060 for my sip-client.
Best Regards, Jan.Kommentar
-
Thats not right. SIP communicate over the stateless protocol UDP. Normaly both sides listen on port 5060 for incoming packages. If the SIP Gateway is outside of your network, you have to forward the UDP/5060 direct to the client. If you don't do this, all outgoing packages will be NATed. If you have more than one client you must change the port on every client and setup matching forward rules. Some routers are blocking SIP ports. If your setup now works with your settings evering is fine ;-)
greetings
SvenMiniserver; KNX; Vitogate; EnOcean (EnOceanPi); Loxone Air; Caldav-Kalenderanbindung; RaspberryPi und für keine Frickellösung zu schade :-)Kommentar
-
Hello,
I've been messing around with a SIP enabled intercom (Panasonic KX-NTV160) and got the video part working quite easily.
The audio and/or push button reaction has been something else.
The config for this Panasonic unit is quite basic as it doesn't have the fancy events the Mobotix T25 supports, upon the press of the button, the Panasonic calls... A phone number. There are some trigger events as well (motion detection, tamper detection, digital input). I Think I could connect the physical input to the digital input and have that trigger a http event (virtual input Loxone), that could make the unit useful to have the loxone come up with the video image upon the press of the button, but a SIP connection I don't see how that'd work...
I can't see how that could be done as the unit seems to only be capable to make outgoing calls to a predefined phone number (as normally you'd register this unit to a PBX)
I've attached some screenshots from the config page as well as a link to the user manual: http://cs-im.psn-web.net/Global/PBX/..._UM(en)_WA.pdf
All and any ideas are welcome, I'm hoping I've overlooked something obvious :-)
2 BilderKommentar
-
Hello Logizomechanophobi,
as far as I can see the Panasonic KX-NTV160 does not work with Loxone at all. The Loxone app does NOT act as a SIP client, but is only able to make outgoing SIP calls to a know IP-address without any authentication or registration in advance, so either the intercom or a PBX needs to work as a SIP server that allows such incoming anonymous SIP calls.
With video the Loxone app as well as the web interface is only able to use MJPG as the video format. The video is NOT included in the SIP call itself, it's rather a webcam style. I couldn't find any information, but only some information that it is NOT compatible, e.g. "Support H.264 and JPEG (only for RTSP)". Neither H.264 nor RTSP (both are used for video calls) are supported by Loxone.
Sorry for that information. Maybe you find some undocumented stuff...
JanMiniserver v14.5.12.7, 2x Ext., 2x Relay Ext., 2x Dimmer Ext., DMX Ext., 1-Wire Ext., Gira KNX Tastsensor 3 Komfort, Gira KNX Präsenzmelder, Fenster- und Türkontakte, Loxone Regen- und Windsensor, Gira Dual Q Rauchmelder vernetzt, 1x Relais-Modul
Loxberry: SmartMeter, MS Backup, CamConnect, Weather4Lox
Lüftung: Helios KWL EC 370W ET mit Modbus TCP - via Pico-C
Heizung: Stiebel Eltron WPF 5 cool (Sole-Wasser WP) mit ISG, FB-Heizung mit 18 Kreisen, Erdsonde - via modbus/TCP
Node-RED: IKEA TradfriKommentar
-
Hello Jan,
Thanks for your reply. The RTSP stream set to JPEG results in a *.mjpg URL that I can load into the Loxone software just fine. I got that working both internally and externally.
But as you point out, the SIP client is too limited to be able to register the anonymous Loxone with a SIP server like iptel. (it basically is a device to register to a (local) PBX, and afaik there's no way to have iptel e.g. to act as such and even if it would, there'd be no way to get the loxone to listen in.
So basically the intercom could act as at best an IP camera with Loxone.Kommentar
-
Hello,
I've been trying to integrate my IP Pbx on the Loxone application using the door controller. My IP Pbx server is up and running in the same house as Loxone with 15-20 extensions and SIP phones. I want my Loxone application to initiate VOIP calls using the IP Pbx server as the calling party. Since you have previously done this between T25 and Loxone, i would like to know how you did it. Any help would be appreciated. My IP Pbx server is Elastix 5.0
Thank you,
Essam.Kommentar
-
Hi,
thx for all the details. Reading through here and combining it with https://www.doorbird.com/sip, supported by Loxone Integration Doorbird IP-Türstation and DoorBird Connect AVM FRITZ!Box mit FRITZ!Fon, I conclude:- Loxone's MiniServer does not provide any SIP server capability it. Instead, it does peer2peer doing
anonymous -id, as called party - if you have more than one server etc. you have to have SIP server / PBX in your network plus a system, what supports individual SIP calls.
Integrate them similar as given in https://www.loxforum.com/forum/faqs-...orpi-projektes
SIP server:- cloud
- on-premises
- Fritz!Box
- http://www.raspberry-asterisk.org/
- …
Glossary is found on https://www.loxforum.com/forum/small...way#post218904Kommentar
-
Not exactly. Loxone's MiniServer does not provide anything regarding SIP, no client, no server.
The app on mobile devices includes a very limited sip client that does anonymous calling in a peer2peer style without any registration to a SIP server. It sends the SIP Invite to the IP-address or hostname defined in the "host for audio intern / extern" field and uses the "username for audio intern / extern" to identify the called party, e.g. INVITE sip:621@192.168.1.60. The caller (the app) does not use any username to identify itself, but just the IP-address of the mobile device. The app can only do outbound calls, but is not able to receive a call. -
thx for the update
So in case some rings at the door the app is notified about it and will call the door anonymously, to speak to the person at the door
- Loxone's MiniServer does not provide any SIP server capability it. Instead, it does peer2peer doing
-
Hello! Can you guys help me to figure it out how to simply call to Intercom via any soft phone or SIP Extension for Scrypted? I have username, ip, antisip.com account details etc like everything what available via Intercom admin panel but still can't manage to make a test call via SIP. I've tried Linphone to make a test calls using username@local_intercom_IP, username@antisip.com, username@sip.antisip.com - it won't work. In SIP Extension log I can see 4xx errors about timeouts and INVITE failures. Any advise? Thanks!
I've tried to ask Loxone support about it - and the answer is:
Unfortunately, I would like to inform you that the Sip account of the Intercom Gen 1 is only used for external audio connection. Sadly, you will not be able to use it for the application that you want to use it for. As mentioned, the Intercom Gen1 is an obsolete product, we are not using the SIP account for the functioning of the new generation Intercom.Zuletzt geändert von 350D; vor 5 Tagen.Kommentar
Kommentar