Yes Giovanni..
Of course it was referred to Internal Dispatcher of mediaproxy and not to the kamailio module.
On Kamailio i have configured the socket here
modparam("mediaproxy", "mediaproxy_socket",
"/var/run/mediaproxy/dispatcher.sock")
modparam("mediaproxy", "mediaproxy_timeout", 500)
and over the mediaproxy config.ini here..
[Dispatcher]
; Local socket on which to communicate with OpenSIPS. The OpenSIPS
mediaproxy
; module should be configured to connect to this socket. If a
relative path,
; /var/run/mediaproxy will be prepended. Default value is
dispatcher.sock.
;
socket_path = dispatcher.sock
In the filesystem the socket is correct..
vm-test:/etc/kamailio# ls -l /var/run/mediaproxy/dispatcher.sock
srw-rw-rw- 1 root root 0 Jul 24 09:28
/var/run/mediaproxy/dispatcher.sock
-giovanniYou can find the Kamailio parameter to tweak here:(you were referring to mediaproxy internal dispatcher, I had understood dispatcher module).
http://kamailio.org/docs/modules/4.4.x/modules/mediaproxy.html#idp27686148
On 2 November 2016 at 12:58, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
-giovanniYou better start from Kamailio config file, and modify it as needed.Eg, a lot of confusion here.Dispatcher has nothing to do with mediaproxy.Also, you probably do not have configured the correct paths for socket (fifo, etc?) in it.Dear Laura,you probably are trying to use a config file made for OpenSIPS on Kamailio.
--
On 2 November 2016 at 12:27, Laura <red_dra@plugit.net> wrote:
Dear support,
on my Kamailio server (version: kamailio 4.3.6 (x86_64/linux) ) i see
lot of these messages..
Nov 2 11:24:42 vm-test media-dispatcher[25540]: error: cannot write
request to `/var/run/opensips/socket': No such file or directory
Nov 2 11:24:42 vm-test media-dispatcher[25540]: error: failed to end
dialog: Cannot send request to OpenSIPS
I have only configured Disptachet (mediaproxy) for write on db..
Any idea ?
Thanks
Laura
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-user s
--
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users