I've found the answer on this link, at the bottom of page says:<br><br><a href="http://www.kamailio.org/wiki/install/upgrade/3.1.x-to-3.2.0">http://www.kamailio.org/wiki/install/upgrade/3.1.x-to-3.2.0</a><br><h3 class="sectionedit15">
<a name="modulesrtpproxy" id="modulesrtpproxy">modules/rtpproxy</a></h3>
<div class="level3">
<ul><li class="level1"><div class="li"> force_rtp_proxy() removed</div>
<ul><li class="level2"><div class="li"> use rtpproxy_offer() when it is SDP
offer (mainly on INVITE request) and rtpproxy_answer() when it is SDP
answer (mainly on INVITE replies)</div>
</li><li class="level2"><div class="li"> new alternative is to use rtpproxy_manage() which does the detection of SDP offer/answer internally</div></li></ul></li></ul><p>Then, on the line 729 replace force_rtp_proxy() with <b>rtpproxy_offer()</b> and on the line 806, replace force_rtp_proxy() with <b>rtpproxy_answer()</b><br>
</p><p><br></p>
</div><br><br><div class="gmail_quote">2012/9/15 Cenk İlker İzanlı <span dir="ltr"><<a href="mailto:cenkilker@gmail.com" target="_blank">cenkilker@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I'm installing kamailio and rtpproxy with this guide.<br><br><a href="http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour" target="_blank">http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour</a><br>
<br>Versions of the programs:<br># aptitude versions rtpproxy<br>i 1.2.1-1 stable 500<br>root@li304-234:~# kamailio -V<br>
version: kamailio 3.3.0 (x86_64/linux)<br>flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>id: unknown<br>compiled on 22:18:19 Jun 18 2012 with gcc 4.4.5<br>
<br><br>When I start kamailio, I get this error,<br><br>Sep 14 17:08:44 (none) kamailio: ERROR: <core> [cfg.y:3455]: cfg. parser: failed to find command force_rtp_proxy<br>Sep 14 17:08:44 (none) kamailio: : <core> [cfg.y:3594]: parse error in config file /etc/kamailio/kamailio.cfg, line 729, column 19: unknown command, missing loadmodule?#012<br>
Sep 14 17:08:44 (none) kamailio: ERROR: <core> [cfg.y:3455]: cfg. parser: failed to find command force_rtp_proxy<br>Sep 14 17:08:44 (none) kamailio: : <core> [cfg.y:3594]: parse error in config file /etc/kamailio/kamailio.cfg, line 806, column 19: unknown command, missing loadmodule?#012<br>
<br>Related lines throwing error are below.<br><br>724 route[RTPPROXY] {<br>725 #!ifdef WITH_NAT<br>726 if (is_method("BYE")) {<br>727 unforce_rtp_proxy();<br>728 } else if (is_method("INVITE")){<br>
729 force_rtp_proxy();<br>730 }<br>731 if (!has_totag()) add_rr_param(";nat=yes");<br>732 #!endif<br>733 return;<br>734 }<br>735<br><br><br>803 #!ifdef WITH_NAT<br>804 if ((isflagset(FLT_NATS) || isbflagset(FLB_NATB))<br>
805 && status=~"(183)|(2[0-9][0-9])") {<br>806 force_rtp_proxy();<br>807 }<br>808 if (isbflagset("6")) {<br>809 fix_nated_contact();<br>
810 }<br>811 #!endif<br><br>Does anyone know what's the problem with cfg file?<br><br>Thx.<span class="HOEnZb"><font color="#888888"><br>Cenk<br><br>
</font></span></blockquote></div><br>