<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
You are right of course.<BR>
<BR>
On Tue, 2011-06-21 at 17:06 +0300, Avi Marcus wrote:
<BLOCKQUOTE TYPE=CITE>
    Not just "try" :)
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    You want it to hangup_after_bridge, so you need to tell it that before the first bridge.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    -Avi Marcus<BR>
    <IMG SRC="http://p1.wisestamp.com/pixel.png?p=chrome&v=2.4.4.0&t=1308665154055&u=a13173d00c4ca423" WIDTH="1" HEIGHT="1" ALIGN="bottom" BORDER="0"><BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    On Tue, Jun 21, 2011 at 4:56 PM, Mohammad Emran <<A HREF="mailto:monemran@gmail.com">monemran@gmail.com</A>> wrote:<BR>
    <BLOCKQUOTE>
        You can try to set hangup_after_bridge true before bridge.<BR>
        <BR>
        Sent from my iPad
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        On 21 Jun 2011, at 19:48, Henk Oegema <<A HREF="mailto:henk@oegema.com">henk@oegema.com</A>> wrote:<BR>
        <BR>
        > I want to achieve the following:<BR>
        > When a call comes in, it should ring 30 seconds on extension 1000.<BR>
        > If there's no answer the call should go to my mobile.<BR>
        ><BR>
        ><BR>
        > ...............<BR>
        > <action application="set" data="continue_on_fail=true"/><BR>
        > <action application="bridge" data="{originate_timeout=30}sofia/internal/1000%$${domain}"/><BR>
        > <action application="set" data="hangup_after_bridge=true"/><BR>
        > <action application="bridge" data="sofia/gateway/powervoip/003163086xxxx"/><BR>
        > <action application="voicemail" data="default $${domain} 1000"/><BR>
        > .............<BR>
        ><BR>
        ><BR>
        > However,  when I answer the incoming call at 1000 and hangup, the call will still  go to my mobile, in stead of hanging up.<BR>
        > What am I doing wrong?<BR>
        ><BR>
        > Rgds.<BR>
        > Henk<BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        > _______________________________________________<BR>
        > Join us at ClueCon 2011, Aug 9-11, Chicago<BR>
        > <A HREF="http://www.cluecon.com">http://www.cluecon.com</A> 877-7-4ACLUE<BR>
        ><BR>
        > FreeSWITCH-users mailing list<BR>
        > <A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR>
        > <A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>
        > UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>
        > <A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A><BR>
        <BR>
        _______________________________________________<BR>
        Join us at ClueCon 2011, Aug 9-11, Chicago<BR>
        <A HREF="http://www.cluecon.com">http://www.cluecon.com</A> 877-7-4ACLUE<BR>
        <BR>
        FreeSWITCH-users mailing list<BR>
        <A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR>
        <A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>
        UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>
        <A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<A HREF="http://www.cluecon.com">http://www.cluecon.com</A> 877-7-4ACLUE
FreeSWITCH-users mailing list
<A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>