[OpenSIPS-Users] Opensips MediaProxy Integration
Saúl Ibarra Corretgé
saul at ag-projects.com
Wed Aug 10 08:58:38 CEST 2011
Hi,
On Aug 10, 2011, at 3:11 AM, Mike Tesliuk wrote:
> Hello Guys,
>
> Im trying to implement the opensips with mediaproxy to try the CDRTool application, i have start mediaproxy-relay and dispatcher
>
> tcp 0 0 204.16.XX.XX:25060 204.16.XX.XX:49684 ESTABELECIDA 14108/python
> tcp 0 0 204.16.XX.XX:49684 204.16.XX.XX:25060 ESTABELECIDA 14268/python
>
> and have i configure opensips to use mi_datagram how i see on some examples, i try to use engage_media_proxy and use_media_proxy , but i dont get
> any message on my syslog and have no audio.
>
> below the relevant part of my mediaproxy config.ini file
>
>
> [Relay]
> dispatchers = 204.16.XX.XX
> passport = None
> relay_ip = 204.16.XX.XX
> port_range = 50000:60000
> log_level = DEBUG
>
> [Dispatcher]
> management_use_tls = no
> passport = None
> log_level = DEBUG
> accounting = radius,database
>
> [TLS]
> certs_path = tls
> verify_interval = 300
>
> [Database]
> dburi = mysql://mediaproxy:_MY_PASS_@
> localhost/mediaproxy
>
> [Radius]
> config_file = /etc/opensips/radius/client.conf
> additional_dictionary = radius/dictionary
>
> [OpenSIPS]
> socket_path = /var/run/opensips/opensips.sock
> max_connections = 50
>
>
>
> and below my relevant opensips.cfg part
>
>
> modparam("mediaproxy", "disable", 1)
> modparam("mediaproxy", "mediaproxy_socket", "/var/run/mediaproxy/dispatcher.sock")
> modparam("mediaproxy", "mediaproxy_timeout", 500)
> modparam("mediaproxy", "signaling_ip_avp", "$avp(s:nat_ip)")
> modparam("mediaproxy", "media_relay_avp", "$avp(s:media_relay)")
> modparam("mi_datagram", "socket_name", "/var/run/opensips/opensips.sock")
> modparam("mi_datagram", "children_count", 4)
>
>
Did you set the nat_ip AVP? If you haven't, better remove the modparam and let mediaproxy take the source IP automatically.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
More information about the Users
mailing list