[OpenSIPS-Users] RTPengine provisioning by db

Pasan Meemaduma pasandev at ymail.com
Fri Jul 6 06:18:01 EDT 2018


Hi Alain,

do you have following config lines in your opensips.cfg file which enables the fifo management interface ?

loadmodule "mi_fifo.so"

# ----- mi_fifo params -----
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")

According to the error you got it doesn't seems to exists. 
 

    On Friday, 6 July 2018, 3:27:51 PM GMT+5:30, Alain Bieuzent <alain.bieuzent at free.fr> wrote:  
 
 <!--#yiv9897128531 _filtered #yiv9897128531 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv9897128531 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv9897128531 #yiv9897128531 p.yiv9897128531MsoNormal, #yiv9897128531 li.yiv9897128531MsoNormal, #yiv9897128531 div.yiv9897128531MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Calibri", sans-serif;}#yiv9897128531 a:link, #yiv9897128531 span.yiv9897128531MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv9897128531 a:visited, #yiv9897128531 span.yiv9897128531MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv9897128531 span.yiv9897128531EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv9897128531 .yiv9897128531MsoChpDefault {font-family:"Calibri", sans-serif;} _filtered #yiv9897128531 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}#yiv9897128531 div.yiv9897128531WordSection1 {}-->
Hi all,

  

I’m trying to provionning rtpengine via mysql db, but i can’t add a new proxy via opensipctl

  

My parameters are :

  

######################################################################

#### RTPENGINE module

######################################################################

#modparam("rtpengine", "rtpengine_sock", "udp:10.207.201.19:2223 udp:10.207.201.20:2223")

i#modparam("rtpengine", "rtpengine_sock", "udp:10.207.201.20:2223")

modparam("rtpengine", "db_url", "mysql://opensips:XXXXXXXX@ZZZZZZZZZZZ/opensips_lb_did_2_4")

modparam("rtpengine", "db_table", "rtpproxy_sockets")

modparam("rtpengine", "socket_column", "rtpproxy_sock")

modparam("rtpengine", "set_column", "set_id")

  

when i run : opensipsctl fifo rtpengine_show

i received this error : 

ERROR: /tmp/opensips_fifo does not exist

ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")' in your config

ERROR: and also have loaded the mi_fifo module.

  

When i use « rtpengine_sock », it works

  

version: opensips 2.4.1 (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll, sigio_rt, select.

git revision: 5d042cffc

main.c compiled on 09:17:20 Jul  6 2018 with gcc 4.7

  

Someone can help me ?

  

thanks
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180706/e562b85e/attachment-0001.html>


More information about the Users mailing list