What does 8000310061 mean?
Grepping the source didn't help.. The extension linked to below plays DTMF 8000310061 instead of a ringback. (an 800 number?) I'm trying to get spandsp_start_fax_detect working. I figured out by trial and error that it only works if I first answer the call. That there is no audio for the answered line is the likely problem. I tried pre_answer which fails to detect the fax. How do I play a ringback ? (Needs to stop if an extension answers. ) http:/xtronics.com/uploads/faxextension.txt -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 The first panacea for a mismanaged nation is inflation of the currency; the second is war. Both bring a temporary prosperity; both bring permanent ruin. Ernest Hemingway --------------------------------------------------------------------------------
Let me ask this another way - if I answer an extension in the dial plan, and then bridge the call - how can I play audio while waiting for the bridge to complete? (and the answering of the bridge request should stop the audio ) -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 The lack of a middle class is a good indicator of how corrupt a government is. kps --------------------------------------------------------------------------------
ringback On Sep 20, 2013, at 2:24 PM, Karl Schmidt <karl@xtronics.com> wrote:
Let me ask this another way - if I answer an extension in the dial plan, and then bridge the call - how can I play audio while waiting for the bridge to complete? (and the answering of the bridge request should stop the audio )
On 09/20/2013 01:30 PM, Michael Jerris wrote:
ringback
First, application ring_back was renamed to ring_ready. And it doesn't work ( I've tried that and many other things ) ringback is what is played before a call is answered. <extension name="group_dial_sales"> <condition field="destination_number" expression="^30$|^34$"> <action application="export" data="dialed_extension=$1"/> <action application="answer"/> <action application="spandsp_start_fax_detect" data="transfer '13 XML default' 6"/> <action application="set" data="ringback=${us-ring}"/> ``````<action application="ring_ready" /> <action application="bridge" data="15 xml default"/> </condition> </extension> It is rather clear what happens on a POTS line when a call is 'answered' - if FS 'answers' a call as part of the dial plan - it is less clear - how to define the source of audio while waiting for a subsequent bridge? It does play a sound (annoying DTMF of 8000310061) and works otherwise, what sets that sound?
On Sep 20, 2013, at 2:24 PM, Karl Schmidt <karl@xtronics.com> wrote:
Let me ask this another way - if I answer an extension in the dial plan, and then bridge the call - how can I play audio while waiting for the bridge to complete? (and the answering of the bridge request should stop the audio )
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 If you tell the truth you don't have to remember anything. -- Mark Twain --------------------------------------------------------------------------------
On 09/22/2013 07:21 PM, Brian West wrote:
What is this? That looks suspect. You've given 'bridge' the 'transfer' args.
On Sep 20, 2013, at 2:11 PM, Karl Schmidt <karl@xtronics.com> wrote:
<action application="bridge" data="15 xml default"/>
Still not the case - (I had been trying most everything, and must have scrambled that up just before I copied and pasted). If I have the following bridge line it does the DTMF bit.. <action application="bridge" data="sofia/internal/11%${sip_profile}" /> It rings 11, but instead of hearing a ring-back, It plays DTMF 8000310061 ,.,.<time passes> I figured it out - the problem was that because the call was 'answered' the bridge uses transfer_ringback - not ringback and it had been set to a music file.. From the Demo: <action application="set" data="transfer_ringback=$${hold_music}"/> where vars has: <X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/> Which had been changed to : <X-PRE-PROCESS cmd="set" data="hold_music=../../../music/default/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav"/> According to the wiki: data is either the full path (important! must be full path!) to an audio file or teletone generation markup language. Because it wasn't a full path - it must have been interpreting as a DTMF tone stream? Sure looked like an 800 number.. Now I have to figure out how to change transfer_ringback after the call bridges to an extension of the call group. -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Not everything that can be counted counts, and not everything that counts can be counted. Albert Einstein --------------------------------------------------------------------------------
participants (3)
-
Brian West
-
Karl Schmidt
-
Michael Jerris