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


Go Hawks!
865 posts

Ultimate Geek
+1 received by user: 47

Trusted
Subscriber

Topic # 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 https://wiki.asterisk.org/wiki/display/AST/Message+Waiting+Indication), 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.

 

Thanks!

 

WazzaGeek.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Create new topic


Go Hawks!
865 posts

Ultimate Geek
+1 received by user: 47

Trusted
Subscriber

  Reply # 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 »

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 »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



Geekzone Live »

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



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.