[Freeswitch-users] lua session() is blocking...

Antonio Silva asilva at wirelessmundi.com
Tue Oct 1 14:30:00 MSD 2013


Ok... 

so the only way to trigger a second call from the ringing state is doing
it with events... or is there another way?


On Tue, 2013-10-01 at 08:38 +0200, Peter Olsson wrote: 

> Yes, this is expected, that's that way it works.
> 
> 
> /Peter
> 
> 
> 2013/9/30 Antonio Silva <asilva at wirelessmundi.com>
> 
>         I found it.. 
>         
>         it's always blocking if no media is received... in this case
>         the destination reply with a SIP/180 and the session is
>         waiting for media to continue in the script... 
>         
>         I put a pastebin where you can see the output and the lua
>         script, http://pastebin.freeswitch.org/21474
>         
>         (in my minimum configuration i had the action answer before
>         doing the bridge... my bad...)
>         
>         
>         Regards,
>         António
>         
>         On Mon, 2013-09-30 at 16:14 +0200, Antonio Silva wrote:
>         
>         > hum... 
>         > 
>         > just try without ignore_early_media=true... same
>         > behaviour... 
>         > 
>         > then i tried with a minimum FS configuration and it work
>         > with and without ignore_early_media=true... so it's a
>         > different problem... 
>         > 
>         > I'm trying to figure out... but thanks for the tip.
>         > 
>         > 
>         > Regards,
>         > António
>         > 
>         > 
>         > 
>         > 
>         > On Mon, 2013-09-30 at 07:48 -0500, Brian West wrote: 
>         > 
>         > > You told it to do exactly that when you said ignore_early_media=true
>         > > 
>         > > --
>         > > Brian West
>         > > brian at freeswitch.org
>         > > FreeSWITCH Solutions, LLC
>         > > PO BOX PO BOX 2531
>         > > Brookfield, WI 53008-2531
>         > > Twitter: @FreeSWITCH_Wire , @briankwest
>         > > http://www.freeswitchbook.com
>         > > http://www.freeswitchcookbook.com
>         > > 
>         > > T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
>         > > iNUM: +883 5100 1420 9001
>         > > ISN: 410*543
>         > > Skype:briankwest
>         > > PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > On Sep 30, 2013, at 7:31 AM, Antonio Silva <asilva at wirelessmundi.com> wrote:
>         > > 
>         > > > The problem is that the freswitch.session is blocking and it only returns when the call is already answer...
>         > > 
>         > > _________________________________________________________________________
>         > > 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
>         > 
>         > 
>         > 
>         > _________________________________________________________________________
>         > 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
>         
>         
>         
>         
>         _________________________________________________________________________
>         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
>         
> 
> 
> 
> 
> _________________________________________________________________________
> 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/20131001/a175a147/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list