Hi,

I'm trying to add "received" parameter to Via message in outgoing 183
Session Progress message.
Though I manage to do it some how, however, as a side effect I'm seeing
duplicate Vias in outgoing 183 messages and also seeing multiple 183
messages.


To tell you, how I did it is:
1. First, I copied via to some global via variable in the incoming INVITE
message in ssc_i_invite()
2. Then, I did a call to sip_via_copy() to copy the contents of received Via
to global Via variable
3. I then added the parameter received to the global via message
4. Finally, I added my new via header to nua_respond() with SIPTAG_VIA(via)

Please suggest how to stop duplicate via and multiple 183 messages

Thanks and regards,
Rajat
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to