Hi Daniel.
Thank you very much! I will read about it right now. Best regards. RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200 RAMAL 979 ________________________________ De: users-boun...@lists.opensips.org <users-boun...@lists.opensips.org> em nome de Daniel Zanutti <daniel.zanu...@gmail.com> Enviado: segunda-feira, 18 de abril de 2016 18:56 Para: OpenSIPS users mailling list Assunto: Re: [OpenSIPS-Users] Fix_nated_SDP works very well. How to do more changes in the SDP? Hi Rodrigo In theory you can modify any SIP/SDP using text ops: http://www.opensips.org/html/docs/modules/1.6.x/textops.html#id293600 I don't know any other way... Regards On Mon, Apr 18, 2016 at 6:17 PM, Rodrigo Pimenta Carvalho <pime...@inatel.br<mailto:pime...@inatel.br>> wrote: Hi. Fix_nated_sdp() function works very well. I can fix IPs in my SDP, for attributes "o" and "c'. However, due to a particular desire of my customer, I have to change more others IPs in my SDP. How to do it? Is it possible? For example, how to change the pointed IP seen bellow: v=0 o=- 3669999344 3669999344 IN IP4 xxx.yyy.240.71 s=pjmedia b=AS:25 t=0 0 a=X-nat:1 m=audio 48053 RTP/AVP 8 110 96 c=IN IP4 xxx.yyy.240.71 b=TIAS:8000 a=rtcp:51193 IN IP4 192.168.100.1 a=sendrecv a=rtpmap:8 PCMA/8000 a=rtpmap:110 speex/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-16 a=ice-ufrag:30381869 a=ice-pwd:6268c522 a=candidate:Sc0a864f1 1 UDP 1862270975 192.168.100.1 48053 typ srflx raddr 192.168.100.241 rport 48053 //<------------------------How to change 192.168.100.1 to another IP ???????? a=candidate:Hc0a864f1 1 UDP 1694498815 192.168.100.241 48053 typ host a=candidate:Sc0a864f1 2 UDP 1862270974 192.168.100.1 51193 typ srflx raddr 192.168.100.241 rport 51193 a=candidate:Hc0a864f1 2 UDP 1694498814 192.168.100.241 51193 typ host a=direction:active a=oldoip:192.168.100.1 a=oldcip:192.168.100.1 We are using ICE and STUN, and it could be already well done if the STUN was on Internet as in an ordinary solution. However, my customer asked me to put my stun server in the same machine of the softphone client that generates this SDP content. [☹] Any hint will be very helpful! Best regards. RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200<tel:%2B55%2035%203471%209200> RAMAL 979 _______________________________________________ Users mailing list Users@lists.opensips.org<mailto:Users@lists.opensips.org> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users