I think the answer boils down to if you want to use a separate UDP/TCP port for each line.
If you do, then you can create an nua instance for each line.
If you want to use the same port for all lines, you will need to multiplex your lines in the callback utilizing username in the SIP packets.
There is some discussion about this in some threads of this mailing list.

[EMAIL PROTECTED] wrote:
 

  
-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On 
Behalf Of ext Jerry Richards
Sent: Friday, February 02, 2007 7:03 PM
To: sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] Multiple Lines

Is it okay if I use Sofia-SIP to develop a SIP phone that has 
multiple (up to 50) Lines?  Each line will register with the 
SIP proxy server.

Do I need to call su_root_create() and nua_create() for each 
line?
    

At least su_root_create() is supposed to be once per process.

  
Does that mean I need a unique callback function for 
each line?
    

Of course not, you only need some accounting for the handles your callback will be called with.

HTH,
  Mikhail

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
  
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to