ftocc

Custom Doorbell application - help!

Nick_Walton
Posts: 15
Member Since:
2007-12-16

Hi,
I've got a spare IP phone that I've connected to wires across the redial button, in order to make it call my desk phone when someone pushes the doorbell. This works fine - but if I'm not at my desk, it will simply ring forever.

What I'm looking to do is create a custom application the phone can ring, which will then ring my desk phone for say, 5 rings, with the caller ID 'Doorbell' before hanging up. The actual phone connected to the doorbell must also be hung up to make sure it can ring the custom application again the next time someone presses the doorbell.

The problem is... I've no idea how to write custom applications, and any help would be very much appreciated!

Nick



SkykingOH
Posts: 3533
Member Since:
2007-12-17
You can either download or

You can either download or pickup a copy of "Asterisk, The future of Telephone" it is the definitive reference on Asterisk programming.

What you want to do is very easy with Asterisk extensions.

I am not sure I like the idea of the hacked up phone. There are several door phones that do exactly what you want. I have not tried a SIP door phone however a FXS port or an ATA works fine to traditional ones.

--

Scott

aka "Skyking"



WebGuy
Posts: 1
Member Since:
2006-06-15
Have you tried the NerdVittles Door Fon setup?

The Nerd Vittles Door Fon setup works great at my place.

http://nerdvittles.com/index.php?p=125

Everything you need is there.... of course, I *did* tweak my exten code as follows:

; from-doorbell-custom
; this is what answers our doorbell
[from-doorbell-custom]
exten => s,1,Answer()
exten => s,2,SIPAddHeader(Alert-Info: info=)
exten => s,3,SetCIDName()
exten => s,4,SetCIDNum(4055552999)
exten => s,5,Queue(859|t|||108) ; Doorbell
exten => s,6,Playback(doorbell-unavailable)
exten => s,7,Hangup()



kb9mwr
Posts: 160
Member Since:
2006-09-09
If you're not afraid of

If you're not afraid of making a small mod to your doorbell ringer, you can do what you want on the cheap without some fancy-smacy door bell controller.

Have a look at how I hacked an old Radio Shack Weather Radio and tapped the speaker and interfaced it to a Linux PC. That should give you a good starting point.
http://www.qsl.net/kb9mwr/projects/wxalert/plan.html

Consult your nearest Radio Shack. Really all you should have to do is have tap the power to the door bell ringer and perhaps have that fire a relay to the make a connection between the pins on the parallel port



ddwyer
Posts: 292
Member Since:
2006-06-03
i hacked a Snom 190

i hacked a snom 190 about 3 yrs ago , i use a similar context to the one about , and i also use a custom ringtone .. it plays a DING DONG sound exactly like a door bell ! mine has been working for over 3 year absolutly no problems..

about the Hack - i alreay had an old stainless steel flush mount door station install on my old samsung PBX. i took the snom 190 apart and soldered a pair of wires across one of the speed-dial buttons , so when somebody presses my doorbell button - it activates the snom speedial (which is programmed to ring a preset ringgroup). it6 really is an easy solution and gives me a full sip door station . my next step is to get the speaker and microphone working but this is not really a priority for me



Nick_Walton
Posts: 15
Member Since:
2007-12-16
Thanks for all the replies.

Thanks for all the replies. I'd like to just use the phone I have with the mentioned redial hack, a bit like Ddwyer's hack with the speeddial button (Sadly my phone has no speeddials).

All I need to do is work out a custom app to ring another extension a few times and then hang up. If someone could post some lines that would enable me to do this I'd be even more grateful.

Nick



the_Hart
Posts: 39
Member Since:
2006-08-20
my hacked Grandstream BT100

I use the message button for dialing the right number
2722454255_db2d109db2.jpg?v=0
2722449071_86223c3fb5.jpg?v=0
2723271438_e6e40e6ffc.jpg?v=0
2723280942_db3d3c877c_b.jpg



Nick_Walton
Posts: 15
Member Since:
2007-12-16
That's certainly more

That's certainly more elegant than my bodge!

I looked into some sites and found out how to write the custom app so its all sorted now.

My setup doesn't really allow for the audio to be used from the phone (which is actually OK, as it doesn't work on the phone I've used) and the original doorbell had to work. I'll post some pictures later.

Thanks for the help/pointers!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.