mod_sofia will take care of spawning the session thread once it authenticated the call and loaded all the variables related to the call such as the caller profile (callerid, destination number, etc).

If you want to check the source, this is done in sofia_handle_sip_i_invite() (sofia.c:5261) with switch_core_session_thread_launch().

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
[email protected]




On 25-Aug-09, at 1:53 PM, Tihomir Culjaga wrote:

nice, this is one way to go...

btw: when do you exactly bring up a new thread ?

T.

On Tue, Aug 25, 2009 at 7:40 PM, Michael Collins <[email protected]> wrote:


On Tue, Aug 25, 2009 at 10:31 AM, Tihomir Culjaga <[email protected]> wrote: Of course i removed everytihng from teh dialplan except my extension :)

when exactly do you react and bring up a new thread ? ... is it on INVITE or on 1st 1xx response ?

i beleive i can have several lets call it SIP interfaces ... on different ports 5060, 5070, 5080 ... every interface will have it's own sip profile.

does it mean i will have one thread per profile?
Yes.


_______________________________________________
FreeSWITCH-users mailing list
[email protected]
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
[email protected]
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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to