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">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.<br>Cenk<br><br>