BTW,

It does work OK when bridging to the Mitel even for both legs. We have a plan to move away from the Mitel to a pure FS environment by stages, so we'd like to have something like this working beforehand.

Cheers

Alex

On 15/12/11 07:37, Alex Crow wrote:
Michael,

I'm using Lua as I want to extend this to do things such as pull a user's phone number from LDAP (with lualdap), wait a couple of seconds before placing the outbound call in case it hits voicemail on the Mitel (so we don't connect an internal extension's voicemail to an external party) etc.

I also found a simple originate rings both endpoints at once. I don't want the second endpoint to be called until the first is answered.

Regardless, the Lua should work but it doesn't for me, and I'd like to know if I'm doing something wrong.

Cheers

Alex

On 14/12/11 23:01, Michael Collins wrote:
Why are you using Lua at all? It looks like a simple originate that you should be able to do as an API call.

-MC


_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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


-- 
This message is intended only for the addressee and may contain 
confidential information.  Unless you are that person, you may not 
disclose its contents or use it in any way and are requested to delete 
the message along with any attachments and notify us immediately. 

"Transact" is operated by Integrated Financial Arrangements plc 
Domain House, 5-7 Singer Street, London  EC2A 4BQ 
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 3727592) 
Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)