Media Proxy /Opensips

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Media Proxy /Opensips

M.Khaled W Chehab

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

#@student        -       maxlogins       4

 

# End of file

Best regards

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : +961 1 515155 ext 300

Mobile  : +961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Media Proxy /Opensips

shaheryarkh
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 <[hidden email]> 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

#@student        -       maxlogins       4

 

# End of file

Best regards

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : +961 1 515155 ext 300

Mobile  : +961 3 045212

E-mail    : [hidden email]

MSN ID :[hidden email]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Media Proxy /Opensips

M.Khaled W Chehab


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 <[hidden email]>
To: "M.Khaled W Chehab" <[hidden email]>
Cc: Muhammad Shahzad <[hidden email]>, [hidden email], [hidden email]
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 <[hidden email]> 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


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Media Proxy /Opensips

shaheryarkh
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 <[hidden email]> 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 <[hidden email]>
To: "M.Khaled W Chehab" <[hidden email]>
Cc: Muhammad Shahzad <[hidden email]>, [hidden email], [hidden email]
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 <[hidden email]> 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: [hidden email]
Email: [hidden email]
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users