[Freeswitch-users] Failed bridge in dial plan still answers an OpenZap inbound call

Anthony Minessale anthony.minessale at gmail.com
Wed Jan 14 05:39:20 PST 2009


Have a look here:

http://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones


On Wed, Jan 14, 2009 at 4:03 AM, Scott Ellis <scott.ellis at novatex.com.au>wrote:

> I have an inbound call via OpenZap, when I attempt to bridge to a SIP
> extension, I get the ring tone (inbound line) up until the bridge fails
> (for timeout or do not disturb). At this point the call is answered and
> then my dial plan moves on to attempt another bridge to different
> extensions. So I no longer have the ring tone for the person dialing in.
> The call can still be answered and everything works ok, but I would
> rather not answer the call until someone actually picks up. Failing that
> simulating a ring tone would be good enough.
>
> Have searched around, but at a bit of a loss on how to dothis.
>
> Any suggestions greatly appreciated.
>
> Scott
>
>  From my dialplan
>
> <extension name="LandLine IN">
>    <condition field="source" expression="mod_openzap"/>
>    <condition field="caller_id_number" expression="^[1-8]$">
>
>      <!-- Ring reception for 30 seconds -->
>      <!--<action application="set" data="call_timeout=30"/> -->
>      <action application="set" data="continue_on_fail=true"/>
>      <!--<action application="set" data="hangup_after_bridge=true"/>-->
>      <action application="bridge"
> data="{leg_timeout=30}sofia/$${domain}/500"/>
>
>      <!--<action application="playback"
> data="sounds/ReceptionBusy.wav"/> -->
>
>      <!-- Ring second group for 15 seconds -->
>      <action application="set" data="call_timeout=15"/>
>      <action application="set" data="continue_on_fail=true"/>
>      <action application="set" data="hangup_after_bridge=true"/>
>      <action application="ring_ready"/>
>      <action application="bridge"
> data="${group_call(ringgroup2@${domain_name})"/>
>
>      <!-- Ring everybody -->
>      <action application="set" data="call_timeout=15"/>
>      <action application="set" data="hangup_after_bridge=true"/>
>      <action application="bridge"
> data="${group_call(everyone@${domain_name})"/>
>      <action application="hangup" data="NO_ANSWER"/>
>    </condition>
>  </extension>
>
>
> _______________________________________________
> 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/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090114/eb51af64/attachment-0002.html 


More information about the FreeSWITCH-users mailing list