[Freeswitch-users] Freeswitch creating more then two sessions for one call

Michael Jerris mike at jerris.com
Fri Jun 5 20:17:03 PDT 2009


We already send a 100 before the call even hits the dialplan.

Mike

On Jun 5, 2009, at 8:00 PM, "Jim Burke" <jim at evolutiontel.net> wrote:

> Could it be that you are getting several INVITE messages per call  
> due to 100 Trying message is not being sent until after the route is  
> selected from your java routing script?
>
> You might be able to send a 100 trying from your dialplan or script.  
> Keep in mind that this message stops timers on the originating side.
>
> - original message -
> Subject:    Re: [Freeswitch-users] Freeswitch creating more then two  
> sessions for one call
> From:    Michael Jerris <mike at jerris.com>
> Date:        05/06/2009 20:27
>
>
> On Jun 5, 2009, at 4:11 PM, Shoaib Khanzada wrote:
>
>> Thanks for the reply….
>>
>> I was not running it for testing purpose because I’ve completed all
>> testing successfully.
>>
>> We are running freeswitch in a voip carrier grade environment. It
>> works perfectly alright in off peak hours when we have low calls
>> ratio around 100-150 concurrent calls. However, in peak hours this
>> goes beyond 200 calls and on that point freeswitch start creating
>> many sessions for each calls. I have seen the sessions using
>> “status” command and calls using “show calls count”.
>>
>> We are using javascript to select the route from the mysql database
>> for each call. Could it be because script is taking longer than
>> expected amount of time to retrieve a route? and freeswitch
>> continuously keep creating sessions for incoming calls. That’s why I
>> see low no of connected calls (if ‘show calls count’ only display
>> the connected calls) whereas sessions are continuously being created
>> by freeswitch as it is receiving many calls.
>>
>> If above text confuses you, nevermind just answer the following
>> questions.
>>
>> 1)      Does ‘show calls count’ display the connected calls only?
>
> Only bridged calls (2 sessions)
>
>> 2)      When freeswitch create session instances? Before bridge or
>> after bridge? Or one before bridge and one after bridge?
>
> It creates a session when it gets an incomming call and creates one
> for each outgoing call, unrelated to bridging.
>
>>
>> Thanks,
>>
>> Shoaib
>
> How are you doing the bridge in your script?  Are you setting a var
> then dropping out of the js to do the bridge?  Can you post your js
> file?
>
> Mike
>
>
>
> _______________________________________________
> 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




More information about the FreeSWITCH-users mailing list