Asterisk: Difference between revisions

From NURDspace
No edit summary
Line 57: Line 57:


In extensions.conf you configure what happens when someone calls in or out. This is also the place where the '''/usr/local/bin/push-it.sh''' script is invoked when someone dials-in.
In extensions.conf you configure what happens when someone calls in or out. This is also the place where the '''/usr/local/bin/push-it.sh''' script is invoked when someone dials-in.
=== MPD ===
<nowiki>audio_output {
type "httpd"
name "pcm wav Stream"
encoder "wave"
port "6666"
format "8000:16:1"
}</nowiki>
* /usr/local/bin/stream.sh
** /usr/bin/curl -s http://10.208.43.94:6666/ --output -
* musiconhold.conf
<nowiki>[default]
mode=custom
application=/usr/local/bin/stream.sh
format=pcm</nowiki>

Revision as of 22:52, 24 May 2019

Asterisk
NoPicture.png
Participants Flok
Skills
Status Active
Niche
Purpose
Tool No
Location Space
Cost
Tool category

Asterisk Property "Tool Image" (as page type) with input value "File:" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

{{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}


general

  • ip address: 10.208.11.13
  • coherence container: 109


  • 0317-794512


extensions

  • 9: main menu
    • 1 bar
    • 2 buzz
    • 3 rookhok
    • 4 zaal1
    • 5 studio
    • 6 gamers
    • 8 flok mobile
    • not making a choice will ring -all- extensions
  • 666 (and 6001?): flok mobile
  • 4001: bar
  • 4200: BuZz
  • 4222: zaal 1
  • 4333: studio
  • 4455: rookhok
  • 4666: gamers

configuring

  • /etc/asterisk
    • sip.conf
    • iax.conf
    • users.conf
    • extensions.conf

telefoons

  • 00:04:f2:ae:68:04 10.208.43.2 Polycom_0004f2 2019-03-15 22:32:16 -NA-
  • 00:15:65:86:f4:88 10.208.43.55 SIP-T23G 2019-03-15 22:52:43 -NA-
  • 00:15:65:9c:9f:cb 10.208.43.46 SIP-T23G 2019-03-15 23:02:22 -NA-
  • 00:15:65:9c:9f:df 10.208.43.49 SIP-T23G 2019-03-15 22:28:29 -NA-
  • 00:15:65:a2:2f:c5 10.208.43.32 SIP-T23G 2019-03-15 23:28:31 -NA-


In extensions.conf you configure what happens when someone calls in or out. This is also the place where the /usr/local/bin/push-it.sh script is invoked when someone dials-in.


MPD

audio_output {
	type 		"httpd"
	name 		"pcm wav Stream"
	encoder 	"wave"
	port 		"6666"
	format 		"8000:16:1"
}
  • musiconhold.conf
[default]
mode=custom
application=/usr/local/bin/stream.sh
format=pcm