Hello, if you don't provide an ip to the rtpenging manage function, then rtpengine will use its own ip address -- in other words, rtpengine changes always the ip in sdp.
Cheers, Daniel On 02/11/16 13:57, Yuriy Gorlichenko wrote: > Yes I also using rtpengine. But not using media param in it. Ok. I > will try to fix it checking this staff. Let you know if it will not help > thx for advices > > 2016-11-02 15:27 GMT+03:00 Daniel-Constantin Mierla <mico...@gmail.com > <mailto:mico...@gmail.com>>: > > It can also happen if another function that alters sdp is used, > such as those from rtpproxy or rtpengine modules. > > You can execute msg_apply_changes() before/after fix_nated_sdp(), > but it is better to find the reason and do only one update of the > ip in the sdp. > > Cheers, > Daniel > > > On 02/11/16 01:12, Aqs Younas wrote: >> >> Might be you are doing fix_nated_sdp, multiple times in >> configuration. >> >> >> On Nov 1, 2016 5:03 PM, "Yuriy Gorlichenko" <ovoshl...@gmail.com >> <mailto:ovoshl...@gmail.com>> wrote: >> >> I trying to use >> fix_nated_sdp with 0x02 and 0x08 flags for changing ip addres >> and the SDP body part >> >> like >> >> fix_nated_sdp(10,"1.2.3.4") >> >> But for now it beaks SDP >> At the output i see next >> >> o=- 7300689428214760503 2 IN IP4 1.1.1.1 >> c=IN IP4 1.1.1.1 >> 1.2.3.41.2.3.4 <- is just a line that added after >> fix_nated_sdp atthe end of SDP body >> >> kamailio -v >> version: kamailio 4.4.3 (x86_64/linux) e91aec >> flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, >> USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, >> SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, >> TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, >> FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, >> USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES >> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, >> MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT >> PKG_SIZE 8MB >> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. >> id: e91aec >> compiled on 07:26:14 Oct 18 2016 with gcc 4.9.2 >> >> >> >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users >> mailing list >> sr-users@lists.sip-router.org >> <mailto:sr-users@lists.sip-router.org> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> >> >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> > > -- > Daniel-Constantin Mierla > http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - > http://www.linkedin.com/in/miconda > <http://www.linkedin.com/in/miconda> > Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - > http://www.asipto.com > > _______________________________________________ SIP Express Router > (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > <mailto:sr-users@lists.sip-router.org> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> > -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users