Hi
Kamailio - 1.5.0 MediaProxy - 2.3.8 CentOS 5.2 - 2.6.18-92.el5PAE
My kamailio is running on *192.168.X.Y*
** *Here is my /etc/mediaproxy/config.ini* ------------------------------------------------- ; Configuration file for MediaProxy ;
[Relay] dispatchers = 192.168.X.Y relay_ip = <public ip> port_range = 8000:10000 log_level = DEBUG stream_timeout = 90
[Dispatcher] socket = /var/run/mediaproxy/dispatcher.sock listen = 192.168.X.Y listen_management = 192.168.X.Y log_level = DEBUG
[TLS] certs_path = tls verify_interval = 300
[OpenSIPS] max_connections = 100
===========================================================
Start media-dispatcher / media-relay # media-dispatcher --no-fork # media-relay --no-fork
When I see log it show dispatcher to relay and relay to dispatcher connected..
But when I call 101 to 102 it gives me error, as show below
*Media Dispatcher error*
error: No suitable relay found
*Media Relay error*
warning: Cannot use port pair 8684/8685 warning: Cannot use port pair 8686/8687
Hello,
if you just need a solution for nat traversal, then check as well the nathelper module plus rtpproxy. The default config for kamailio 1.5.x has support for this one -- it is in comments, read at the top of file for instructions how to enable it, practically is running a sed command.
Cheers, Daniel
On 12/30/09 2:18 PM, Chandrakant Solanki wrote:
Hi
Kamailio - 1.5.0 MediaProxy - 2.3.8 CentOS 5.2 - 2.6.18-92.el5PAE
My kamailio is running on *192.168.X.Y*
*Here is my /etc/mediaproxy/config.ini*
; Configuration file for MediaProxy ;
[Relay] dispatchers = 192.168.X.Y relay_ip = <public ip> port_range = 8000:10000 log_level = DEBUG stream_timeout = 90
[Dispatcher] socket = /var/run/mediaproxy/dispatcher.sock listen = 192.168.X.Y listen_management = 192.168.X.Y log_level = DEBUG
[TLS] certs_path = tls verify_interval = 300
[OpenSIPS] max_connections = 100
===========================================================
Start media-dispatcher / media-relay # media-dispatcher --no-fork # media-relay --no-fork
When I see log it show dispatcher to relay and relay to dispatcher connected..
But when I call 101 to 102 it gives me error, as show below
*Media Dispatcher error*
error: No suitable relay found
*Media Relay error*
warning: Cannot use port pair 8684/8685 warning: Cannot use port pair 8686/8687
-- Regards,
Chandrakant Solanki
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Chandrakant Solanki writes:
But when I call 101 to 102 it gives me error, as show below
*Media Dispatcher error*
error: No suitable relay found
*Media Relay error*
warning: Cannot use port pair 8684/8685 warning: Cannot use port pair 8686/8687
for some reason relay cannot use those ports and fails. i don't know why. perhaps they are already in use by somebody else.
anyway, this is not a kamailio related problem. ask mediaproxy mailing list.
-- juha