浏览代码

Improved markdown formatting (#264)

* Update extensions.md

* Update destinations.md

* Update advanced_dialplans.md

* Update call_detail_record.md

* Update call_routing.md

* Update conference.md

* Update fax_server.md
Anthony 5 月之前
父节点
当前提交
15aa26aaf9

+ 3 - 7
source/accounts/extensions.md

@@ -1,7 +1,3 @@
-::: title
-Extensions
-:::
-
 # Extensions
 
 **Extensions** define the necessary information for an endpoint, such as
@@ -408,8 +404,8 @@ Always back up your settings before making adjustments.
 > account that will be monitored for message waiting notifications. The
 > value entered in this setting follows the format <user@domain>, where:
 >
-> -   user is the voicemail box (or extension) to be monitored.
-> -   domain is the domain associated with the system, often matching
+> -   User is the voicemail box (or extension) to be monitored.
+> -   Domain is the domain associated with the system, often matching
 >     the SIP server\'s domain or the PBX domain.
 >
 > For example, if the extension 1001 has voicemail, and the domain of
@@ -484,7 +480,7 @@ Always back up your settings before making adjustments.
 > doesn't require manual modification unless there is a specific need
 > for custom routing or advanced configurations.
 
-Caller ID Select ==========
+### Caller ID Select
 
 > **Extension Caller ID input type select**
 >

+ 33 - 41
source/applications/call_detail_record.md

@@ -71,36 +71,38 @@ Possible causes:
 
 **2. Save to XML Files**
 
-Save the CDR files to the file system and then use a cron job to load
+- Save the CDR files to the file system and then use a cron job to load
 them once a minute into the database.
 
-Edit the **/etc/freeswitch/xml_cdr.conf.xml config** Easiest command
+- Edit the **/etc/freeswitch/xml_cdr.conf.xml config** Easiest command
 line file edito is called nano
+```
+nano /etc/freeswitch/xml[cdr.conf.xml]{#cdr.conf.xml} config
+```
 
-> nano /etc/freeswitch/xml[cdr.conf.xml]{#cdr.conf.xml} config
-
-Comment out this line by adding \<!\-- and \--\>. Make sure to do this
+- Comment out this line by adding \<!\-- and \--\>. Make sure to do this
 carefully.
-
-> \<!\-- \<param name=\"url\"
-> value=\"<http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php%22/>\>
-> \--\>
-
-Run this command one time to add the import command to crontab.
-
-> (crontab -l; echo \"\* \* \* \* \* \$(which php)
-> /var/www/fusionpbx/app/xml[cdr]{#cdr}/xml[cdr_import.php]{#cdr_import.php}
-> 300\") \| crontab
-
-Once you\'ve made these changes you can save the file. You could restart
+```
+\<!\-- \<param name=\"url\"value=\"<http://127.0.0.1/app/xml_cdr/v_xml_cdr_import.php%22/>\>\--\>
+```
+
+- Run this command one time to add the import command to crontab.
+```
+(crontab -l; echo \"\* \* \* \* \* \$(which php)
+/var/www/fusionpbx/app/xml[cdr]{#cdr}/xml[cdr_import.php]{#cdr_import.php}
+300\") \| crontab
+```
+
+- Once you\'ve made these changes you can save the file. You could restart
 your server, or you could reloadxml and then restart the xml[cdr]{#cdr}
 module. Either is ok, it is up to you. Then your changes will have taken
 effect and you should no longer lose your menu bar when looking at CDR
 information.
+```
+fs[cli]{#cli} -x \'reloadxml\'
 
-> fs[cli]{#cli} -x \'reloadxml\'
->
-> fs[cli]{#cli} -x \'reload mod[xml_cdr]{#xml_cdr}\'
+fs[cli]{#cli} -x \'reload mod[xml_cdr]{#xml_cdr}\'
+```
 
 ## XML CDR configuration
 
@@ -108,29 +110,19 @@ For more detailed configuration go to the XML editor (Menu -\> Advanced
 -\> XML Editor) and in autoload configs look at
 xml[cdr.conf.xml]{#cdr.conf.xml}
 
-:::: note
-::: title
-Note
-:::
-
-By default only the a-leg of the call is logged therefore if you make a
-recording of the b-leg you won\'t be able to retrieve it using the Call
-Detail Records. If you want the b-leg as well you need to change
-log-b-leg=true in this config and in the default settings.
-::::
+>Note:   
+>By default only the a-leg of the call is logged therefore if you make a   
+>recording of the b-leg you won\'t be able to retrieve it using the Call   
+>Detail Records. If you want the b-leg as well you need to change   
+>log-b-leg=true in this config and in the default settings.
 
 ## Harddrive space usage
 
-:::: note
-::: title
-Note
-:::
-::::
-
-Recordings also take up space and may be manually deleted if you want
-the space back these are kept in (source install)
-/usr/local/freeswitch/recordings/{Domian[Name]{#name}}/archive or
-(package install) /var/lib/freeswitch/recordings/{Domain Name}/archive
-and inside that by year, month and day.
+>Note:   
+>Recordings also take up space and may be manually deleted if you want   
+>the space back these are kept in (source install)   
+>/usr/local/freeswitch/recordings/{Domian[Name]{#name}}/archive or   
+>(package install) /var/lib/freeswitch/recordings/{Domain Name}/archive   
+>and inside that by year, month and day.
 
 ## [CDR Default Settings](/en/latest/advanced/default_settings.html#id4)

+ 4 - 2
source/applications/call_routing.md

@@ -19,15 +19,17 @@ A few things need to be configured to enable this feature and restart
 freeswitch:
 
 Uncomment this line in lua.conf.xml.
-
+```
     <hook event="PHONE_FEATURE_SUBSCRIBE" subclass="" script="app.lua feature_event"/>
+```
 
 Add to Default Settings:
-
+```
     Category = device
     Subcategory = feature_sync
     Type = boolean
     Value = true
+```
 
 ### Enable Feature Sync on the Device
 

+ 10 - 15
source/applications/conference.md

@@ -3,13 +3,10 @@
 Conferences is used to setup conference rooms with a name, description,
 and optional pin number.
 
-:::: note
-::: title
-Note
-:::
 
-For advanced conferencing use Apps -\> Conference Center
-::::
+>**Note:**   
+>For advanced conferencing use Apps -\> Conference Center
+
 
 ![image](../_static/images/applications/conference/fusionpbx_conferences.jpg)
 
@@ -25,16 +22,14 @@ For advanced conferencing use Apps -\> Conference Center
 -   **Pin Number:** If you want to add a layer of security to enter the
     conference.
 
--   
-
-    **Profile:**
+-   **Profile:**
 
-    :   -   Default- The default audio quality rate and video.
-        -   wait-mod- Wait Mod setting.
-        -   wideband- Wideband audio quality rate and video.
-        -   ultra-wideband- Ultra wideband quality rate and video.
-        -   cdquality- CD Quality rate and video.
-        -   page- Page setting.
+     -   Default- The default audio quality rate and video.
+     -   wait-mod- Wait Mod setting.
+     -   wideband- Wideband audio quality rate and video.
+     -   ultra-wideband- Ultra wideband quality rate and video.
+     -   cdquality- CD Quality rate and video.
+     -   page- Page setting.
 
 -   **Flags:** mute[\|deaf\|](##SUBST##|deaf|)waste\|moderator (Other
     values are available also)

+ 20 - 20
source/applications/fax_server.md

@@ -20,12 +20,9 @@ it. [Click here for the Youtube video](https://youtu.be/AJHcle2U3n4)
 There are more settings for fax under Advanced \> Default Settings then
 fax category.
 
- 
-```
-    To create a fax server goto App \> Fax Server. Click the + on the right.
+To create a fax server goto App \> Fax Server. Click the + on the right.
 
-    :   -   **Leave the Destination Number blank** or faxing wont work.
-```
+ **Leave the Destination Number blank** or faxing wont work.
 
 -   Destination Number is used in the Fax Server Dial Plan and is set
     based on the fax server internal extension number.
@@ -123,20 +120,20 @@ methods for sending. There are different combinations like;
 -   Test sending with Faxtoy.net This will display what is faxed on
     their website. 1-855-330-1239 or 1-213-294-2943
 
-```
+
     Turn on verbose log in FreeSWITCH fax.conf.xml
 
-    :   -   From your FusionPBX installation go to ADVANCED \> XML
-            Editor and a new window will open.
-        -   Choose autoload[configs]{#configs} folder from the list,
-            then choose fax.conf.xml.
-        -   In fax.conf.xml there is an option that by default sets a
-            variable called verbose = false. If you change this to true
-            you get more logging details as the fax is actually
-            received, such as the quality of the connection etc.
-        -   You can see these details when you run the freeswitch
-            command line ie. **fs_cli**
-```
+  -   From your FusionPBX installation go to ADVANCED \> XML
+      Editor and a new window will open.
+  -   Choose autoload[configs]{#configs} folder from the list,
+      then choose fax.conf.xml.
+  -   In fax.conf.xml there is an option that by default sets a
+      variable called verbose = false. If you change this to true
+      you get more logging details as the fax is actually
+      received, such as the quality of the connection etc.
+  -   You can see these details when you run the freeswitch
+      command line ie. **fs_cli**
+
 
 ### Command Line Fax Statistics
 
@@ -147,13 +144,16 @@ success/failure. Examples
 Here\'s how you can get some totals.
 
 **Total:**
-
+```
     cat freeswitch.log |grep FAX_RETRY_STATS |wc -l
+```
 
 **Success:**
-
+```
     cat freeswitch.log |grep FAX_RETRY_STATS |grep SUCCESS |wc -l
+```
 
 **Failures:**
-
+```
     cat freeswitch.log |grep FAX_RETRY_STATS |grep FAIL |wc -l
+```

+ 5 - 9
source/dialplan/advanced_dialplans.md

@@ -63,12 +63,8 @@ extensions are 3 digit then you would use 3 instead of 4.
 
 ![image](../_static/images/dialplan/fusionpbx_custom_dialplan.png)
 
-:::: note
-::: title
-Note
-:::
-
-A quick way to find a domains uuid is by going to Advanced \> Domains.
-Then click the edit icon on the domain you want to know the uuid of. The
-uuid will be at the end of the url.
-::::
+>**Note:**   
+>A quick way to find a domains uuid is by going to Advanced \> Domains.   
+>Then click the edit icon on the domain you want to know the uuid of. The   
+>uuid will be at the end of the url.
+

+ 17 - 26
source/dialplan/destinations.md

@@ -10,13 +10,10 @@ Inbound destinations are the DID/DDI, DNIS or Alias for inbound calls.
 Configure Inbound Destinations: (This will auto-configure an Inbound
 Route also)
 
-:::: tip
-::: title
-Tip
-:::
 
-Outbound destinations can be created also.
-::::
+>**Tip**   
+>Outbound destinations can be created also.
+
 
 *Select* **Dialplan** from the drop-down list and then *click*
 **Destinations**.
@@ -40,16 +37,15 @@ To add a destination **click** on the **plus** button on the right.
 
 -   **Context:** This will usually be public.
 
--   
 
-    **Actions:** Choose where the call will go after it enters FusionPBX.
+  ### Actions: Choose where the call will go after it enters FusionPBX.
 
-    :   -   Dialplans can also be used as an action. To enable a
-            dialplan to be visable go to [Dialplan \> Dialplan
-            Manager](../dialplan/advanced_dialplans.html#enable-a-dialplan-destination)
-            and edit a dialplan. Select **True** from the
-            **Destination** field and click save. This applies to
-            dialplans that have a value in the **Number** field.
+   -   Dialplans can also be used as an action. To enable a
+       dialplan to be visable go to [Dialplan \> Dialplan
+       Manager](../dialplan/advanced_dialplans.html#enable-a-dialplan-destination)
+       and edit a dialplan. Select **True** from the
+       **Destination** field and click save. This applies to
+       dialplans that have a value in the **Number** field.
 
 -   **Caller ID Name Prefix:** Adds a name to the Caller ID that will
     display to the endpoint and call detail records.
@@ -67,21 +63,16 @@ To add a destination **click** on the **plus** button on the right.
 -   **Description:** A way to label and organize what the destination is
     for.
 
--   
 
-    **Inbound Routes**
+  ### Inbound Routes:
 
-    :   -   Once a Destination is created an inbound route is also
-            created. [Click here to view more about Inbound
-            routes](http://docs.fusionpbx.com/en/latest/dialplan/inbound_routes.html).
+  - Once a Destination is created an inbound route is also
+    created. [Click here to view more about Inbound
+    routes](http://docs.fusionpbx.com/en/latest/dialplan/inbound_routes.html).
 
-:::: note
-::: title
-Note
-:::
+>**Note Optional:**   
+>Replace \^(?:+?1)?(d{10})\$ in Inbound Routes with either   
+>0123456789 or a DID Number depending on the Route Destination setting.
 
-Optional: Replace \^(?:+?1)?(d{10})\$ in Inbound Routes with either
-0123456789 or a DID Number depending on the Route Destination setting.
-::::
 
 ## [Destinations Default Settings](/en/latest/advanced/default_settings.html#id6)