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