Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

Go Hawks!
1014 posts

Uber Geek


#191274 30-Jan-2016 13:48
Send private message

Hi All,


I have a setup that means my 2Talk numbers terminate in two places - my laptop for when I'm mobile and a FreePBX install at home, so that we can use "normal" phones for making and receiving calls.


At home, we also use chan_mobile to connect the mobile phones to Asterisk to make and receive calls (The outbound routes are configured to use the mobile phones first before the 2talk lines) - and this is the reason that I don't just use 2Talks cloud solution.


What I would like to do is to use the Voicemail that comes with 2Talk, instead of the voicemail internal to FreePBX - but what I need to do is retrieve the voicemail information from 2Talk and pass it through to Asterisk.


I've tried both "mwi" and "unsolicited_mailbox" (from, but haven't had any luck with either.  I was reading through the debug information, but given I was doing this very late at night and not getting anywhere, I decided to put it down for a while and see if anyone in the GZ community had any experience with this.

























Create new topic

Go Hawks!
1014 posts

Uber Geek


  #1518171 23-Mar-2016 09:24
Send private message

Just as an update, I have abandoned the idea of trying to pass through the MWI (for now, it's probably an itch I'll scratch at) and what I'm looking at doing is checking the mail via the IMAP account for 2Talk's voicemail, and polling frequently to see if there are messages waiting.


At this stage, what I plan to do is have a hook on the hangup from voicemail to then poll for voicemail.


This allows me to poll for waiting messages every 5 to 10 minutes, but if you check the messages, then once you hang up the poll to the voicemail should turn off the MWI fairly quickly.


Let me know if anyone wants to see the code that achieves this after.









Create new topic

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Chorus completes the build and commissioning of two new core Ethernet switches
Posted 8-Jul-2020 09:48

National Institute for Health Innovation develops treatment app for gambling
Posted 6-Jul-2020 16:25

Nokia 2.3 to be available in New Zealand
Posted 6-Jul-2020 12:30

Menulog change colours as parent company merges with Dutch food delivery service
Posted 2-Jul-2020 07:53

Techweek2020 goes digital to make it easier for Kiwis to connect and learn
Posted 2-Jul-2020 07:48

Catalyst Cloud launches new Solutions Hub to support their kiwi Partners and Customers
Posted 2-Jul-2020 07:44

Microsoft to help New Zealand job seekers acquire new digital skills needed for the COVID-19 economy
Posted 2-Jul-2020 07:41

Hewlett Packard Enterprise introduces new HPE GreenLake cloud services
Posted 24-Jun-2020 08:07

New cloud data protection services from Hewlett Packard Enterprise
Posted 24-Jun-2020 07:58

Hewlett Packard Enterprise unveils HPE Ezmeral, new software portfolio and brand
Posted 24-Jun-2020 07:10

Apple reveals new developer technologies to foster the next generation of apps
Posted 23-Jun-2020 15:30

Poly introduces solutions for Microsoft Teams Rooms
Posted 23-Jun-2020 15:14

Lenovo launches new ThinkPad P Series mobile workstations
Posted 23-Jun-2020 09:17

Lenovo brings Linux certification to ThinkPad and ThinkStation Workstation portfolio
Posted 23-Jun-2020 08:56

Apple introduces new features for iPhone iOS14 and iPadOS 14
Posted 23-Jun-2020 08:28

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.