[Freeswitch-users] Enterprise Originate and group_confirm
Phillip Jones
pjintheusa at gmail.com
Wed Aug 11 15:41:30 PDT 2010
Hi there,
I have the following dialplan which uses enterprise originate and
group_confirm:
The plan is that two numbers are called simutanuously, each number has
several gateway to use, incase a gateway fails.
<action application="ring_ready" data=""/>
<action application="set" data="group_confirm_cancel_timeout=1"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=
NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION,INCOMPATIBLE_DESTINATION,UNALLOCATED_NUMBER
"/>
<action application="bridge"
data="{ignore_early_media=true,origination_caller_id_number=2155556240,group_confirm_file=prompts\press-1-to-accept-call-from.wav,group_confirm_key=1}
[leg_timeout=25]sofia/gateway/quest/6095553828|[leg_timeout=25]sofia/gateway/broadvox1/6095553828
:_:{ignore_early_media=true,origination_caller_id_number=2155556240,group_confirm_file=prompts\press-1-to-accept-call-from.wav,group_confirm_key=1}
[leg_timeout=25]sofia/gateway/quest/2155554374|[leg_timeout=25]sofia/gateway/broadvox1/2155554374"/>
<action application="managed"
data="PPNSystem.Telephony.LeaveVoicemailHandler"/>
<action application="hangup" data="NORMAL_CLEARING"/>
Every thing works great in terms of mutiple legs ringing, bridging, hanging
up etc.
I have one issue though:
When either of the numbers, 6095553828 for example, answers the call but
does not accept it (i.e. does not press 1) and hangs up, the dialplan tries
the next gateway for the same number and therefore 6095553828 ends up
getting another call even though he has rejected it. I was expecting that
once the call is answered and rejected (not bridged) then that part of the
dialplan would stop.
Any help appreciated.
Thanks
Pj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100811/1922f6b2/attachment.html
More information about the FreeSWITCH-users
mailing list