Hello Jason, To study a simple (not SIMPLE ;) SIP client you might first want to try sip-options.c found in "utils" directory, for example.
The example code you were referring to (found at Sofia-SIP refdocs) should initialize the NUA stack and bind the sockets. You might want to add an additional tag NUTAG_URL() to nua_create(): appl->nua = nua_create(appl->root, app_callback, appl, NUTAG_URL("sip:0.0.0.0:5060"), TAG_NULL()); This commands stack to use a local IP address (instead of possibly available IPv6) and to bind to port 5060 if it's free. For the testing purposes, this way you can be sure if the stack is really bound to a specific port. But I would recommend you to test first with sip-options.c with TPORT_LOG environment variable turned on: sh> TPORT_LOG=1 ./sip-options <program params> Best regards, Martti -- Martti Mela, Nokia Research Center +358504836460 ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ext Jason Terry Sent: 8. toukokuuta 2006 22:18 To: sofia-sip-devel@lists.sourceforge.net Subject: [Sofia-sip-devel] Getting started Hi, I've downloaded Sofia and have installed it on a redhat linux server. I was trying to get the hang of things by using the NUA sample code found here: http://sofia-sip.sourceforge.net/refdocs/nua/index.html. Is this enough to get things up and running, because I don't see my test application listening on udp port 5060. Are these instructions complete? Regards, Jason ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel