Difference between revisions of "Using Security alerts on your mobile phone"

From LinuxMCE
Jump to: navigation, search
 
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table width="100%"> <tr><td bgcolor="#FFCFCF">This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007.  In general any information should apply to LinuxMCE.  However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.</td></tr> </table>Description of HW setup :
+
== Description of HW setup :==
  
I use Sipura 3000 VOIP-POTS adapter that connects two devices to Pluto's Asterisk PBX. One is doorphone (that is actually normal analog phone) and other is analog FXO output to my Siemens GSM gateway (makes my calls much cheaper - instead of expensive ISDN-GSM calls only GSM-GSM calls are triggered when I call cell phone from my house).  
+
I use Sipura 3000 VOIP-POTS adapter that connects two devices to LinuxMCE's Asterisk PBX. One is doorphone (that is actually normal analog phone) and other is analog FXO output to my Siemens GSM gateway (makes my calls much cheaper - instead of expensive ISDN-GSM calls only GSM-GSM calls are triggered when I call cell phone from my house).  
  
 
I have two output lines in my home :  
 
I have two output lines in my home :  
A. ISDN line that will be used to call only security calls to my cell phone (but currently Pluto's Asterisk is missing zaphfc modules so I cannot use this line, so made a hack to use temporarily GSM gateway line for security calls)
+
# ISDN line that will be used to call only security calls to my cell phone (but currently LinuxMCE's Asterisk is missing zaphfc modules so I cannot use this line, so made a hack to use temporarily GSM gateway line for security calls)
B. GSM gateway that is used for all normal incoming/outgoing cellular calls from/to my house
+
# GSM gateway that is used for all normal incoming/outgoing cellular calls from/to my house
  
Steps to setup and use Security alerts in described setup
 
  
# Set everything needed under pluto-admin -> wizard -> security]
+
== Steps to setup and use Security alerts in described setup ==
  
# Set Caller ID from which you want to make security calls
 
  
##go to pluto-admin -> advanced -> network -> wap/grps settings and set caller id
+
1. Set everything needed under LinuxMCE-admin -> wizard -> security
  
# Correct outgoing number that is called on security breach in pluto-admin -> advanced -> configuration -> phones setup
+
2. Set Caller ID from which you want to make security calls
  
I'm from Slovenia and there are no Phone providers that Pluto has support for. Therefore my setup is basically a hack - I use Teliax as provider and edited all settings accordingly (basically whole routing stuff is added to Pluto only after you pick one of providers) and also had to do few manual changes I don't even remember. Have suggested to Pluto guys to provide generic dummy provider that will let user to use all routing features of Pluto without being connected to any of Pluto's providers. I spotted that '91' gets prepend on my security calls, so I have to make small adjustment to pick that 91X pattern and remove 91 before actuall call on my ISDN output...
+
2.1 go to LinuxMCE-admin -> advanced -> network -> wap/grps settings and set caller id
  
I went into Outbound Routing and added '91041.' to my GSM gateway Dial Patterns to pick that 91 prepended number too. I had to make this fix cause of problems described in ISDN output line description.
+
3. Correct outgoing number that is called on security breach in LinuxMCE-admin -> advanced -> configuration -> phones setup
  
# reload router so new settings get sent to Mobile Orbiter (but be sure check "send vmc" from your mobile orbiter device before that)
+
I'm from Slovenia and there are no Phone providers that LinuxMCE has support for. Therefore my setup is basically a hack - I use Teliax as provider and edited all settings accordingly (basically whole routing stuff is added to LinuxMCE only after you pick one of providers) and also had to do few manual changes I don't even remember. Have suggested to LinuxMCE guys to provide generic dummy provider that will let user to use all routing features of LinuxMCE without being connected to any of LinuxMCE's providers. I spotted that '91' gets perpend on my security calls, so I have to make small adjustment to pick that 91X pattern and remove 91 before the actual call on my ISDN output...
  
# now set Pluto to "armed' state, trip sensor and see what will happen.
+
I went into Outbound Routing and added '91041.' to my GSM gateway Dial Patterns to pick that 91 perpended number too. I had to make this fix cause of problems described in ISDN output line description.
  
Proper behaviour :
+
4. reload router so new settings get sent to Mobile Orbiter (but be sure check "send vmc" from your mobile orbiter device before that)
 +
 
 +
5. now set LinuxMCE to "armed" state, trip sensor and see what will happen.
 +
 
 +
Proper behavior :
 
- if call is made with proper Id that matches that from 1. you'll get an option to open browser and see picture of alert and also receive call with voice menu
 
- if call is made with proper Id that matches that from 1. you'll get an option to open browser and see picture of alert and also receive call with voice menu
  
 
- if caller id doesn't match, you just receive call with security voice menu....
 
- if caller id doesn't match, you just receive call with security voice menu....
  
Beware: Under 0.43 pictures are not yet shown properyl - we're trouble shooting it now, so I guess it should work on 0.44 when released..
+
Beware: Under 0.43 pictures are not yet shown properly - we're trouble shooting it now, so I guess it should work on 0.44 when released..
 
+
[[Category: Tutorials]]
 
+
 
+
 
+
 
+
 
+
 
+
 
+
----
+
 
+
 
+
 
+
Notifications Telecom Security Status/Mantis ID Comments 70. Add Alarm Panel
+
--------------------------------------------------------------------------------
+
under pluto-admin > devices > interfaces
+
add alarm panel device as child of core
+
add sensors as children for alarm panel
+
add package pluto-sample-media; login to test system and 'aptitude install pluto-sample-media' Not verifiedOK, it's workingFailedBlocked
+
Mantis:   71. Test/Simulate Sensor tripped
+
--------------------------------------------------------------------------------
+
message send
+
/usr/pluto/bin/MessageSend localhost sensor_id -1001 2 9 25 "1"/"0" Not verifiedOK, it's workingFailedBlocked
+
Mantis:  72. Fire Alarm
+
--------------------------------------------------------------------------------
+
go to pluto-admin > security > active sensors and set Reaction to sensor for a Smoke Detector to Fire
+
 
+
set the house mode and trip the sensor Not verifiedOK, it's workingFailedBlocked
+
Mantis:  73. Security breach
+
--------------------------------------------------------------------------------
+
go to pluto-admin > security > active sensors and set Reaction to sensor for a Motion detectr sensor to Security
+
 
+
arm the alarm panel, trip the sensor and you should be asked to enter pin to disable the alarm. if no pin code is entered the alarm will start, and the md's will play an mpg file. Not verifiedOK, it's workingFailedBlocked
+
Mantis:  74. Cellphone notifications
+
--------------------------------------------------------------------------------
+
to enable go to go to pluto-admin > security > active sensors and check 'N'. the mobile phone needs to be configured in pluto-admin > security > cellphone notifications
+
 
+
after the alarm is tripped you'll receive a call form pluto and you should hear a voice menu.
+
test all 5 items:
+
1. reset // reset alarm
+
2. ignore // ignore but let pluto notify the others in the list
+
3. fire sos // should make a conference with sos entries from cellphone notification page
+
4. call neighbours // conference with the neighbours
+
5. speak in the house // speak on all the md's from the house Not verifiedOK, it's workingFailedBlocked
+
Mantis:  75. Add generic camera
+
--------------------------------------------------------------------------------
+
add the device and go to pluto-admin > Security > Security - Video links
+
set camera for sensor Not verifiedOK, it's workingFailedBlocked
+
Mantis:  76. Wap page
+
--------------------------------------------------------------------------------
+
change the ip of the pluto installation to be routable ip (so you can access the computer with gprs mobile phone) and check wap page using this link http://82.77.255.210/pluto-admin/check.wml
+
 
+
to change the ip go to pluto-admin > advanced settings > network > network settings
+
CORE IP:82.77.255.210
+
Subnet mask:255.255.255.192
+
Gateway:82.77.255.193
+
Update
+
 
+
add scenarios, see cameras, speak in the house.
+
for security alerts go to http://82.77.255.210/pluto-admin/check.wml?security=0 Not verifiedOK, it's workingFailedBlocked
+
Mantis:  Motion Status/Mantis ID Comments 77. Add Camera
+
--------------------------------------------------------------------------------
+
go to wizard > devices > security cameras;
+
add generic analog camera, firewire camera or ip camera.
+
a new security scenario is created with the name of the room, you should egen all screens.
+
 
+
check wizard > advanced > configuration;
+
camera should be a child of Motion Wrapper
+

Latest revision as of 17:50, 25 January 2009

Description of HW setup :

I use Sipura 3000 VOIP-POTS adapter that connects two devices to LinuxMCE's Asterisk PBX. One is doorphone (that is actually normal analog phone) and other is analog FXO output to my Siemens GSM gateway (makes my calls much cheaper - instead of expensive ISDN-GSM calls only GSM-GSM calls are triggered when I call cell phone from my house).

I have two output lines in my home :

  1. ISDN line that will be used to call only security calls to my cell phone (but currently LinuxMCE's Asterisk is missing zaphfc modules so I cannot use this line, so made a hack to use temporarily GSM gateway line for security calls)
  2. GSM gateway that is used for all normal incoming/outgoing cellular calls from/to my house


Steps to setup and use Security alerts in described setup

1. Set everything needed under LinuxMCE-admin -> wizard -> security
2. Set Caller ID from which you want to make security calls
2.1 go to LinuxMCE-admin -> advanced -> network -> wap/grps settings and set caller id
3. Correct outgoing number that is called on security breach in LinuxMCE-admin -> advanced -> configuration -> phones setup 

I'm from Slovenia and there are no Phone providers that LinuxMCE has support for. Therefore my setup is basically a hack - I use Teliax as provider and edited all settings accordingly (basically whole routing stuff is added to LinuxMCE only after you pick one of providers) and also had to do few manual changes I don't even remember. Have suggested to LinuxMCE guys to provide generic dummy provider that will let user to use all routing features of LinuxMCE without being connected to any of LinuxMCE's providers. I spotted that '91' gets perpend on my security calls, so I have to make small adjustment to pick that 91X pattern and remove 91 before the actual call on my ISDN output...

I went into Outbound Routing and added '91041.' to my GSM gateway Dial Patterns to pick that 91 perpended number too. I had to make this fix cause of problems described in ISDN output line description.

4. reload router so new settings get sent to Mobile Orbiter (but be sure check "send vmc" from your mobile orbiter device before that)
5. now set LinuxMCE to "armed" state, trip sensor and see what will happen.

Proper behavior : - if call is made with proper Id that matches that from 1. you'll get an option to open browser and see picture of alert and also receive call with voice menu

- if caller id doesn't match, you just receive call with security voice menu....

Beware: Under 0.43 pictures are not yet shown properly - we're trouble shooting it now, so I guess it should work on 0.44 when released..