[OpenSIPS-Users] Media Proxy /Opensips

Muhammad Shahzad shaheryarkh at gmail.com
Sat Feb 9 02:41:31 CET 2013


I am not sure why you are getting trouble in having more then 100 calls on
opensips service with media proxy. I need opensips and media proxy logs to
check whats happening. Perhaps the error is somewhere else.

Anyways, here are the steps to setup second media proxy,

1. Install media proxy on second server.
2. In /etc/mediaproxy/config.ini set your dispatcher ip address (where
opensips + first media proxy is running) under Relay section, e.g.

[Relay]
dispatchers = <opensips-ip>

3. Shutdown media-dispatcher on second machine (its useless anyway) and
restart media-relay (on second machine).

4. Check syslogs on second machine, if everything is ok then you will see
message like,

debug: Connected to dispatcher at x.x.x.x:p

Where x.x.x.x and p are ip and port of your opensips server.

5. You only need to secure dispatcher (running on opensips). The relay uses
its on encrypted / secure communication protocol to connect to dispatcher,
so no need to worry about its security. You only make sure open RTP port
range you specify in config.ini for media relay.

Thank you.


On Sat, Feb 9, 2013 at 12:56 AM, M. KHaled W. Chehab <kchehab at icucall.com>wrote:

>
> Sorry i I have more than 600 to 1000 call What about limit.conf should i
> edit it.
> 2-please can you show me a sample on how to add the second mediaproxy to
> opensips.conf  as i will have the same media proxy config with differnt ip
> address on the second server
> 3-how to protect the  mediaproxy relay to donot be used from others,is
> that can be done by  config  or just by  firewall
>
> Thanks in advance
>
> Sent from my android device.
>
>
>
> -----Original Message-----
> From: Muhammad Shahzad <shaheryarkh at gmail.com>
> To: "M.Khaled W Chehab" <kchehab at icucall.com>
> Cc: Muhammad Shahzad <shaheryarkh at googlemail.com>,
> users at lists.opensips.org, users-bounces at lists.opensips.org
> Sent: Sat, 09 Feb 2013 12:47 AM
> Subject: Re: Media Proxy /Opensips
>
> Are you sure, 500 Internal Server Error is caused by media proxy? Can you
> show some media proxy logs indicating this problem?
>
> Secondly load balancing media proxy is simple, just install media relay on
> another machine and point it media dispatcher running on opensips machine.
>
> Thank you.
>
>
> On Fri, Feb 8, 2013 at 11:27 PM, M.Khaled W Chehab <kchehab at icucall.com>wrote:
>
>> Hi,****
>>
>> ** **
>>
>> I cant  find  more than 100 connected call on my server even I have aleot
>> of attempts most of calls ends with 500 internal error ****
>>
>> My server is 16 GB with 24 core processor ,****
>>
>> I didn’t edit /etc/security/limits.conf ****
>>
>> ** **
>>
>> **1-      **What config I can do to have more than 600 connected calls
>> on the system ****
>>
>> **2-      **If I install a mediaproxy in another server ,how can I
>> configure opensips  to make a loadbalance between the  mediaproxy that
>> installed on the same server and the new one ?****
>>
>> ** **
>>
>> As I understand from the config that max_connections = 10 is not related
>> to the max number of calls unless  you can control it by limiting the port
>> range and can how to let it  print the error only in a file ****
>>
>> ** **
>>
>> Sorry for my nested question but I want to be sure that everything is
>> going fine  ****
>>
>>  #<domain>      <type>  <item>         <value>****
>>
>> #****
>>
>> ** **
>>
>> #*               soft    core            0****
>>
>> #root            hard    core            100000****
>>
>> #*               hard    rss             10000****
>>
>> #@student        hard    nproc           20****
>>
>> #@faculty        soft    nproc           20****
>>
>> #@faculty        hard    nproc           50****
>>
>> #ftp             hard    nproc           0****
>>
>> #ftp             -       chroot          /ftp****
>>
>


-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130209/1bcdeafc/attachment-0001.htm>


More information about the Users mailing list