Asterisk 1.4.11 and chan_mobile from Asterisk-Addons SVN Head

I recently decided to give chan_mobile (formerly chan_cellphone) a try with Asterisk. There are patches for Asterisk 1.4.4 at http://bugs.digium.com/view.php?id=8919. However, I have Asterisk 1.4.11 running on my system. David Bowerman has graciously added chan_mobile to the Asterisk-Addons SVN head work that is ongoing. The problem here was that Asterisk-Addons SVN head is working with Asterisk SVN head and there are some API changes going on in Asterisk that refuses to allow chan_mobile to compile for Asterisk 1.4.11. So being the type to not give up I decided to try to back port chan_mobile to Asterisk 1.4.11. And low and behold there weren't too many fixes required. I have a patch (included with this post) that allows chan_mobile to compile and run under Asterisk 1.4.11. I offer no promises on how stable this is. I mostly just did a replace to the old API methods. If any other code was required for stability, then it is missing. I did test receiving calls, which worked like a charm, however I have not tried placing calls (mostly because I wanted to get this patch saved on my blog before I lost it). Good luck if this helps you...


AttachmentSize
chan_mobile-asterisk-addons-svn.patch.txt9.66 KB