aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-19New AGI format in asterisk 16HEADmasterJames Bottomley1-4/+9
Unlike asterisk 13, asterisk 16 responds with Output: lines rather than Follows: lines, so cope with this addition. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2019-01-04lighting: add new functionJames Bottomley5-0/+203
Add functionality to control homeseer based lighting using json Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2019-01-04Aastra classes: let 6739i use iconsJames Bottomley2-1/+8
It is supported in the phone, so don't let the classes forbid it. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-06-02Makefile: add clean targetJames Bottomley1-0/+3
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-06-01Add timezone to voicemail displayJames Bottomley2-2/+6
The voicemail box lists seconds past epoch and a UTC date. The UTC date isn't terribly useful because people want to see the local time of the message so use a static timezone to change the message list and message display into that zone. This should probably be further expanded to get the timezone from the phone somehow (later TODO). Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-06-01php7 fixesJames Bottomley2-2/+2
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2016-12-01BaseList: fix page traversal on 6739iJames Bottomley1-0/+2
The 6739i doesn't necessarily work with scrollup/scrolldown so add softkeys to page through the list Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2015-07-24Add missing doc prerequisitsJames Bottomley1-2/+2
2013-12-16Fix Empty list and title handingJames Bottomley3-4/+10
Empty list should say that. Lists should also share the title of the manager they're managing. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-10TextScreen: refactor to eliminate dependence on AastraIPPhone classesJames Bottomley6-22/+193
Begin building a device independent representation object Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-10Voicemail: Final updates for usabilityJames Bottomley2-54/+44
Junk the pause/resume functionality because the 6739i is a bit buggy when it comes to sending DTMF via execute XML. Do stop from the AMI hangup. When the user presses back on a listened to INBOX message, move it to Old Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-10AastraAsterisk: update AMI functionsJames Bottomley1-4/+44
Split the send_request function so we can send a request without waiting, add Hangup and PlayDTMF events, allow specification of the event mask, really set the timeout on the listen streams, add a timed wait_event() function which waits for either an event or the timeout. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-10Voicemail: Add delete and move functionsJames Bottomley2-13/+151
Refactor some of the list handlers becuase delete and move have to act on multiple files. Also make it so that any played messages in INBOX automatically move to Old. To get the MWI to work, you have to set pollmailboxes=yes pollfreq=5 In voicemail.conf because we're now tampering with the files outside of the application. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-10Blacklist: add use of non breaking space in initial messageJames Bottomley2-1/+2
Fixes the case where the caller id number runs into the name Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-03Voicemail: add pause and resume to playbackJames Bottomley2-14/+71
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-02BaseAastra: add timeout to the actionurl settingsJames Bottomley1-1/+10
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-01Voicemail: initial implementationJames Bottomley5-2/+177
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-01ActionURI: add handlerJames Bottomley4-1/+53
Add handler file for action URIs Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-01ConfigFile: Add handler for asterisk configuration filesJames Bottomley2-1/+53
Add simple parser for all asterisk config files. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-30Add more docs including sample extensions.conf for blacklistJames Bottomley4-3/+59
2013-04-29Fix user name in asterisk-aastra.confJames Bottomley2-2/+2
2013-04-29general tidy upsJames Bottomley2-0/+3
BaseAastra needs to have no cancel URL if we're at the start BlacklistManager should show the list title rather than the generic Blacklist/Whitelist when managing a list. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-29black/white list: add php file to activate from webJames Bottomley3-8/+29
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-29Make automatic connection to asterisk manager via pre-set username/passwordJames Bottomley3-1/+8
Add .conf file to manager.d to make this happen. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-29Add makefile for debian buildJames Bottomley1-0/+62
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-28Add COPYING file prior to publishingJames Bottomley1-0/+376
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-28BlackListManager: add class for managing black/white listsJames Bottomley1-0/+29
Base on DatabaseListManager, this class is really simple. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-28List handlingJames Bottomley2-0/+109
Add two classes, one for base list handling and the other for lists as databases elements within the asterisk server. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-28Refactor the $this->back url handler of BaseAastra.classJames Bottomley2-4/+1
Almost everything sets it to the current URL, so make that the default behaviour. If you *don't* want a back action, set it to null. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-28Blacklist: refactor some code and add a description edit capabilityJames Bottomley1-13/+12
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-28AastraIPPhoneTextMenu: Add some missing elementsJames Bottomley1-0/+25
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-28AastraAsterisk: fix database_show not to include the number of elementsJames Bottomley1-0/+2
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-26Blacklist: class for managing black and white listsJames Bottomley1-0/+118
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-26BaseAastra: add base abstract class from which all the actions buildJames Bottomley1-0/+80
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-26AastraAsterisk: add some core functionalityJames Bottomley1-0/+27
The authentication model for all the classes (see BaseAastra.class) is that the phone using the XML code must be registered, so we check the sip registrations for the incoming IP address Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-04-26Initial import from Aastra files from the XML demoJames Bottomley28-0/+5986
Signed-off-by: James Bottomley <JBottomley@Parallels.com>