On Mon, Jul 04, 2016 at 07:39:14PM -0400, TEG AMJG wrote:
Now to the real question, is there anyway to include Asterisk voicemail functionality with the solution I already mentioned? the question is because, as I far as I know, Asterisk needs to associate mailboxes to its users. So i believe that i have to practically change most of my solution and find a way to make Kamailio register and locate users with the Realtime integration of Asterisk and map the registration accordingly to the table fields.
But it destroys most of my NAT and register solution since i also configured one of the private IPs as a peer in Asterisk sort of like in that guide
My solutions are similar to yours. The way I use asterisk voicemail is to have a script sync kamailio users that want voicemail to the asterisk realtime voicemail table and simply forward calls to voicemail to the asterisk server as $ru="rvm-username@voicemail.instance" to access voicemail and $ru="tvm-username@voicemail.instance" to leave voicemail (via a failure route after timeout (t_set_fr()).