Hi,<br><br>I have trouble recording incoming calls with FreeSwitch.<br><br>I have followed the instruction from Misc. Dialplan Tools record session<br>(<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session</a>)<br>
It works well for outgoing calls, but I have the problem with incoming calls.<br><br>The person who is calling does not hear ring tone, he hears just the silence until<br>I pick up the phone. Everything else is working, we can talk, conversation is recorded.<br>
<br>Here is a copy of my dialplan for incoming calls<br>/usr/local/freeswitch/conf/dialplan/public/voipms.xml<br><br><include><br> <extension name="voipms"> <!-- your provider or any name you'd like to call it --><br>
<condition field="destination_number" expression="XXXXXXXXXX"> <!-- your DID for this gateway--><br> <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/><br>
<action application="set" data="RECORD_COPYRIGHT=(c) 2009"/><br> <action application="set" data="RECORD_SOFTWARE=FreeSwitch"/><br> <action application="set" data="RECORD_ARTIST=FreeSwitch"/><br>
<action application="set" data="RECORD_COMMENT=FreeSwitch"/><br> <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/><br> <action application="set" data="RECORD_STEREO=true"/><br>
<action application="set" data="RECORD_ANSWER_REQ=true"/><br> <action application="set" data="ringback=${us-ring}"/><br> <action application="record_session" data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/><br>
<action application="bridge" data="user/user1@${domain_name}"/><br> </condition><br></include><br><br>for outcoming calls I have a similar code added to the <br>/usr/local/freeswitch/conf/dialplan/default/user1.xml and it works well.<br>
<br><br>I have tried to move the line<br><action application="set" data="ringback=${us-ring}"/><br>between the lines<br><action application="record_session <br>and <br><action application="bridge"<br>
but it did not solve my problem.<br><br>Any ideas what am I doing wrong and how to fix it?<br><br>Igor<br><br>