{"id":5272,"date":"2016-05-22T16:04:18","date_gmt":"2016-05-22T22:04:18","guid":{"rendered":"http:\/\/gregsowell.com\/?p=5272"},"modified":"2016-05-22T16:04:18","modified_gmt":"2016-05-22T22:04:18","slug":"freepbx-13-and-web-meet-me","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=5272","title":{"rendered":"FreePBX 13 And Web Meet-me"},"content":{"rendered":"<p>I&#8217;ve been running an install of <a href=\"https:\/\/sourceforge.net\/projects\/web-meetme\/\">web meet-me<\/a> on an ancient version of trixbox.  Unfortunately it locks up pretty regularly, though nothing shows up in the logs&#8230;it just likes to stop working.  I finally had enough and decided to do a new install.  I couldn&#8217;t find an easy appliance with it installed and ready to go, so I decided to start from scratch.  You can reference my <a href=\"http:\/\/gregsowell.com\/?p=794\">original article to see how I configured the callmanager<\/a> side.<\/p>\n<p>From scratch equates to me installing <a href=\"http:\/\/downloads.freepbxdistro.org\/ISO\/FreePBX-64bit-10.13.66.iso\">FreePBX 13<\/a>.  I threw it into a VM with a couple of gigs of RAM with about 20GB of disk.  Since FreePBX is a bootable ISO it&#8217;s a sinch to install&#8230;it does all of the work for you!<\/p>\n<p>After getting this installed, IP&#8217;d, and updated, I started working on the install of web meet-me&#8230;and man was it a pain in the butt.<\/p>\n<p>Change the conference system to meetme:<br \/>\n<strong>FreePBX => Settings => Advanced Setting<\/strong><br \/>\nChange &#8220;Conference Room App&#8221; to &#8220;app_meetme&#8221;.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme3.png\" alt=\"meetme3\" width=\"681\" height=\"53\" class=\"aligncenter size-full wp-image-5279\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme3.png 681w, https:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme3-300x23.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/p>\n<p>The readme included with web meet-me is pretty helpful, and will get you most of the way there.<br \/>\nThe line &#8220;meetme => odbc,meetme,booking&#8221; didn&#8217;t actually need to be added to make it work, though.<br \/>\nIn mysql I added the database:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">create database meetme;<\/code><\/pre>\n<p>Then import the database files and add permissions for a user:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">mysql &lt; db-table-create-v7.txt\r\nmysql &lt; db-admin-user-create.txt\r\nmysql\r\nCREATE USER &#039;meetme&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;MyPassword&#039;;\r\nGRANT ALL PRIVILEGES ON *.* TO &#039;meetme&#039;@&#039;localhost&#039;\r\nWITH GRANT OPTION;\r\nFLUSH PRIVILEGES;<\/code><\/pre>\n<p>If you get an error 500 when browsing to the page, you will need to edit the &#8220;\/var\/www\/html\/web-meetme\/lib\/defines.php&#8221; file.  Change this at the end:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">&lt;?\r\n}\r\n\r\n?&gt;<\/code><\/pre>\n<p>to this:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">&lt;?php\r\n}\r\n\r\n?&gt;<\/code><\/pre>\n<p>next, edit your custom extension file(\/etc\/asterisk\/extensions_custom.conf):<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">;\r\n;\r\n;\r\n;\r\n;\r\n;\r\n\r\n;\r\n;\r\n;\r\n;\r\n;\r\n;\r\n\r\n[conferences]\r\ninclude =&gt; ext-meetme;\r\nexten =&gt; s,1,Answer\r\nexten =&gt; s,n,Wait(1)\r\nexten =&gt; s,n,Playback(welcome);\r\nexten =&gt; s,n,Goto(STARTMEETME,1)<\/code><\/pre>\n<p>You now need to add a custom destination for the meetme:<br \/>\n<strong>Admin => Custom Destination => Add<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme1.png\" alt=\"meetme1\" width=\"456\" height=\"164\" class=\"aligncenter size-full wp-image-5277\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme1.png 456w, https:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme1-300x108.png 300w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/p>\n<p>Next create an inbound route to send everything to the meetme:<br \/>\n<strong>Connectivity => Inbound Routes => Add<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme2.png\" alt=\"meetme2\" width=\"519\" height=\"497\" class=\"aligncenter size-full wp-image-5278\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme2.png 519w, https:\/\/gregsowell.com\/wp-content\/uploads\/2016\/05\/meetme2-300x287.png 300w\" sizes=\"auto, (max-width: 519px) 100vw, 519px\" \/><\/p>\n<p>Now I created a trunk to my Callmanager server.  I hit a brick wall for a while trying to create a trunk using type &#8220;chan_sip&#8221;.  Unfortunately it won&#8217;t come up.  Once I finally switched to &#8220;chan_pjsip&#8221; everything started working.  I wasted so much time on this.  To test my callmanager trunk I tried calling over while watching the log file on the FreePBX server &#8220;tail -f \/var\/log\/asterisk\/full&#8221;.  This will spit out plenty of messages.  If you are having issues you will see the &#8220;Endpoint not registered&#8221; message cycling.  For the pjsip trunk, you should only need to put the IP in the PJSIP section&#8217;s &#8220;SIP Server&#8221; section.<\/p>\n<p>I found <a href=\"http:\/\/blog.davidvassallo.me\/2012\/11\/30\/web-meetme-conferencing-in-freepbx\/\">this tutorial <\/a>that helped my install process.  You can reference this article for additional details.<\/p>\n<p>On a side note, until I added a random conference in the conference section, I just couldn&#8217;t get everything going:<br \/>\n<strong>Applications => Conferences<\/strong><\/p>\n<p>This took way longer than it should have.  I was chasing my tail on the trunk for a while, but the web meetme is also a little wacky to configure.  Good luck, and I hope this helps guys.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been running an install of web meet-me on an ancient version of trixbox. Unfortunately it locks up pretty regularly, though nothing shows up\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,22,19],"tags":[47],"class_list":["post-5272","post","type-post","status-publish","format-standard","hentry","category-asterisk","category-callmanager","category-voip","tag-asterisk"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5272"}],"version-history":[{"count":6,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5272\/revisions"}],"predecessor-version":[{"id":5281,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5272\/revisions\/5281"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}