Freeswitch Conf Directory Structure
autoload_configs: It contains configuration information for all the core modules and these configuration files will automatically load into freeswitch.
dialplan: This is the place where we write dialplans. There are some example dialplans exists.
directory: It contains all users that may register and use freeswitch as their PBX.
jingle_profiles : This is a module which handles XMPP.
lang: It tells FS in which language to say the like currency etc.
mrcp_profiles: MRCP is used to allow freeswitch to use speech recognition and TTS
sip_profiles: Tells FS how to talk sip. Each profile has it's own port.
Create a SIP User
1. cp ${Prefix}/conf/directory/default/1000.xml ${Prefix}/conf/directory/default/newuser.xml
2. vi ${Prefix}/conf/directory/default/newuser.xml and change 1000 to newuser.
3. usercontext parameter is used to connect to dialplan. usercontext parameter value is default. we can change this to any but create that in dialplan.
4. create a dialplan in ${Prefix}/conf/dialplan/default.xml by seeing the example one.
bridge local SIP: <action application="bridge" data="user/${destination_number}"/>
Group Call: ring all the members in a group.
make a group in ${Prefix}/conf/directory/default.xml
<group name="support">
<users>
<user id="1001" type="pointer"/>
<user id="1004" type="pointer"/>
<user id="1003" type="pointer"/>
</users>
</group>
dialplan:
<action application="bridge" data="group/smsc"/>.
autoload_configs: It contains configuration information for all the core modules and these configuration files will automatically load into freeswitch.
dialplan: This is the place where we write dialplans. There are some example dialplans exists.
directory: It contains all users that may register and use freeswitch as their PBX.
jingle_profiles : This is a module which handles XMPP.
lang: It tells FS in which language to say the like currency etc.
mrcp_profiles: MRCP is used to allow freeswitch to use speech recognition and TTS
sip_profiles: Tells FS how to talk sip. Each profile has it's own port.
Create a SIP User
1. cp ${Prefix}/conf/directory/default/1000.xml ${Prefix}/conf/directory/default/newuser.xml
2. vi ${Prefix}/conf/directory/default/newuser.xml and change 1000 to newuser.
3. usercontext parameter is used to connect to dialplan. usercontext parameter value is default. we can change this to any but create that in dialplan.
4. create a dialplan in ${Prefix}/conf/dialplan/default.xml by seeing the example one.
bridge local SIP: <action application="bridge" data="user/${destination_number}"/>
Group Call: ring all the members in a group.
make a group in ${Prefix}/conf/directory/default.xml
<group name="support">
<users>
<user id="1001" type="pointer"/>
<user id="1004" type="pointer"/>
<user id="1003" type="pointer"/>
</users>
</group>
dialplan:
<action application="bridge" data="group/smsc"/>.
No comments:
Post a Comment