I think you need to set hangup_after_bridge to false....

On Jan 2, 2015 8:40 PM, "spros p" <sphotos1982@gmail.com> wrote:
Hello,

I am trying to originate a series of calls in sequential order. I am using the pipe notation, for the dial string, however the call never reaches the second destination.

When trying a comma or when using the enterprise originate notation (:_:), calls are indeed simultaneously placed.

The session is being called as follows in LUA:

origination_string = "{ignore_early_media=true,originate_timeout=30,continue_on_fail=true}[origination_caller_id_number=XXXX]sofia/gateway/provider/AAAAAA|[origination_caller_id_number=XXXX]sofia/gateway/provider/BBBBBB"

new_session = freeswitch.Session(origination_string, session);

Any help would be greatly appreciated.

Many Thanks,
S



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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