[OpenSIPS-Users] OpenSIPS TLS and rtpproxy

debelizmaj demjurg at gmail.com
Thu Jul 4 11:21:42 CEST 2013


Hallo,

I'm configuring my opensips server. Developing of minisip based client is
over and server is now focus :)

In local network TLS works perfect. On internet there is no audio. 

Network configuration
server(10.99.10.249 local ip) + rtpproxy<==>|firewall public
ip|==internet=== my client

Rtpproxy is configured and everything is ok, when i use UDP or TCP with srtp
there is audio and i can talk. When i switch to TLS, i can register, call
but without audio. 
In wireshark i can notice that there is no srtp 

rtpproxy starting command:
rtpproxy -l 10.99.10.249 -s udp:localhost:7890 -f -F -d DBUG

RTPPROXY log:

TCP

DBUG:handle_command: received command "1034_5 Uc8,0,119,101
73739543 at 192.168.1.101 89.216.xxx.xxx 30094 621677239;1"
INFO:handle_command: new session 73739543 at 192.168.1.101, tag 621677239;1
requested, type strong
INFO:handle_command: new session on a port 43444 created, tag 621677239;1
INFO:handle_command: pre-filling caller's address with 89.216.xxx.xxx:30094
DBUG:doreply: sending reply "1034_5 43444 10.99.10.249
"
DBUG:handle_command: received command "1036_5 Lc8 73739543 at 192.168.1.101
89.216.xxx.xxx 30002 621677239;1 1729936149;1"
INFO:handle_command: lookup on ports 43444/43910, session timer restarted
INFO:handle_command: pre-filling callee's address with 89.216.xxx.xxx:30002
DBUG:doreply: sending reply "1036_5 43910 10.99.10.249
"
INFO:rxmit_packets: callee's address filled in: 89.216.xxx.xxx:23114 (RTP)
INFO:rxmit_packets: caller's address filled in: 89.216.xxx.xxx:56143 (RTP)
DBUG:handle_command: received command "1034_6 D 73739543 at 192.168.1.101
621677239 1729936149"
INFO:handle_delete: forcefully deleting session 1 on ports 43444/43910
INFO:remove_session: RTP stats: 1334 in from callee, 1320 in from caller,
2654 relayed, 0 dropped
INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped
INFO:remove_session: session on ports 43444/43910 is cleaned up


But when i switch to TLS only:

DBUG:handle_command: received command "1403_12 Uc8,0,119,101
1989735226 at 192.168.1.101 89.216.xxx.xxx 33202 2002570248;1"
INFO:handle_command: new session 1989735226 at 192.168.1.101, tag 2002570248;1
requested, type strong
INFO:handle_command: new session on a port 49898 created, tag 2002570248;1
INFO:handle_command: pre-filling caller's address with 89.216.xxx.xxx:33202
DBUG:doreply: sending reply "1403_12 49898 10.99.10.249
"
DBUG:handle_command: received command "1402_15 Lc8 1989735226 at 192.168.1.101
89.216.xxx.xxx 34680 2002570248;1 981148695;1"
INFO:handle_command: lookup on ports 49898/56086, session timer restarted
INFO:handle_command: pre-filling callee's address with 89.216.19.52:34680
DBUG:doreply: sending reply "1402_15 56086 10.99.10.249
"
DBUG:handle_command: received command "1402_16 D 1989735226 at 192.168.1.101
2002570248 981148695"
INFO:handle_delete: forcefully deleting session 1 on ports 49898/56086
INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped
INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped
INFO:remove_session: session on ports 49898/56086 is cleaned up
DBUG:doreply: sending reply "1402_16 0

Where to look for error? Opensips configuration?




--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-TLS-and-rtpproxy-tp7587053.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list