No ring tone while recording incoming call. Please help.
Hi, I have trouble recording incoming calls with FreeSwitch. I have followed the instruction from Misc. Dialplan Tools record session (http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session) It works well for outgoing calls, but I have the problem with incoming calls. The person who is calling does not hear ring tone, he hears just the silence until I pick up the phone. Everything else is working, we can talk, conversation is recorded. Here is a copy of my dialplan for incoming calls /usr/local/freeswitch/conf/dialplan/public/voipms.xml <include> <extension name="voipms"> <!-- your provider or any name you'd like to call it --> <condition field="destination_number" expression="XXXXXXXXXX"> <!-- your DID for this gateway--> <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/> <action application="set" data="RECORD_COPYRIGHT=(c) 2009"/> <action application="set" data="RECORD_SOFTWARE=FreeSwitch"/> <action application="set" data="RECORD_ARTIST=FreeSwitch"/> <action application="set" data="RECORD_COMMENT=FreeSwitch"/> <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/> <action application="set" data="RECORD_STEREO=true"/> <action application="set" data="RECORD_ANSWER_REQ=true"/> <action application="set" data="ringback=${us-ring}"/> <action application="record_session" data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/> <action application="bridge" data="user/user1@${domain_name}"/> </condition> </include> for outcoming calls I have a similar code added to the /usr/local/freeswitch/conf/dialplan/default/user1.xml and it works well. I have tried to move the line <action application="set" data="ringback=${us-ring}"/> between the lines <action application="record_session and <action application="bridge" but it did not solve my problem. Any ideas what am I doing wrong and how to fix it? Igor
set ringback before record_session and also set transfer_ringback because record_session causes an pre-answer. /b On Sep 21, 2009, at 2:13 PM, Svetik VOIP wrote:
Hi,
I have trouble recording incoming calls with FreeSwitch.
I have followed the instruction from Misc. Dialplan Tools record session (http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session) It works well for outgoing calls, but I have the problem with incoming calls.
The person who is calling does not hear ring tone, he hears just the silence until I pick up the phone. Everything else is working, we can talk, conversation is recorded.
Here is a copy of my dialplan for incoming calls /usr/local/freeswitch/conf/dialplan/public/voipms.xml
<include> <extension name="voipms"> <!-- your provider or any name you'd like to call it --> <condition field="destination_number" expression="XXXXXXXXXX"> <!-- your DID for this gateway--> <action application="set" data="RECORD_TITLE=Recording $ {destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H: %M)}"/> <action application="set" data="RECORD_COPYRIGHT=(c) 2009"/> <action application="set" data="RECORD_SOFTWARE=FreeSwitch"/> <action application="set" data="RECORD_ARTIST=FreeSwitch"/> <action application="set" data="RECORD_COMMENT=FreeSwitch"/> <action application="set" data="RECORD_DATE=${strftime (%Y-%m-%d %H:%M)}"/> <action application="set" data="RECORD_STEREO=true"/> <action application="set" data="RECORD_ANSWER_REQ=true"/> <action application="set" data="ringback=${us-ring}"/> <action application="record_session" data="$${base_dir}/ recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_$ {destination_number}_${caller_id_number}.wav"/> <action application="bridge" data="user/user1@$ {domain_name}"/> </condition> </include>
hi all, Has anyone connected FreeSWITCH to UTRAN? If so, how was that done? Jan _________________________________________________________________ With Windows Live, you can organize, edit, and share your photos. http://www.microsoft.com/middleeast/windows/windowslive/products/photo-galle...
participants (3)
-
Brian West
-
Jan Berger
-
Svetik VOIP