[Freeswitch-users] Enterprise bridge not continuing?

Tim St. Pierre fs-list at communicatefreely.net
Thu Feb 3 23:48:21 MSK 2011


Hello,

I'm trying to implement a ring group scenario that supports multiple 
registrations per user.

I have been able to get it to work (mostly) by using the enterprise 
bridge syntax, but when I do, I can't continue on in the dialplan to go 
to voicemail, for example.

If I change the syntax and use the parallell dial comma, voice mail 
works fine, but only the first registration of each user entry will 
ring, and I would really like them all to ring.

 From what I can tell, dialplan execution stops after the originate, 
rather than continuing on to process the next steps.  Is there some sort 
of variable I have to set to tell it to continue when using enterprise 
bridge?

Here's the XML debug output of the dialplan I'm sending from xml_curl

<?xml version="1.0"?>
<document type="freeswitch/xml">
 <section name="dialplan">
  <context name="internal">
   <extension name="Intercom" description="Local Extension" continue="true">
    <condition field="destination_number" expression="5240">
     <action application="pre_answer" data=""/>
     <action application="set" data="continue=true"/>
     <action application="set" data="cdr_destination=Internal"/>
     <action application="set" data="ringback=$${us-ring}"/>
     <action application="set" data="sip_callee_id_name=Lab 0"/>
     <action application="set" data="sip_callee_id_number=5240"/>
     <action application="set" data="progress_timeout=4"/>
     <action application="set" data="call_timeout=12"/>
     <action application="set" data="hangup_after_bridge=true"/>
     <action application="set" data="cdr_amaflags=INTERNAL"/>
     <action application="set" data="originate_continue_on_timeout=true"/>
     <action application="set" data="originate_disposition=NO_ANSWER"/>
     <action application="set" data="ignore_early_media=true"/>
     <action application="log" data="INFO Adding user 5242to the group"/>
     <action application="log" data="INFO Adding user 5244to the group"/>
     <action application="bridge" 
data="[call_timeout=12,alert_info=${domain};info=alert-internal]user/5240 at communicatefreely.net:_:[ignore_early_media=true,call_timeout=12,origination_caller_id_name=Cordles-${caller_id_name},origination_caller_id_number=${caller_id_number},export_vars=accountcode 
subdomain,alert_info=${domain};info=alert-group]user/5242@${domain}:_:[ignore_early_media=true,call_timeout=12,origination_caller_id_name=Cordles-${caller_id_name},origination_caller_id_number=${caller_id_number},export_vars=accountcode 
subdomain,alert_info=${domain};info=alert-group]user/5244@${domain}"/>
    </condition>
   </extension>
   <extension name="Voicemail" description="Leave VM message" 
continue="true">
    <condition field="destination_number" expression="5240">
     <action application="set" data="playback_terminators=#0"/>
     <action application="set" data="cdr_destination=VM Box 5240"/>
     <action application="answer" data=""/>
     <action application="set" data="vm_busy_greet=0"/>
     <action application="set" data="vm_unavail_greet=0"/>
     <action application="set" data="vm_direct__greet=0"/>
     <action application="set" data="vm_ivr_enable=false"/>
     <action application="lua" data="vm_leave.lua 5240 lab new"/>
    </condition>
   </extension>
  </context>
 </section>
</document>




More information about the FreeSWITCH-users mailing list