[OpenSIPS-Users] Opensips MediaProxy Integration
Barsan Liviu
barsanl at yahoo.com
Wed Aug 10 09:00:57 CEST 2011
Hi,
And use only one of engage_media_proxy and use_media_proxy, preferable use_media_proxy.
Regards,
Liviu
>________________________________
>From: Saúl Ibarra Corretgé <saul at ag-projects.com>
>To: OpenSIPS users mailling list <users at lists.opensips.org>
>Sent: Wednesday, August 10, 2011 9:58 AM
>Subject: Re: [OpenSIPS-Users] Opensips MediaProxy Integration
>
>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
>
>
>
>
>_______________________________________________
>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/20110810/a9454d62/attachment-0001.htm>
More information about the Users
mailing list