AlarmReceiver, howto get it to work

Hi,

Thankyou so much for testing and confirming there is nothing wrong with the module. I obviouly don’t know what I am doing then. I followed your instructions above, but my alarm panel will not be calling in from an external line. It will be calling from an internal extension (spa3102 attached to the alarm panel). I went under custom destinations as described and set up a destination for “Alarm Receiver”. I then went to “Misc Applications” and created a Misc Application called “Alarm Receiver EXtension”, entered “666” for the “Feature Code” set “Feature Status” to “Enabled” and then under “Destination” I select “Custom Destinations” and “Alarm Receiver”. Submit changes etc.

From a working extension, I then dial extension “666” and was expecting to hear something. The phone rings a couple of times, it is picked up, the asterisk dies.

While running asterisk -r, this is what I see…

root@pbx:/etc/asterisk $ asterisk -r
Asterisk 1.8.4, Copyright © 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for detail s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 1.8.4 currently running on pbx (pid = 26315)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [666@from-internal:1] NoOp(“SIP/200-00000000”, “Running miscapp 2: Alarm Receiver EXtension”) in new stack
– Executing [666@from-internal:2] Macro(“SIP/200-00000000”, "user-callerid, ") in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/200-00000000”, “AMPUSER=200” ) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/200-00000000”, “0?report” ) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/200-00000000”, “1?Set(REA LCALLERIDNUM=200)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/200-00000000”, “AMPUSER=200” ) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/200-00000000”, “AMPUSERCIDNA ME=Kitchen”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/200-00000000”, “0?report” ) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/200-00000000”, “AMPUSERCID=2 00”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/200-00000000”, “CALLERID(all )=“Kitchen” <200>”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/200-00000000”, “0?Set(CHA NNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/200-00000000”, “0?contin ue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/200-00000000”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/200-00000000”, “1?contin ue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] Set(“SIP/200-00000000”, “CALLERID(nu mber)=200”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/200-00000000”, “CALLERID(na me)=Kitchen”) in new stack
– Executing [s@macro-user-callerid:21] NoOp(“SIP/200-00000000”, “Using Call erID “Kitchen” <200>”) in new stack
– Executing [666@from-internal:3] Goto(“SIP/200-00000000”, “custom-myalarmr eceiver,s,1”) in new stack
– Goto (custom-myalarmreceiver,s,1)
– Executing [s@custom-myalarmreceiver:1] NoOp(“SIP/200-00000000”, “Alarm re ceived”) in new stack
– Executing [s@custom-myalarmreceiver:2] Answer(“SIP/200-00000000”, “”) in new stack
– Executing [s@custom-myalarmreceiver:3] Ringing(“SIP/200-00000000”, “”) in new stack
– Executing [s@custom-myalarmreceiver:4] Wait(“SIP/200-00000000”, “6”) in n ew stack
– Executing [s@custom-myalarmreceiver:5] AlarmReceiver(“SIP/200-00000000”, “”) in new stack
pbx*CLI>
Disconnected from Asterisk server
root@pbx:/etc/asterisk $

Any help would be greatly appreciated.

Many thanks

Phil