2008/4/29 Subbu Rajendran <[EMAIL PROTECTED]>:
> We are trying to create a multi line user agent using Sofia sip. We first
> need to know how should the sofia components be architecture for that.
>
> To give a brief background on the environment we use, it is an embedded
> system with very limited available memory and CPU power running on linux.

> We have came out with a few options below. Could you please let us know
> which would be the best method.
>
> 1.     One thread for each line. Each thread has a sofia SIP stack instance
> (NUA, SOA etc..).
>
> 2.     Single NUA instance and multiple SOAs.

Sofia SIP clones the SOA instance for each new call.

> 3.     Is it possible to have single instance of NUA and SOA to cater to 'n'
> independent lines? If yes, what is recommended value for n?

If you provide unique NUTAG_M_USERNAME() and SOATAG_USER_SDP() for
each line, the main limitation would be the memory required within
your application.

The registration uses also some amount of memory, you have to take
that in account if you register separately for each line.

--Pekka


-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to