snarpatroid
Guru
- Joined
- May 22, 2013
- Messages
- 301
- Reaction score
- 44
This is mainly aimed at all Cisco handsets apart from the SPA series. Regular followers will know I am a diehard 7941 user and wrote the bible on these in the resources section
I wanted to give an update to my resource at http://pbxinaflash.com/community/index.php?resources/cisco-7900-series-presence-patch.11/ as I have been busy today. Cisco have released the 9.4 firmware for 7900 series recently and as a spring clean I decided to upgrade my handsets to keep security up to date. At the same time it has been some time since I updated Asterisk.
When I wrote the linked resource I was on 11.3. Today I used the same principles to upgrade Asterisk to 11.12.0 and to apply Gareth's presence patch. For me at least, that has meant I now get a snazzy little 'record' button that I can hit for on-demand call recording.
If you want to try the same, in my guide substitute 11.12.0 for 11.3.0 in the first section of code, the rest is all the same.
In the second part of the code again substitute 11.12.0 on the patch (having made sure you download that version of patch and putting it in /usr/src). Ignore the line /configure as this is not needed. **Important** - when you get to line 2 of the second part of code it'll tell you cannot find the file, all you have to do is type it in so if it says something like cannot find asterisk/chan/sip.c (or whatever) just type in chan/sip.c (so the last part of the directory and the file name).
Then in extensions_custom.conf you need to add
Put the latest gareth-softkeys.xml into your tftpboot (I edited it to include the Record button so it appears in the during call buttons), restart your system (I did a full restart with shutdown -r now command), then restart your phone once your system is back up (usually it's by pressing settings then * * # #).
Hope this helps others, well worth the update. I am still on a Raspberry Pi with this so the patching took quite a long time but you can just leave it to do its thing, actually if you're configuring the 7900 series then patching is probably one of the more simple things you can do.
I do have a question though - does anyone know if I can alter the record tags somehow in the conf file so it only records one file with both incoming and outgoing audio mixed together instead of having two channels?
I wanted to give an update to my resource at http://pbxinaflash.com/community/index.php?resources/cisco-7900-series-presence-patch.11/ as I have been busy today. Cisco have released the 9.4 firmware for 7900 series recently and as a spring clean I decided to upgrade my handsets to keep security up to date. At the same time it has been some time since I updated Asterisk.
When I wrote the linked resource I was on 11.3. Today I used the same principles to upgrade Asterisk to 11.12.0 and to apply Gareth's presence patch. For me at least, that has meant I now get a snazzy little 'record' button that I can hit for on-demand call recording.
If you want to try the same, in my guide substitute 11.12.0 for 11.3.0 in the first section of code, the rest is all the same.
In the second part of the code again substitute 11.12.0 on the patch (having made sure you download that version of patch and putting it in /usr/src). Ignore the line /configure as this is not needed. **Important** - when you get to line 2 of the second part of code it'll tell you cannot find the file, all you have to do is type it in so if it says something like cannot find asterisk/chan/sip.c (or whatever) just type in chan/sip.c (so the last part of the directory and the file name).
Then in extensions_custom.conf you need to add
Code:
exten => record,1,Answer
same => next,Wait(1)
same => next,Record(${ASTSPOOLDIR}/record/${RECORD_UNIQUEID}-${RECORD_PEERNAME}-${RECORD_DIRECTION}.wav,,,akqx);
same => next,Hangup(normal_clearing)
Put the latest gareth-softkeys.xml into your tftpboot (I edited it to include the Record button so it appears in the during call buttons), restart your system (I did a full restart with shutdown -r now command), then restart your phone once your system is back up (usually it's by pressing settings then * * # #).
Hope this helps others, well worth the update. I am still on a Raspberry Pi with this so the patching took quite a long time but you can just leave it to do its thing, actually if you're configuring the 7900 series then patching is probably one of the more simple things you can do.
I do have a question though - does anyone know if I can alter the record tags somehow in the conf file so it only records one file with both incoming and outgoing audio mixed together instead of having two channels?