Hey,

Sofia compiles now successfully in MinGW/Cygwin environment (in XP, at
least), the required modifications are in CVS and darcs. Big thanks goes
to Pekka who rewrote the refcount/pthread code in su and nua.

The new STUN is also now integrated to tport. This is still work in
progress because tport does not currently support asynchronous transport
creation: su_root_step() is run until a state flag is changed in
tport_stun_cb(). After this the code is executed normally:


void tport_stun_cb()
{

...

    mr->mr_stun_step_ready = 1;

...

}


int tport_nat_stun_bind()
{

...

        nat->stun = stun_handle_create(mr,
                                       mr->mr_root,
                                       tport_stun_cb,
                                       TAG_NEXT(tags));

... 
        stun_handle_request_shared_secret(nat->stun);

        /* Change me in tport_stun_cb() */
        mr->mr_stun_step_ready = 0;
        while (mr->mr_stun_step_ready != 1) {
          su_root_step(mr->mr_root, 1000);
        }
...

}

So this is basically synchronous functionality, but works. Try it out. 

BR,


Martti

--
Martti Mela, Nokia Research Center
+358504836460 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to