[Freeswitch-users] {Disarmed} Re: Lua - origination to local endpoint then bridge to either local or remote destination: no audio

Alex Crow acrow at integrafin.co.uk
Thu Dec 15 10:37:41 MSK 2011


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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111215/2a166049/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list