could you share the script, please? having something like that just moved up on my list of priorities, and while i know i can code this, i'd rather not reinvent the wheelthanks!
could you share the script, please? having something like that just moved up on my list of priorities, and while i know i can code this, i'd rather not reinvent the wheelthanks!
It would have taken me a while to learn how to code this, not because it seems terribly difficult, but because I have pretty much zero background in PHP, perl, or bash programming. I'm all for not reinventing the wheel!
If you go to this thread on the pbxinaflash forum, there are two scripts of interest.
http://www.pbxinaflash.com/forum/showthread.php?t=1968
Post #12 has a bash script that goes in the 'monitor trunk failures' box in FreePBX. This script will only run if someone attempts to make a call on that trunk and the call fails. (It won't monitor registrations.)
Post #31 has a perl script that does monitor registrations. I took it as is (thanks to those who posted and refined it, by the way!!) and set it to run every 5 mins via cron.
Ah, thanks. Since I am now running PIAF this is cool![]()
NP. It looks like the failed call script (post 12) should work with any Asterisk/FreePBX distro, and the trunk monitoring one (post 31) should work with any Asterisk implementation, if my understanding of Asterisk is correct.
uhm,
MISSING "start time" in "call history"
edit: Never mind, someone must have read my mind, it's back now!
my wish list:
- Intelligent Call Forwarding that detects the incoming call originated from the "forwarded" phone and rings the original destination instead
Call History that makes use of CallerID/Custom CallerID+Location. Call History only shows Custom CallerId+Loc. No CNAM look up; Albeitly,it's a step in the right direction!
- Scheduled sim. ring with a twist (see wish #1)
Bookmarks