提交 efc894b6 authored 作者: Michael Jerris's avatar Michael Jerris

reformat sample conf, remove exosip references

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2906 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0fcde964
<?xml version="1.0"?> <?xml version="1.0"?>
<document type="freeswitch/xml"> <document type="freeswitch/xml">
<section name="configuration" description="Various Configuration"> <section name="configuration" description="Various Configuration">
<configuration name="switch.conf" description="Modules"> <configuration name="switch.conf" description="Modules">
<settings> <settings>
<!--Most channels to allow at once --> <!--Most channels to allow at once -->
<param name="max-sessions" value="1000"/> <param name="max-sessions" value="1000"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="modules.conf" description="Modules"> <configuration name="modules.conf" description="Modules">
<modules> <modules>
<!-- Loggers (I'd load these first) --> <!-- Loggers (I'd load these first) -->
<load module="mod_console"/> <load module="mod_console"/>
<!-- <load module="mod_syslog"/> --> <!-- <load module="mod_syslog"/> -->
<!-- XML Interfaces --> <!-- XML Interfaces -->
<!-- <load module="mod_xml_rpc"/> --> <!-- <load module="mod_xml_rpc"/> -->
<!-- Event Handlers --> <!-- Event Handlers -->
<!-- <load module="mod_event_multicast"/> --> <!-- <load module="mod_cdr"/> -->
<!-- <load module="mod_event_test"/> --> <!-- <load module="mod_event_multicast"/> -->
<!-- <load module="mod_zeroconf"/> --> <!-- <load module="mod_event_socket"/> -->
<!-- <load module="mod_xmpp_event"/> --> <!-- <load module="mod_xmpp_event"/> -->
<!-- <load module="mod_event_socket"/> --> <!-- <load module="mod_zeroconf"/> -->
<!-- <load module="mod_cdr"/> -->
<!-- Directory Interfaces -->
<!-- Directory Interfaces --> <!-- <load module="mod_ldap"/> -->
<!-- <load module="mod_ldap"/> -->
<!-- Endpoints -->
<!-- Endpoints --> <!-- <load module="mod_dingaling"/> -->
<load module="mod_sofia"/> <!--<load module="mod_iax"/>-->
<!--<load module="mod_iax"/>--> <load module="mod_portaudio"/>
<load module="mod_portaudio"/> <load module="mod_sofia"/>
<!-- <load module="mod_woomera"/> --> <!-- <load module="mod_wanpipe"/> -->
<!-- <load module="mod_wanpipe"/> --> <!-- <load module="mod_woomera"/> -->
<!-- <load module="mod_dingaling"/> -->
<!-- Applications -->
<!-- Applications --> <load module="mod_bridgecall"/>
<load module="mod_bridgecall"/> <load module="mod_commands"/>
<load module="mod_echo"/> <!--<load module="mod_conference"/>-->
<load module="mod_dptools"/> <load module="mod_dptools"/>
<!-- <load module="mod_ivrtest"/> --> <load module="mod_echo"/>
<load module="mod_playback"/> <!--<load module="mod_park"/>-->
<load module="mod_commands"/> <load module="mod_playback"/>
<!-- <load module="mod_commands"/> -->
<!-- Dialplan Interfaces -->
<!-- Dialplan Interfaces --> <!-- <load module="mod_dialplan_directory"/> -->
<load module="mod_dialplan_xml"/> <load module="mod_dialplan_xml"/>
<!-- <load module="mod_dialplan_directory"/> -->
<!-- Codec Interfaces -->
<!-- Codec Interfaces --> <load module="mod_g711"/>
<load module="mod_g711"/> <load module="mod_gsm"/>
<load module="mod_gsm"/> <!-- <load module="mod_ilbc"/> -->
<load module="mod_l16"/> <load module="mod_l16"/>
<!-- <load module="mod_speex"/> --> <!-- <load module="mod_speex"/> -->
<!-- <load module="mod_ilbc"/> -->
<!-- File Format Interfaces -->
<!-- File Format Interfaces --> <load module="mod_sndfile"/>
<load module="mod_sndfile"/> <load module="mod_native_file"/>
<!-- Timers --> <!-- Timers -->
<load module="mod_softtimer"/> <load module="mod_softtimer"/>
<!-- Languages --> <!-- Languages -->
<!-- <load module="mod_spidermonkey"/> --> <!-- <load module="mod_spidermonkey"/> -->
<!-- <load module="mod_perl"/> --> <!-- <load module="mod_perl"/> -->
<!-- ASR /TTS --> <!-- ASR /TTS -->
<!-- <load module="mod_cepstral"/> --> <!-- <load module="mod_cepstral"/> -->
<!-- <load module="mod_rss"/> --> <!-- <load module="mod_rss"/> -->
<!-- Conference Bridges -->
<!--<load module="mod_conference"/>-->
</modules> </modules>
</configuration> </configuration>
<configuration name="event_multicast.conf" description="Multicast Event"> <configuration name="event_multicast.conf" description="Multicast Event">
<settings> <settings>
<param name="address" value="225.1.1.1"/> <param name="address" value="225.1.1.1"/>
<param name="port" value="4242"/> <param name="port" value="4242"/>
<param name="bindings" value="all"/> <param name="bindings" value="all"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="event_socket.conf" description="Socket Client"> <configuration name="event_socket.conf" description="Socket Client">
<settings> <settings>
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-ip" value="127.0.0.1"/>
<param name="listen-port" value="8021"/> <param name="listen-port" value="8021"/>
<param name="password" value="ClueCon"/> <param name="password" value="ClueCon"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="iax.conf" description="IAX Configuration"> <configuration name="iax.conf" description="IAX Configuration">
<settings> <settings>
<param name="debug" value="0"/> <param name="debug" value="0"/>
<!-- <param name="ip" value="1.2.3.4"> --> <!-- <param name="ip" value="1.2.3.4"> -->
<param name="port" value="4569"/> <param name="port" value="4569"/>
<param name="dialplan" value="XML"/> <param name="dialplan" value="XML"/>
<param name="codec-prefs" value="PCMU@20i,PCMA,speex,L16"/> <param name="codec-prefs" value="PCMU@20i,PCMA,speex,L16"/>
<param name="codec-master" value="us"/> <param name="codec-master" value="us"/>
<param name="codec-rates" value="8"/> <param name="codec-rates" value="8"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="console.conf" description="Console Logger"> <configuration name="console.conf" description="Console Logger">
<!-- pick a file name, a function name or 'all' --> <!-- pick a file name, a function name or 'all' -->
<!-- map as many as you need for specific debugging --> <!-- map as many as you need for specific debugging -->
<mappings> <mappings>
<!-- <param name="log_event" value="DEBUG"/> --> <!-- <param name="log_event" value="DEBUG"/> -->
<param name="all" value="DEBUG"/> <param name="all" value="DEBUG"/>
</mappings> </mappings>
</configuration> </configuration>
<configuration name="sofia.conf" description="sofia Endpoint"> <configuration name="sofia.conf" description="sofia Endpoint">
<profiles> <profiles>
<profile name="test"> <profile name="test">
<registrations> <registrations>
<registration name="asterlink"> <registration name="asterlink">
<param name="register-scheme" value="Digest"/> <param name="register-scheme" value="Digest"/>
<param name="register-realm" value=""/> <param name="register-realm" value=""/>
<param name="register-username" value="1001"/> <param name="register-username" value="1001"/>
<param name="register-password" value="nhy65tgb"/> <param name="register-password" value="nhy65tgb"/>
<param name="register-from" value="sip:1001@208.64.200.40"/> <param name="register-from" value="sip:1001@208.64.200.40"/>
<param name="register-to" value="sip:1001@66.250.68.194"/> <param name="register-to" value="sip:1001@66.250.68.194"/>
<param name="register-proxy" value="sip:66.250.68.194:5060"/> <param name="register-proxy" value="sip:66.250.68.194:5060"/>
<param name="register-frequency" value="20"/> <param name="register-frequency" value="20"/>
</registration> </registration>
</registrations> </registrations>
<settings> <settings>
<param name="debug" value="1"/> <param name="debug" value="1"/>
<param name="rfc2833-pt" value="101"/> <param name="rfc2833-pt" value="101"/>
<param name="sip-port" value="5060"/> <param name="sip-port" value="5060"/>
<param name="dialplan" value="XML"/> <param name="dialplan" value="XML"/>
<param name="dtmf-duration" value="100"/> <param name="dtmf-duration" value="100"/>
<param name="codec-prefs" value="PCMU@20i"/> <param name="codec-prefs" value="PCMU@20i"/>
<param name="codec-ms" value="20"/> <param name="codec-ms" value="20"/>
<param name="use-rtp-timer" value="true"/> <param name="use-rtp-timer" value="true"/>
<param name="rtp-timer-name" value="soft"/> <param name="rtp-timer-name" value="soft"/>
<param name="rtp-ip" value="192.168.1.20"/> <param name="rtp-ip" value="192.168.1.20"/>
<param name="sip-ip" value="192.168.1.20"/> <param name="sip-ip" value="192.168.1.20"/>
<!-- this lets anything register --> <!-- this lets anything register -->
<!-- comment the next line and uncomment one or both of the other 2 lines for call authentication --> <!-- comment the next line and uncomment one or both of the other 2 lines for call authentication -->
<param name="accept-blind-reg" value="true"/> <param name="accept-blind-reg" value="true"/>
<!--<param name="auth-calls" value="true"/>--> <!--<param name="auth-calls" value="true"/>-->
<!-- on authed calls, authenticate *all* the packets not just invite --> <!-- on authed calls, authenticate *all* the packets not just invite -->
<!--<param name="auth-all-packets" value="true"/>--> <!--<param name="auth-all-packets" value="true"/>-->
<!-- optional ; --> <!-- optional ; -->
<!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/>--> <!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/>-->
<!-- <param name="ext-rtp-ip" value="100.101.102.103"/> --> <!-- <param name="ext-rtp-ip" value="100.101.102.103"/> -->
<!-- VAD choose one (out is a good choice); --> <!-- VAD choose one (out is a good choice); -->
<!-- <param name="vad" value="in"/> --> <!-- <param name="vad" value="in"/> -->
<!-- <param name="vad" value="out"/> --> <!-- <param name="vad" value="out"/> -->
<!-- <param name="vad" value="both"/> --> <!-- <param name="vad" value="both"/> -->
<!--<param name="alias" value="sip:10.0.1.251:5555"/>--> <!--<param name="alias" value="sip:10.0.1.251:5555"/>-->
</settings> </settings>
</profile> </profile>
</profiles> </profiles>
</configuration> </configuration>
<configuration name="syslog.conf" description="Syslog Logger"> <configuration name="syslog.conf" description="Syslog Logger">
<!-- SYSLOG --> <!-- SYSLOG -->
<!-- emerg - system is unusable --> <!-- emerg - system is unusable -->
...@@ -170,302 +172,294 @@ ...@@ -170,302 +172,294 @@
<!-- info - informational message --> <!-- info - informational message -->
<!-- debug - debug-level message --> <!-- debug - debug-level message -->
<settings> <settings>
<param name="ident" value="freeswitch"/> <param name="ident" value="freeswitch"/>
<param name="facility" value="user"/> <param name="facility" value="user"/>
<param name="format" value="${time} - ${message}"/> <param name="format" value="${time} - ${message}"/>
<param name="level" value="debug,info,warning-alert"/> <param name="level" value="debug,info,warning-alert"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="woomera.conf" description="Woomera Endpoint"> <configuration name="woomera.conf" description="Woomera Endpoint">
<settings> <settings>
<param name="debug" value="0"/> <param name="debug" value="0"/>
</settings> </settings>
<interface> <interface>
<param name="host" value="localhost"/> <param name="host" value="localhost"/>
<param name="port" value="42420"/> <param name="port" value="42420"/>
<param name="audio-ip" value="127.0.0.1"/> <param name="audio-ip" value="127.0.0.1"/>
<param name="dialplan" value="XML"/> <param name="dialplan" value="XML"/>
</interface> </interface>
</configuration> </configuration>
<configuration name="wanpipe.conf" description="Sangoma Wanpipe Endpoint"> <configuration name="wanpipe.conf" description="Sangoma Wanpipe Endpoint">
<settings> <settings>
<param name="debug" value="1"/> <param name="debug" value="1"/>
<param name="dialplan" value="XML"/> <param name="dialplan" value="XML"/>
<param name="mtu" value="320"/> <param name="mtu" value="320"/>
<param name="dtmf-on" value="800"/> <param name="dtmf-on" value="800"/>
<param name="dtmf-off" value="100"/> <param name="dtmf-off" value="100"/>
<param name="supress-dtmf-tone" value="yes"/> <param name="supress-dtmf-tone" value="yes"/>
</settings> </settings>
<span> <span>
<param name="span" value="1"/> <param name="span" value="1"/>
<param name="node" value="cpe"/> <param name="node" value="cpe"/>
<!-- <param name="switch" value="ni2"/> --> <!-- <param name="switch" value="ni2"/> -->
<param name="switch" value="dms100"/> <param name="switch" value="dms100"/>
<!-- <param name="switch" value="lucent5e"/> --> <!-- <param name="switch" value="lucent5e"/> -->
<!-- <param name="switch" value="att4ess"/> --> <!-- <param name="switch" value="att4ess"/> -->
<!-- <param name="switch" value="euroisdn"/> --> <!-- <param name="switch" value="euroisdn"/> -->
<!-- <param name="switch" value="gr303eoc"/> --> <!-- <param name="switch" value="gr303eoc"/> -->
<!-- <param name="switch" value="gr303tmc"/> --> <!-- <param name="switch" value="gr303tmc"/> -->
<param name="dp" value="national"/> <param name="dp" value="national"/>
<!-- <param name="dp" value="international"/> --> <!-- <param name="dp" value="international"/> -->
<!-- <param name="dp" value="local"/> --> <!-- <param name="dp" value="local"/> -->
<!-- <param name="dp" value="private"/> --> <!-- <param name="dp" value="private"/> -->
<!-- <param name="dp" value="unknown"/> --> <!-- <param name="dp" value="unknown"/> -->
<param name="l1" value="ulaw"/> <param name="l1" value="ulaw"/>
<!-- <param name="l1" value="alaw"/> --> <!-- <param name="l1" value="alaw"/> -->
<param name="bchan" value="1-23"/> <param name="bchan" value="1-23"/>
<param name="dchan" value="24"/> <param name="dchan" value="24"/>
<param name="dialplan" value="XML"/> <param name="dialplan" value="XML"/>
</span> </span>
</configuration> </configuration>
<configuration name="portaudio.conf" description="Soundcard Endpoint"> <configuration name="portaudio.conf" description="Soundcard Endpoint">
<settings> <settings>
<param name="debug" value="2"/> <param name="debug" value="2"/>
<param name="dialplan" value="XML"/> <param name="dialplan" value="XML"/>
<!-- partial string match on something in the name or the device # --> <!-- partial string match on something in the name or the device # -->
<param name="indev" value="USB"/> <param name="indev" value="USB"/>
<param name="outdev" value="USB"/> <param name="outdev" value="USB"/>
<param name="cid-name" value="FreeSwitch"/> <param name="cid-name" value="FreeSwitch"/>
<param name="cid-num" value="5555551212"/> <param name="cid-num" value="5555551212"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="zeroconf.conf" description="Zeroconf Event Handler"> <configuration name="zeroconf.conf" description="Zeroconf Event Handler">
<settings> <settings>
<param name="publish" value="yes"/> <param name="publish" value="yes"/>
<param name="browse" value="_sip._udp"/> <param name="browse" value="_sip._udp"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="xmpp_event.conf" description="XMPP Event Handler"> <configuration name="xmpp_event.conf" description="XMPP Event Handler">
<settings> <settings>
<param name="#debug" value="1"/> <param name="#debug" value="1"/>
<param name="jid" value="freeswitch@my.jabber.com/me"/> <param name="jid" value="freeswitch@my.jabber.com/me"/>
<param name="passwd" value="mypass"/> <param name="passwd" value="mypass"/>
<param name="target-jid" value="freeswitch@reader.org/him"/> <param name="target-jid" value="freeswitch@reader.org/him"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="dialplan_directory.conf" description="Dialplan Directory"> <configuration name="dialplan_directory.conf" description="Dialplan Directory">
<settings> <settings>
<param name="directory-name" value="ldap"/> <param name="directory-name" value="ldap"/>
<param name="host" value="ldap.freeswitch.org"/> <param name="host" value="ldap.freeswitch.org"/>
<param name="dn" value="cn=Manager,dc=freeswitch,dc=org"/> <param name="dn" value="cn=Manager,dc=freeswitch,dc=org"/>
<param name="pass" value="test"/> <param name="pass" value="test"/>
<param name="base" value="dc=freeswitch,dc=org"/> <param name="base" value="dc=freeswitch,dc=org"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="dingaling.conf" description="XMPP Jingle Endpoint"> <configuration name="dingaling.conf" description="XMPP Jingle Endpoint">
<settings> <settings>
<param name="debug" value="0"/> <param name="debug" value="0"/>
<param name="codec-prefs" value="PCMU"/> <param name="codec-prefs" value="PCMU"/>
</settings> </settings>
<!-- *NOTE* your resource (after the /) MUST contain the string "talk" (upper or lower case is ok) --> <!-- *NOTE* your resource (after the /) MUST contain the string "talk" (upper or lower case is ok) -->
<!-- *NOTE* as of May 2 2006 you must set"auto-login" to"true" if you want to be able to auto-login on startup"/> --> <!-- *NOTE* as of May 2 2006 you must set"auto-login" to"true" if you want to be able to auto-login on startup"/> -->
<interface> <interface>
<param name="name" value="jingle"/> <param name="name" value="jingle"/>
<param name="login" value="myjid@myserver.com/talk"/> <param name="login" value="myjid@myserver.com/talk"/>
<param name="password" value="mypass"/> <param name="password" value="mypass"/>
<param name="dialplan" value="XML"/> <param name="dialplan" value="XML"/>
<param name="message" value="Jingle all the way"/> <param name="message" value="Jingle all the way"/>
<param name="rtp-ip" value="10.0.0.1"/> <param name="rtp-ip" value="10.0.0.1"/>
<param name="auto-login" value="true"/> <param name="auto-login" value="true"/>
<!-- SASL "plain" or "md5" --> <!-- SASL "plain" or "md5" -->
<param name="sasl" value="plain"/> <param name="sasl" value="plain"/>
<!-- if the server where the jabber is hosted is not the same <!-- if the server where the jabber is hosted is not the same as the one in the jid -->
as the one in the jid --> <!--<param name="server" value="alternate.server.com"/>-->
<!--<param name="server" value="alternate.server.com"/>--> <!-- Enable TLS or not -->
<!-- Enable TLS or not --> <param name="tls" value="true"/>
<param name="tls" value="true"/> <!-- disable to trade async for more calls -->
<!-- disable to trade async for more calls --> <param name="use-rtp-timer" value="true"/>
<param name="use-rtp-timer" value="true"/> <!-- or -->
<!-- or --> <!-- <param name="rtp-ip" value="my_lan_ip"/> -->
<!-- <param name="rtp-ip" value="my_lan_ip"/> --> <!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/> -->
<!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/> --> <!-- default extension (if one cannot be determined) -->
<!-- default extension (if one cannot be determined) --> <param name="exten" value="888"/>
<param name="exten" value="888"/> <!-- VAD choose one -->
<!-- VAD choose one --> <!-- <param name="vad" value="in"/> -->
<!-- <param name="vad" value="in"/> --> <!-- <param name="vad" value="out"/> -->
<!-- <param name="vad" value="out"/> --> <param name="vad" value="both"/>
<param name="vad" value="both"/>
</interface> </interface>
</configuration> </configuration>
<configuration name="xml_rpc.conf" description="XML RPC"> <configuration name="xml_rpc.conf" description="XML RPC">
<settings> <settings>
<!-- The port where you want to run the http service (default 8080) --> <!-- The port where you want to run the http service (default 8080) -->
<param name="http-port" value="8080"/> <param name="http-port" value="8080"/>
<!-- if all 3 of the following params exist all http traffic will require auth --> <!-- if all 3 of the following params exist all http traffic will require auth -->
<param name="auth-realm" value="freeswitch"/> <param name="auth-realm" value="freeswitch"/>
<param name="auth-user" value="freeswitch"/> <param name="auth-user" value="freeswitch"/>
<param name="auth-pass" value="works"/> <param name="auth-pass" value="works"/>
<!-- The url to a gateway cgi that can generate xml similar to <!-- The url to a gateway cgi that can generate xml similar to what's in -->
what's in this file only on-the-fly (leave it commented if you dont <!-- this file only on-the-fly (leave it commented if you dont need it)-->
need it) --> <!-- one or more |-delim of configuration|directory|dialplan -->
<!-- one or more |-delim of configuration|directory|dialplan --> <!-- <param name="gateway-url" value="http://www.server.com/gateway.cgi" bindings="configuration"/> -->
<!-- <param name="gateway-url" value="http://www.server.com/gateway.cgi" bindings="configuration"/> -->
</settings> </settings>
</configuration> </configuration>
<configuration name="rss.conf" description="RSS Parser"> <configuration name="rss.conf" description="RSS Parser">
<feeds> <feeds>
<!-- Just download the files to wherever and refer to them here --> <!-- Just download the files to wherever and refer to them here -->
<!-- <feed name="Slash Dot">/home/rss/rss.rss</feed> --> <!-- <feed name="Slash Dot">/home/rss/rss.rss</feed> -->
<!-- <feed name="News Forge">/home/rss/newsforge.rss</feed> --> <!-- <feed name="News Forge">/home/rss/newsforge.rss</feed> -->
</feeds> </feeds>
</configuration> </configuration>
<!-- None of these paths are real if you want any of these options <!-- None of these paths are real if you want any of these options you need to really set them up -->
you need to really set them up -->
<configuration name="conference.conf" description="Audio Conference"> <configuration name="conference.conf" description="Audio Conference">
<!-- Profiles are collections of settings you can reference by name. --> <!-- Profiles are collections of settings you can reference by name. -->
<profiles> <profiles>
<profile name="default"> <profile name="default">
<!-- Sample Rate--> <!-- Sample Rate-->
<param name="rate" value="8000"/> <param name="rate" value="8000"/>
<!-- Number of milliseconds per frame --> <!-- Number of milliseconds per frame -->
<param name="interval" value="20"/> <param name="interval" value="20"/>
<!-- Energy level required for audio to be sent to the other users --> <!-- Energy level required for audio to be sent to the other users -->
<param name="energy-level" value="300"/> <param name="energy-level" value="300"/>
<!-- TTS Engine to use --> <!-- TTS Engine to use -->
<!--<param name="tts-engine" value="cepstral"/>--> <!--<param name="tts-engine" value="cepstral"/>-->
<!-- TTS Voice to use --> <!-- TTS Voice to use -->
<!--<param name="tts-voice" value="david"/>--> <!--<param name="tts-voice" value="david"/>-->
<!-- If TTS is enabled all audio-file params not beginning with '/' <!-- If TTS is enabled all audio-file params not beginning with -->
will be considered text to say with TTS --> <!-- '/' or with drive: (i.e. c:) will be considered text to say with TTS -->
<!-- File to play to acknowledge succees --> <!-- File to play to acknowledge succees -->
<!--<param name="ack-sound" value="/soundfiles/beep.wav"/>--> <!--<param name="ack-sound" value="/soundfiles/beep.wav"/>-->
<!-- File to play to acknowledge failure --> <!-- File to play to acknowledge failure -->
<!--<param name="nack-sound" value="/soundfiles/beeperr.wav"/>--> <!--<param name="nack-sound" value="/soundfiles/beeperr.wav"/>-->
<!-- File to play to acknowledge muted --> <!-- File to play to acknowledge muted -->
<!--<param name="muted-sound" value="/soundfiles/muted.wav"/>--> <!--<param name="muted-sound" value="/soundfiles/muted.wav"/>-->
<!-- File to play to acknowledge unmuted --> <!-- File to play to acknowledge unmuted -->
<!--<param name="unmuted-sound" value="/soundfiles/unmuted.wav"/>--> <!--<param name="unmuted-sound" value="/soundfiles/unmuted.wav"/>-->
<!-- File to play if you are alone in the conference --> <!-- File to play if you are alone in the conference -->
<!--<param name="alone-sound" value="/soundfiles/yactopitc.wav"/>--> <!--<param name="alone-sound" value="/soundfiles/yactopitc.wav"/>-->
<!-- File to play when you join the conference --> <!-- File to play when you join the conference -->
<!--<param name="enter-sound" value="/soundfiles/welcome.wav"/>--> <!--<param name="enter-sound" value="/soundfiles/welcome.wav"/>-->
<!-- File to play when you leave the conference --> <!-- File to play when you leave the conference -->
<!--<param name="exit-sound" value="/soundfiles/exit.wav"/>--> <!--<param name="exit-sound" value="/soundfiles/exit.wav"/>-->
<!-- File to play when you ae ejected from the conference --> <!-- File to play when you ae ejected from the conference -->
<!--<param name="kicked-sound" value="/soundfiles/kicked.wav"/>--> <!--<param name="kicked-sound" value="/soundfiles/kicked.wav"/>-->
<!-- File to play when the conference is locked --> <!-- File to play when the conference is locked -->
<!--<param name="locked-sound" value="/soundfiles/locked.wav"/>--> <!--<param name="locked-sound" value="/soundfiles/locked.wav"/>-->
<!-- File to play to prompt for a pin --> <!-- File to play to prompt for a pin -->
<!--<param name="pin-sound" value="/soundfiles/pin.wav"/>--> <!--<param name="pin-sound" value="/soundfiles/pin.wav"/>-->
<!-- File to play to when the pin is invalid --> <!-- File to play to when the pin is invalid -->
<!--<param name="bad-pin-sound" value="/soundfiles/invalid-pin.wav"/>--> <!--<param name="bad-pin-sound" value="/soundfiles/invalid-pin.wav"/>-->
<!-- Conference pin --> <!-- Conference pin -->
<!--<param name="pin" value="12345"/>--> <!--<param name="pin" value="12345"/>-->
<!-- Default Caller ID Name for outbound calls --> <!-- Default Caller ID Name for outbound calls -->
<param name="caller-id-name" value="FreeSWITCH"/> <param name="caller-id-name" value="FreeSWITCH"/>
<!-- Default Caller ID Number for outbound calls --> <!-- Default Caller ID Number for outbound calls -->
<param name="caller-id-number" value="8777423583"/> <param name="caller-id-number" value="8777423583"/>
</profile> </profile>
</profiles> </profiles>
</configuration> </configuration>
</section> </section>
<section name="dialplan" description="Regex/XML Dialplan"> <section name="dialplan" description="Regex/XML Dialplan">
<!-- Valid fields in conditions: <!-- Valid fields in conditions: -->
"dialplan, caller_id_name, ani, ani2, caller_id_number, <!-- "dialplan, caller_id_name, ani, ani2, caller_id_number, -->
network_addr, rdnis, destination_number, uuid, source, <!-- rdnis, destination_number, uuid, source, context, chan_name" -->
context, chan_name" -->
<!-- *NOTE* The special context name 'any' will match any context --> <!-- *NOTE* The special context name 'any' will match any context -->
<context name="default"> <context name="default">
<extension name="tollfree"> <extension name="tollfree">
<condition field="destination_number" expression="^(18(0{2}|8{2}|7{2}|6{2})\d{7})$"> <condition field="destination_number" expression="^(18(0{2}|8{2}|7{2}|6{2})\d{7})$">
<action application="bridge" data="exosip/$1-freeswitch@voip.trxtel.com"/> <action application="bridge" data="sofia/test/$1-freeswitch@voip.trxtel.com"/>
</condition> </condition>
</extension> </extension>
<!--<extension name="devconf"> <!-- Call the FreeSWITCH conference via SIP -->
<condition field="destination_number" expression="^888$"> <!--<extension name="FreeSWITCH Conference SIP">-->
<action application="bridge" data="exosip/888@66.250.68.194"/> <!--<condition field="destination_number" expression="^888$">-->
</condition> <!--<action application="bridge" data="sofia/test/888@66.250.68.194"/>-->
</extension> --> <!--</condition>-->
<!--</extension> -->
<!-- Call the FreeSWITCH conference via IAX -->
<!--<extension name="FreeSWITCH Conference IAX">-->
<!--<condition field="destination_number" expression="^8888$">-->
<!--<action application="bridge" data="iax/guest@66.250.68.194/888"/>-->
<!--</condition>-->
<!--</extension>-->
<extension name="testmusic"> <extension name="testmusic">
<condition field="destination_number" expression="^1234$"> <condition field="destination_number" expression="^1234$">
<action application="bridge" data="exosip/1234@66.250.68.194"/> <action application="bridge" data="sofia/test/1234@66.250.68.194"/>
</condition> </condition>
</extension> </extension>
<!-- Enter an existing conference --> <!-- Enter an existing conference -->
<extension name="1000"> <extension name="1000">
<condition field="destination_number" expression="^1000$"> <condition field="destination_number" expression="^1000$">
<action application="conference" data="freeswitch"/> <action application="conference" data="freeswitch"/>
</condition> </condition>
</extension> </extension>
<!-- Start a dynamic conference and call someone at the same time --> <!-- Start a dynamic conference and call someone at the same time -->
<extension name="2000"> <extension name="2000">
<condition field="destination_number" expression="^2000$"> <condition field="destination_number" expression="^2000$">
<action application="conference" data="bridge:mydynaconf:exosip/1234@66.250.68.194"/> <action application="conference" data="bridge:mydynaconf:sofia/test/1234@66.250.68.194"/>
</condition> </condition>
</extension> </extension>
<!-- if the destination is an exact match on the extension name <!-- extensions starting with 4, all the numbers after 4 form a numeric filename -->
you do not need any regex in the condition <!-- continue="true" means keep looking for more extensions to match -->
<extension name="999"> <!-- *NOTE* The entire dialplan is parsed ONCE when the call starts -->
<condition><action application="bridge" data="exosip/888@66.250.68.194"/></condition> <!-- so any call info acquired after the various actions cannot -->
</extension>--> <!-- be taken into consideration. -->
<!-- extensions starting with 4, all the numbers after 4 form a numeric filename
continue=true means keep looking for more extensions to match <!-- The first match will play a beep and the second one plays -->
*NOTE* The entire dialplan is parsed ONCE when the call starts <!-- the desired file. This is for demo purposes both actions -->
so any call info acquired after the various actions cannot <!-- could have been under the same <extension> tag as well. -->
be taken into consideration.
The first match will play a beep and the second one plays
the desired file. This is for demo purposes both actions
could have been under the same <extension> tag as well.
-->
<extension name="playsound1" continue="true"> <extension name="playsound1" continue="true">
<condition field="source" expression="mod_sofia"/> <condition field="source" expression="mod_sofia"/>
<condition field="destination_number" expression="^4(\d+)"> <condition field="destination_number" expression="^4(\d+)">
<action application="playback" data="/var/sounds/beep.gsm"/> <action application="playback" data="/var/sounds/beep.gsm"/>
</condition> </condition>
</extension> </extension>
<extension name="playsound2"> <extension name="playsound2">
<condition field="source" expression="mod_sofia"/> <condition field="source" expression="mod_sofia"/>
<condition field="destination_number" expression="^4(\d+)"> <condition field="destination_number" expression="^4(\d+)">
<action application="playback" data="/root/$1.raw"/> <action application="playback" data="/root/$1.raw"/>
</condition> </condition>
</extension> </extension>
<!-- send everything with a certian RDNIS to Wanpipe ISDN --> <!-- send everything with a certian RDNIS to Wanpipe ISDN -->
<extension name="To PRI"> <extension name="To PRI">
<condition field="rdnis" expression="8881231234"/> <condition field="rdnis" expression="8881231234"/>
<condition field="destination_number" expression="(.*)"> <condition field="destination_number" expression="(.*)">
<action application="bridge" data="wanpipe/a/a/$1"/> <action application="bridge" data="wanpipe/a/a/$1"/>
</condition> </condition>
</extension> </extension>
<!-- Call *MUST* originate from mod_iax and also be dialing ext 9999--> <!-- Call *MUST* originate from mod_iax and also be dialing ext 9999-->
<extension name="9999"> <extension name="9999">
<condition field="source" expression="mod_iax"/> <condition field="source" expression="mod_iax"/>
<condition field="destination_number" expression="9999"> <condition field="destination_number" expression="9999">
<action application="playback" data="/var/sounds/beep.gsm"/> <action application="playback" data="/var/sounds/beep.gsm"/>
</condition> </condition>
</extension>
<!-- Call the FreeSWITCH conference via SIP -->
<extension name="FreeSWITCH Conference SIP">
<condition field="destination_number" expression="^888$">
<action application="bridge" data="exosip/888@66.250.68.194"/>
</condition>
</extension>
<!-- Call the FreeSWITCH conference via IAX -->
<extension name="FreeSWITCH Conference IAX">
<condition field="destination_number" expression="^8888$">
<action application="bridge" data="iax/guest@66.250.68.194/888"/>
</condition>
</extension> </extension>
</context> </context>
</section> </section>
...@@ -474,10 +468,10 @@ could have been under the same <extension> tag as well. ...@@ -474,10 +468,10 @@ could have been under the same <extension> tag as well.
<domain name="mydomain.com"> <domain name="mydomain.com">
<!--the user id (the left hand side of the @ in the addr--> <!--the user id (the left hand side of the @ in the addr-->
<user id="1000"> <user id="1000">
<!-- omit password for authless registration --> <!-- omit password for authless registration -->
<param name="password" value="mypass"/> <param name="password" value="mypass"/>
<!--various endpoints and application will look for user specific settings here --> <!--various endpoints and application will look for user specific settings here -->
<param name="mypref" value="myval"/> <param name="mypref" value="myval"/>
</user> </user>
</domain> </domain>
</section> </section>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论