Hi all, This is a newbie question which I hope has an easy answer :-)
I receive a SIP SUBSCRIBE message in an NTA agent processing the calls in a stateless way (no call legs). I use nta_msg_treply to send the 200 OK response, but I would also need to initiate an outgoing transaction to send a SIP NOTIFY message. As I am not using call legs, I guess I need to initiate that outgoing NOTIFY request with nta_outgoing_mcreate, which will take a msg_t * as input. But... how can I generate that msg_t? Do I need to generate a text buffer with the whole SIP message, pass it to the SIP parser and get the msg_t from there, in order to send it? Is there any other way to create such a msg_t with the SIP NOTIFY? Is it easier to handle this kind of situation with a stateful NTA agent using call legs? Thanks in advance, -Aleksander ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel