Changes between Version 3 and Version 4 of freeswitch-201002


Ignore:
Timestamp:
Mar 11, 2010, 6:27:00 PM (15 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • freeswitch-201002

    v3 v4  
    2323 1. user presses 4 -> user listens to a short recording about the fundraising work and is instructed to leave a message for sha, given option to press 9 for main menu or 0 to reach the office during office hours user leaves a message and mp3 is forwarded via email to sha. if user does nothing, message repeats once and then ends the call
    2424 1. user presses 5 -> user listens to a message about registration logistics (may extend this menu later) and instructed to press 0 during office hours for immediate questions, press 9 for main menu, or leave a message for mallory. user leaves a message and mp3 is forwarded via email to mallory. if user does nothing, message repeats once and then ends the call
     25
     26
     27== Freeswitch Details ==
     28
     29=== Basic Configuration ===
     30
     31There are three directories where incoming calls are handled:
     32
     33 * conf/sip_profiles/external: these files define the user/password for a voicepulse account (e.g. mfpl-voicepulse.xml). If you have a new voicepulse account, you will need to create a new file with the username/password in it and define the name of the gateway that will be referenced in the other config files (the MFPL gateway is called mfpl-voicepulse)
     34 * conf/dialplan/public/: this directory contains files that handle incoming phone calls (e.g. mfpl-voicpulse.xml). For example it says - if we get an incoming call from the number 718-303-3204 (the MFPL line), then it should be sent to the MFPL dialplan. If you add a new phone number, you will need a new file here
     35 * conf/dialplan/mfpl.xml: this directory contains a file that includes all files in the conf/dialplan/mfpl directory. This is the MFPL dial plan. The conf/dialplan/mfpl/ directory contains both an incoming.xml and outgoing.xml files. The inbound.xml file may define an application called "ivr" (interactive voice response) which is defined below.
     36 * conf/autoload_configs/ivr*: these files define interactive voice response menues (ivr_mfpl.xml). This is how you define a automated attendent with a menu of options.
     37
     38
     39=== Tips ===
     40
     41If you login as {{{root@talk.mayfirst.org}}} and then type screen -x you can attach to a running screen session.
     42
     43There's one window that is running the /opt/freeswitch/bin/fs_cli program, an interactive connection to the freeswitch server that allows you to see what is happening as it's happening. You can also type the command:
     44
     45{{{
     46reloadxml
     47reload mod_sip
     48}}}
     49
     50After you make a change to an xml file.
     51
     52If freeswitch complains about an XML parse error (which it does without telling you which file had the error), you can check for xml errors (ignore the de directory since there seems to be some utf8 errors that are not relevent to us):
     53
     54{{{
     55find /opt/freeswitch/conf ! -path '*/conf/lang/de/*' -name '*.xml' -exec xmllint --noout '{}' \;
     56}}}