{"id":143,"date":"2017-07-31T15:36:50","date_gmt":"2017-07-31T21:36:50","guid":{"rendered":"https:\/\/www.jasonarchip.name\/?p=143"},"modified":"2017-10-09T09:56:17","modified_gmt":"2017-10-09T15:56:17","slug":"asterisk-hold-music","status":"publish","type":"post","link":"https:\/\/www.fayebell.name\/?p=143","title":{"rendered":"Asterisk hold music"},"content":{"rendered":"<p>I was working on updating my hold music on my asterisk lines.<\/p>\n<p>a quick method of doing this. Is as follows<\/p>\n<p>First covert the audio to mono 8000 sample rate &#8220;wav&#8221; files<\/p>\n<p>Then with sox installed<\/p>\n<p><code><\/code><\/p>\n<p>for f in *.wav; do echo $f ; sox $f -r 8000 -c 1 -s $f.sln -q ; done<\/p>\n<p>rm -v *.wav<\/p>\n<p>&nbsp;<\/p>\n<p>finally update the musiconhold.conf file with the directory of the processed files.<\/p>\n<p>Thats it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was working on updating my hold music on my asterisk lines. a quick method of doing this. Is as follows First covert the audio to mono 8000 sample rate &#8220;wav&#8221; files Then with sox installed for f in *.wav; &hellip; <a href=\"https:\/\/www.fayebell.name\/?p=143\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-programing"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa1ntP-2j","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=143"}],"version-history":[{"count":3,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":149,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions\/149"}],"wp:attachment":[{"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fayebell.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}