Call internal, otherwise mobile, not working
I want to achieve the following: When a call comes in, it should ring 30 seconds on extension 1000. If there's no answer the call should go to my mobile. ............... <action application="set" data="continue_on_fail=true"/> <action application="bridge" data="{originate_timeout=30}sofia/internal/1000%$${domain}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/powervoip/003163086xxxx"/> <action application="voicemail" data="default $${domain} 1000"/> ............. However, when I answer the incoming call at 1000 and hangup, the call will still go to my mobile, in stead of hanging up. What am I doing wrong? Rgds. Henk
You can try to set hangup_after_bridge true before bridge. Sent from my iPad On 21 Jun 2011, at 19:48, Henk Oegema <henk@oegema.com> wrote:
I want to achieve the following: When a call comes in, it should ring 30 seconds on extension 1000. If there's no answer the call should go to my mobile.
............... <action application="set" data="continue_on_fail=true"/> <action application="bridge" data="{originate_timeout=30}sofia/internal/1000%$${domain}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/powervoip/003163086xxxx"/> <action application="voicemail" data="default $${domain} 1000"/> .............
However, when I answer the incoming call at 1000 and hangup, the call will still go to my mobile, in stead of hanging up. What am I doing wrong?
Rgds. Henk _______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
Not just "try" :) You want it to hangup_after_bridge, so you need to tell it that before the first bridge. -Avi Marcus On Tue, Jun 21, 2011 at 4:56 PM, Mohammad Emran <monemran@gmail.com> wrote:
You can try to set hangup_after_bridge true before bridge.
Sent from my iPad
On 21 Jun 2011, at 19:48, Henk Oegema <henk@oegema.com> wrote:
I want to achieve the following: When a call comes in, it should ring 30 seconds on extension 1000. If there's no answer the call should go to my mobile.
............... <action application="set" data="continue_on_fail=true"/> <action application="bridge" data="{originate_timeout=30}sofia/internal/1000%$${domain}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="sofia/gateway/powervoip/003163086xxxx"/> <action application="voicemail" data="default $${domain} 1000"/> .............
However, when I answer the incoming call at 1000 and hangup, the call will still go to my mobile, in stead of hanging up. What am I doing wrong?
Rgds. Henk _______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
You are right of course. On Tue, 2011-06-21 at 17:06 +0300, Avi Marcus wrote:
Not just "try" :)
You want it to hangup_after_bridge, so you need to tell it that before the first bridge.
-Avi Marcus
On Tue, Jun 21, 2011 at 4:56 PM, Mohammad Emran <monemran@gmail.com> wrote:
You can try to set hangup_after_bridge true before bridge.
Sent from my iPad
On 21 Jun 2011, at 19:48, Henk Oegema <henk@oegema.com> wrote:
> I want to achieve the following: > When a call comes in, it should ring 30 seconds on extension 1000. > If there's no answer the call should go to my mobile. > > > ............... > <action application="set" data="continue_on_fail=true"/> > <action application="bridge" data="{originate_timeout=30}sofia/internal/1000%$${domain}"/> > <action application="set" data="hangup_after_bridge=true"/> > <action application="bridge" data="sofia/gateway/powervoip/003163086xxxx"/> > <action application="voicemail" data="default $${domain} 1000"/> > ............. > > > However, when I answer the incoming call at 1000 and hangup, the call will still go to my mobile, in stead of hanging up. > What am I doing wrong? > > Rgds. > Henk
> _______________________________________________ > Join us at ClueCon 2011, Aug 9-11, Chicago > http://www.cluecon.com 877-7-4ACLUE > > 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
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
participants (3)
-
Avi Marcus
-
Henk Oegema
-
Mohammad Emran