Shout: Auto-create default menu and recording
authorBen Klang <ben@alkaloid.net>
Wed, 31 Mar 2010 22:21:06 +0000 (18:21 -0400)
committerBen Klang <ben@alkaloid.net>
Wed, 31 Mar 2010 22:26:04 +0000 (18:26 -0400)
shout/templates/wizard.inc
shout/themes/screen.css
shout/wizard.php

index 2ee8b71..a761bd8 100644 (file)
@@ -1,8 +1,15 @@
 <div id="step1" class="step">
     <h2>Step 1: Create your company greeting.</h2>
-    Here we record a company greeting.
-    Need: admin PIN, phone number
-    <?php print_r($curaccount); ?>
+    <ol>
+        <li>1: Call your new Verendus number: 404-475-4840</li>
+        <li>2: When you hear the default greeting, press the star key, "<span class="attention">*</span>".</li>
+        <li>3: When prompted, enter your admin PIN: <span class="attention"><?php echo $curaccount['adminpin']; ?></span>.</li>
+        <li>4: Press <span class="attention">1</span> to manage recordings.</li>
+        <li>5: Enter the recording ID for your new menu: <span class="attention"><?php echo $recording['id']; ?></span><br>
+        Follow the prompts to create and save your new recording.</li>
+    </ol>
+    When finished, hang up.
+    <input type="cancel" onclick="shownext()" value="Continue to Step 2">
 </div>
 
 <div id="step2" class="step">
index 4deceb2..0e1512a 100644 (file)
@@ -15,6 +15,10 @@ table {
     width: 100%;
 }
 
+.attention {
+    font-weight: bold;
+}
+
 .header {
     color: #fff;
     background: #66a;
index 573a2e7..d5ef427 100644 (file)
@@ -41,7 +41,7 @@ try {
     // Populate the default option, granting the ability to log into the admin
     // section.
     $shout->dialplan->saveMenuAction($curaccount['code'], Shout::MAIN_MENU,
-                                     '*', 'admin_login', array());
+                                     'star', 'admin_login', array());
 
     
 } catch (Exception $e) {