Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
#chmod 777 -R "full/address/of/directory"

2 - Dialplan Configuration

  • Switch to the dialplan direcotry inside the freeswitch.

  • Add the following lines of code in the public .xml file of both freeswitches.

Code Block
<extension name="outside_call" continue="true">
	<condition>
		<action application="set" data="outside_call=true"/>
        <action application="log" data="INFO PP-----${sip_from_host}--------------Starting Record Dialplan --------------12124"/>
        <action application="export" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
	</condition>
</extension>

<extension name="CUCM Recording Profile">
	<action application="log" data="INFO Entering Call from CUCM"/>
	<condition field="${sip_from_host}" expression="192.168.1.26">
		<action application="lua" data="record.lua"/>
	</condition>
</extension>

3 - SIP Profiles

  • Switch to the sip_profiles directory.

  • Edit the internal.xml and external.xml SIP profiles and enable or uncomment the Third Party Call Control option in both of them.

  • Change the value flag to "true" if it is set to "false" or "proxy".

...