[Freeswitch-users] Lua Session creation is blocking?

Stephen Wilde wstephen80 at gmail.com
Fri Feb 4 21:19:26 MSK 2011


Ok, 18x will be perfect!

The problem is that when the inbound call is SIP and the originated is ISDN,
the originate doesn't return when a 180 ringing is received (that in ISDN is
an ALERT without in band info).

The originate returns when a 183 (ISDN = in band info available) or 200
(ISDN = CONNECT) is received.

Stephen


On Fri, Feb 4, 2011 at 5:48 PM, Steven Ayre <steveayre at gmail.com> wrote:

> Originate doesn't return until receives 18x, 200, 3xx 4xx, 5xx, or 6xx. I
> suspect this is the issue.
>
> Not sure what the workaround would be though...
>
> -Steve
>
>
> On 4 February 2011 16:29, Stephen Wilde <wstephen80 at gmail.com> wrote:
>
>> I have a lua script that originate a new call creating a session as:
>>
>>         outbound_session = freeswitch.Session(dialstring, session);
>>
>> The problem I have is that session creation sometimes is blocking and
>> sometimes is not blocking.
>>
>> To me it seems that is related to the RTP so the session creation is
>> blocked until early media is present or until the called answer the call.
>>
>> Is this true or I have miss something?
>>
>> There is a way to do a non blocking session creation?
>>
>> Stephen
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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/20110204/f0c6efbf/attachment.html 


More information about the FreeSWITCH-users mailing list