[OpenSIPS-Users] opensips vs rtpproxy
Razvan Crainea
razvancrainea at opensips.org
Wed Apr 27 13:54:07 CEST 2011
Hello Nick,
I will need some debugging information such as the received commands.
Can you please start RTPProxy with debug logging level (parameter "-d
DBUG") and paste me the line starting with
"DBUG:handle_command: received command ... ".
Regards,
Razvan
On 04/25/2011 10:42 AM, nick at uni-petrol.com wrote:
> Dear All!
>
> OS: CentOS 5.6 x86_64
> OpenSIPS: trunk 7904 revision
> RTP Rroxy: latest from git
>
> I have strange errors and garbage in RTP Proxy when parsing
> information coming from OpenSIPS and calling from 2000 at y.y.y.y to
> 1000 at y.y.y.y through OpenSIPS+RTP Rroxy.
> RTP Rroxy are on different server then OpenSIPS and they connect each
> other through LAN and WAN.
> On LAN they exchange technical information (RTP sock, RTP timeout
> notify socket) and through WAN they exchange information (SIP & RTP)
> with SIP clients (UAC & UAS).
>
> Both phones (1000 & 2000) are on the same LAN and go through same NAT
> router with IP x.x.x.x to OpenSIPS WAN IP.
> Simple schema is:
> 2000 --> NAT Router --> OpenSIPS --> NAT Router --> 1000
>
> I have following errors in RTP Rroxy :
> Apr 25 11:00:11 rtpproxy[5181]: ERR:handle_command: command syntax error
> Apr 25 11:00:34 rtpproxy[5181]: ERR:handle_command: invalid remote
> address: x.x.x.x70045415: No address associated with hostname
>
> Where x.x.x.x is IP of NAT router, and 70045415 some garbage or ports?
>
> In OpenSIPS I have error:
> Apr 25 11:00:34 /usr/sbin/opensips[5634]: [REPR02] -----> Reply route
> 'base-nat-reply' - M=INVITE RURI=<null> F=sip:2000 at y.y.y.y
> T=sip:1000 at 8y.y.y.y IP=81.88.83.130 ID=34519459 at z.z.z.z
> Apr 25 11:00:34 /usr/sbin/opensips[5634]: [REPR02] NAT-Reply - S=200
> D=OK F=sip:2000 at y.y.y.y T=sip:1000 at y.y.y.y IP=x.x.x.x ID=34519459 at z.z.z.z
> Apr 25 11:00:34 /usr/sbin/opensips[5634]: [REPR02] rtpproxy_answer() -
> M=INVITE RURI=<null> F=sip:2000 at y.y.y.y T=sip:1000 at 8y.y.y.y IP=x.x.x.x
> ID=34519459 at z.z.z.z
> Apr 25 11:00:34 /usr/sbin/opensips[5634]:
> ERROR:rtpproxy:force_rtp_proxy_body: incorrect port 0 in reply from
> rtp proxy
>
> RTP Proxy running with the following parameters:
> rtpproxy -F -l <WAN IP> -s udp:<RTP Proxy LAN IP>:22222 -n
> tcp:<OpenSIPS LAN IP>:9001 -d DBUG
>
> OpenSIPS configuration:
> ########################################################################
> loadmodule "rtpproxy.so"
> ########################################################################
> modparam("rtpproxy", "rtpproxy_sock", "udp:<RTP Proxy LAN IP>:22222")
> modparam("rtpproxy", "rtpproxy_disable_tout", 1)
> modparam("rtpproxy", "rtpproxy_timeout", "1")
> modparam("rtpproxy", "rtpproxy_autobridge", 1)
> modparam("rtpproxy", "rtpproxy_retr", 10)
> modparam("rtpproxy", "rtpp_notify_socket", "tcp:<OpenSIPS LAN IP>:9001")
>
> Thanks in advance!
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list