Solved

I want Elastix to listn to CNN news and any radio channel i want also for weather ???

Posted on 2011-03-24
3
499 Views
Last Modified: 2013-11-12
Dear all
I have Elastix 2.0 and what i want when dial extension listen directly to cnn news English or any languish also i need to listen to any radio channel i want to listen
2nd  i want also to listen to the the weather state and time with my time zone
plz try to help me in this as it is required from one of my customers  
0
Comment
Question by:tahasip
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:tsmgeek
ID: 35205326
ive got somthing similar, issue with using mpg123 is it can crash asterisk if the stream does not load of mpg123 crashes itself, there is talk to use madplay

http://www.voip-info.org/wiki/view/Asterisk+config+musiconhold.conf
http://www.elastix.org/en/component/kunena/27-miscellaneous/44707-mpg123-crashes-asterisk-1428.html

/etc/asterisk/extensions_custom.conf

[from-internal-custom]
exten => 68742,1,Answer
exten => 68742,3,Read(MusicCode,beep,1)
exten => 68742,4,GoTo(QueueMusic,s,${MusicCode})
exten => 68742,5,Hangup
exten => 1234,2,Playback(demo-congrats)         ; extensions can dial 1234


[QueueMusic]
exten => s,2,MusicOnHold(Jazz)
exten => s,6,MusicOnHold(SwissGroove)
exten => s,10,goto(from-internal-custom,68742,2)
exten => s,11,Hangup


/etc/asterisk/musiconhold_custom.conf
[SwissGroove]
mode=custom
application=/usr/local/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0 http://82.197.167.134:80

Open in new window

0
 

Author Comment

by:tahasip
ID: 35205498
thanks for ur replay

i am using Elastix 2 that come with asterisk 1.6 not 1.4
then iam so confused about this scenario i made soo many searches and i want some thing like
step by step how to start and how to use many channels  
0
 
LVL 5

Accepted Solution

by:
tsmgeek earned 500 total points
ID: 35208532
im on elastix 1.6
dont think the syntax is vastly different, the code above does allow multiple channels, you just do it as this....
/etc/asterisk/extensions_custom.conf

[from-internal-custom]
exten => 68742,1,Answer
exten => 68742,3,Read(MusicCode,beep,1)
exten => 68742,4,GoTo(QueueMusic,s,${MusicCode})
exten => 68742,5,Hangup
exten => 1234,2,Playback(demo-congrats)         ; extensions can dial 1234


[QueueMusic]
exten => s,2,MusicOnHold(Jazz)
exten => s,6,MusicOnHold(SwissGroove)
exten => s,7,MusicOnHold(SwissGroove2)
exten => s,10,goto(from-internal-custom,68742,2)
exten => s,11,Hangup


/etc/asterisk/musiconhold_custom.conf
[SwissGroove]
mode=custom
application=/usr/local/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0 http://82.197.167.134:80
[SwissGroove2]
mode=custom
application=/usr/local/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0 http://82.197.167.134:80

Open in new window


0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question