[OpenSIPS-Users] No voice, while using 3G ( OpenSIPS & RTPProxy on AWS )
Maksim Solovjov
maxim.solovjov at gmail.com
Tue Apr 15 15:31:46 CEST 2014
Hello,
I was able to install OpenSIPS and RTPProxy ( taken from here ) on
Amazon EC2, and onn the mobile side I am using PJSIP library.
I am able to make VOIP call from ios simulator <-> iphone5 and it
works well, if the iphone5 is connected to a WiFi, but if I turn off
the WiFi on the device and try to make the VOIP call using 3G, I can't
hear any voice, although the connection and the call are established (
confirmed ).
Maybe you can give me some advice or suggestions. Where should I look
for an error?
On the server side or on the mobile side??
Here is the info about the call ( 3G, without the voice ), which was
given by PJSIP:
======================================================================
Call time: 00h:05m:07s, 1st res in 6688 ms, conn in 6689ms
#0 audio speex @16kHz, sendrecv, peer=-
SRTP status: Not active Crypto-suite:
RX pt=98, last update:00h:00m:00.641s ago
total 0pkt 0B (0B +IP hdr) @avg=0bps/0bps
pkt loss=0 (0.0%), discrd=0 (0.0%), dup=0 (0.0%), reord=0 (0.0%)
(msec) min avg max last dev
loss period: 0.000 0.000 0.000 0.000 0.000
jitter : 0.000 0.000 0.000 0.000 0.000
TX pt=98, ptime=20, last update:never
total 12.8Kpkt 397.0KB (910.1KB +IP hdr) @avg=10.3Kbps/23.6Kbps
pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%)
(msec) min avg max last dev
loss period: 0.000 0.000 0.000 0.000 0.000
jitter : 0.000 0.000 0.000 0.000 0.000
RTT msec : 0.000 0.000 0.000 0.000 0.000
======================================================================
OpenSIPS doesn't give any errors, it shows that:
INFO:rtpproxy:rtpp_test: rtp proxy <udp:my_private_ip:9000> found,
support for it enabled
And here is my opensips.cfg file:
======================================================================
####### Global Parameters #########
debug=3
log_stderror=no
log_facility=LOG_LOCAL1
fork=yes
children=4
advertised_address="my_public_ip"
#debug=6
#fork=no
#log_stderror=yes
#disable_dns_blacklist=no
auto_aliases=yes
listen=udp:my_private_ip:5060
disable_tcp=no
listen=tcp:my_private_ip:5060
alias=my_public_ip:5060
alias=mydomain.com:5060
disable_tls=yes
####### Modules Section ########
#set module path
mpath="/usr/lib64/opensips/modules/"
#### SIGNALING module
loadmodule "signaling.so"
#### StateLess module
loadmodule "sl.so"
#### Transaction Module
loadmodule "tm.so"
modparam("tm", "fr_timer", 5)
modparam("tm", "fr_inv_timer", 30)
modparam("tm", "restart_fr_on_each_reply", 0)
modparam("tm", "onreply_avp_mode", 1)
#### Record Route Module
loadmodule "rr.so"
/* do not append from tag to the RR (no need for this script) */
modparam("rr", "append_fromtag", 0)
#### MAX ForWarD module
loadmodule "maxfwd.so"
#### SIP MSG OPerationS module
loadmodule "sipmsgops.so"
#### FIFO Management Interface
loadmodule "mi_fifo.so"
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
modparam("mi_fifo", "fifo_mode", 0666)
#### URI module
loadmodule "uri.so"
modparam("uri", "use_uri_table", 0)
#### USeR LOCation module
loadmodule "usrloc.so"
modparam("usrloc", "nat_bflag", "NAT")
modparam("usrloc", "db_mode", 0)
#### NAT modules
loadmodule "nathelper.so"
modparam("nathelper", "natping_interval", 10)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "received_avp", "$avp(received_nh)")
loadmodule "rtpproxy.so"
modparam("rtpproxy", "rtpproxy_sock", "udp:my_private_ip:9000") # CUSTOMIZE ME
#### REGISTRAR module
loadmodule "registrar.so"
modparam("registrar", "tcp_persistent_flag", "TCP_PERSISTENT")
#### ACCounting module
loadmodule "acc.so"
/* what special events should be accounted ? */
modparam("acc", "early_media", 0)
modparam("acc", "report_cancels", 0)
/* by default we do not adjust the direct of the sequential requests.
if you enable this parameter, be sure the enable "append_fromtag"
in "rr" module */
modparam("acc", "detect_direction", 0)
modparam("acc", "failed_transaction_flag", "ACC_FAILED")
/* account triggers (flags) */
modparam("acc", "log_flag", "ACC_DO")
modparam("acc", "log_missed_flag", "ACC_MISSED")
======================================================================
Any help will be highly appreciated!
Thank you in advance.
More information about the Users
mailing list