Hey, I'm currently writing an application for fuzz testing SIP compatible clients (soft phones, hard phones etc) and looking for a simple way to deal with certain things I don't want to test in this app.
One of these things is registration. I want to allow the the client to register with the server unaccosted, after which I will begin testing. I was researching some libraries that would allow me to do this and Sofia-sip seems like a possible candidate. Unfortunately though I was unable to find any sample code that does this. In the NTA tutorial found here http://sofia-sip.sourceforge.net/refdocs/nta/ there is the following code int process_request(server_t *server, nta_leg_t *leg, nta_incoming_t *irq, sip_t const *sip) { ..... switch (sip->sip_request->rq_method) { case sip_method_register: return registrar_add(server, leg, reply, sip); but no indication as to where this code goes in the grand scheme of things i.e is it in the callback provided as a parameter when using nta_agent_create or what. Anyways, what I'm wondering is if anyone has some sample code for a basic registrar (or any kind of basic server that handles some sort of client interaction)? On an unrelated note the links on the nta tutorial page to the docs on su_root_create/run/destroy are giving me 404 errors, in case anyone feels like fixing it ;) Thanks, nnp -- http://www.smashthestack.org http://www.mastersofthewang.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
