[Freeswitch-users] No ring/can't answer during early media playback of wav

Anthony Minessale anthony.minessale at gmail.com
Wed Nov 10 15:28:27 PST 2010


skip all the crazy stuff and use mod_file_string

<action application="set"
data="ringback=file_string:///path_to_please_wait.wav!local_stream://moh"/>



On Wed, Nov 10, 2010 at 4:19 PM, Mario G <mario_fs at mgtech.com> wrote:
> Another way to put it: Diaplan  http://pastebin.freeswitch.org/14439  works
> fine except for the few seconds the wav files play information the FS local
> extensions stop ringing and cannot be answered. When the wav is done ringing
> starts again. Is there any way to keep ringing through the wav so the call
> can be answered during the wav play? Thanks,
> Mario G
>
> On Nov 10, 2010, at 1:57 PM, Mario G wrote:
>
> Is there a way to answer an incoming call (keep target ringing) during
> playback of a wav file during early media?
> When a call comes in part of the early media is a wav file. The target
> phones ring except during paying of the media file, if a phone tries to
> answer when ringing stops during the wav it cannot answer the call.
> 1. Someone calls from outside,
> 2. Phones ring.
> 3. In the middle of ringing we play a wav file. Phones stop ringing and
> can't be answered.  <- this is the problem.
> 4. When wav is finished, phones start ringing again.
> Thanks,
> Mario G
> On Nov 10, 2010, at 1:18 PM, Anthony Minessale wrote:
>
> Can you restate what you ate hoping to accomplish clear and concise?
> I'm lost.
>
>
> On Wed, Nov 10, 2010 at 3:02 PM, Mario G <mario_fs at mgtech.com> wrote:
>
> Can anyone shed some light on this minor problem, or does it just work this
>
> way? Mario G
>
> On Nov 9, 2010, at 3:20 PM, Mario G wrote:
>
> Michael, I tried to send yesterday but email was bounced back:
>
> I started the traces then called from an outside line, when the ringing got
>
> to the wav and stopped I picked up and got a dial tone, then hung up and
>
> ringing continued. I looked at the trace but do not know enough to see the
>
> problem. I thought to see 2 passes though the DP but it looks like more than
>
> that? Thank you.
>
> Mario
>
> Dialplan:   http://pastebin.freeswitch.org/14439
>
> Trace:        http://pastebin.freeswitch.org/14440
>
> On Nov 8, 2010, at 10:02 AM, Michael Collins wrote:
>
> pastebin the XML for 2921 and 2922. Also, get a full debug log from start to
>
> finish and put it on pastebin.
>
> -MC
>
> On Mon, Nov 8, 2010 at 9:39 AM, Mario G <mario_fs at mgtech.com> wrote:
>
> During early media the steps below work except the target stops ringing
>
> during step 3 and if the phone is picked up it does not answer the call,
>
> other extensions continue ringing. Is there a way to continue ringing the
>
> target while the wav is played to the caller so it can be answered? No luck
>
> on searching wiki and the few things I tried so far. Thanks, Mario G
>
> 1. I play 2 wav files
>
> 2. ring 17 seconds
>
> 3.  play 2 wav files          <- at this point the target phones stop
>
> ringing and cannot answer the call, after this point no problem.
>
> 4. set music on hold while bridging to cell phones.
>
> step 1
>
> <action application="set" data="ringback=${us-ring}"/
>
> <action application="execute_extension" data="2921 XML default"/>
>
>  <<<-play wav based on caller id,no ringing of target
>
> step 2
>
> <action application="set" data="call_timeout=17"/>
>
> <action application="bridge" data="group/users1@${domain_name}"/>
>
> steps 3. <<<-play wav based on caller id, ringing stops and can't answer
>
> <action application="execute_extension" data="2922 XML default"/>
>
> <action application="playback"
>
> data="../mvsounds/we_trying_please_hold.wav"/>
>
> step 4. <<<-ringing starts agsin and can answer
>
> <action application="set" data="ringback=$${hold_music}"/>
>
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list