i am trying to rewrite the video codec in the SDP header from a SIP client A. It works only partially. Client A sends invite with the SDP header to FS trying to call client B and FS changes the video codes due to: <action application="set" data="switch_r_sdp=$1m=video 9078 RTP/AVP 102 a=rtpmap:102 H264/90000 a=fmtp:102 profile-level-id=42C014 "/> in my dialplan/default.xml file. I know that this first change by FS works correctly because i can see the SDP header via wireshark. Client B then answers with 200 ok and a SDP header but FS then does not send the SDP header from client B to client A but a mixture of the original SDP header from client A and the SDP header from B's answer.
From added logging to the FS code i see that the SDP header which is given to nua_respond(..) in mod_sofia.c when FS sends the 200 okay to client A is still as expected.
So from where comes the mixed SDP header ? Am i missing some more settings in the dialplan/default.xml file ? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/SDP-rewriting-tp6928152p692815... Sent from the freeswitch-users mailing list archive at Nabble.com.