Hello,
I've run into a situation where I want to throttle the number concurrent calls proxied by Kamailio based upon the SIP Server through which they are intended to go to the end point.
The network diagram is somewhat like -
UACs (n) -------> Kamailio (on public IP) ------ > SIP Servers (m) (on public IPs) ------------> UACs or TerminationsGateways
So basically, n UACs registered to m SIP Servers via Kamailio (working as a proxy). And now I want to put the limitation on all the concurrent calls going to different SIP Servers. Say for an example, only 100 concurrent calls could be setup for SIP Server 'a' , 50 for SIP Server 'b' so on and so forth. I tried checking the different modules but could not find any clue as to how to achieve this through configuration.
Now, I can try tweaking a tad of the code to send '403 Forbidden' message from receive.c (although I am not sure whether this is the correct place to do something like this..)
I'd be grateful if somebody can throw light on how to achieve this. Please can someone help on this.
Rahul MathuR writes:
So basically, n UACs registered to m SIP Servers via Kamailio (working as a proxy). And now I want to put the limitation on all the concurrent calls going to different SIP Servers. Say for an example, only 100 concurrent calls could be setup for SIP Server 'a' , 50 for SIP Server 'b' so on and so forth. I tried checking the different modules but could not find any clue as to how to achieve this through configuration.
Now, I can try tweaking a tad of the code to send '403 Forbidden' message from receive.c (although I am not sure whether this is the correct place to do something like this..)
I'd be grateful if somebody can throw light on how to achieve this. Please can someone help on this.
i don't use myself dialog module, but check if it has capability to limit number of concurrent calls.
if not, i know that you can do it with sems sbc using its call control module.
-- juha
dialog module can be used for limiting number of active calls -- read about profiles in dialog module readme.
Cheers, Daniel
On 14/05/14 20:37, Juha Heinanen wrote:
Rahul MathuR writes:
So basically, n UACs registered to m SIP Servers via Kamailio (working as a proxy). And now I want to put the limitation on all the concurrent calls going to different SIP Servers. Say for an example, only 100 concurrent calls could be setup for SIP Server 'a' , 50 for SIP Server 'b' so on and so forth. I tried checking the different modules but could not find any clue as to how to achieve this through configuration.
Now, I can try tweaking a tad of the code to send '403 Forbidden' message from receive.c (although I am not sure whether this is the correct place to do something like this..)
I'd be grateful if somebody can throw light on how to achieve this. Please can someone help on this.
i don't use myself dialog module, but check if it has capability to limit number of concurrent calls.
if not, i know that you can do it with sems sbc using its call control module.
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Thanks Juha & Daniel for the quick reply !
But is there any example which shows how can I create the dialog profile value based on the SIP domain or SIP Server IP (IP like- 112.23.134.5). I need to control many SIP Server IPs with limited channels to each with my Kamailio Proxy.
On Wed, May 14, 2014 at 7:55 PM, Daniel-Constantin Mierla <miconda@gmail.com
wrote:
dialog module can be used for limiting number of active calls -- read about profiles in dialog module readme.
Cheers, Daniel
On 14/05/14 20:37, Juha Heinanen wrote:
Rahul MathuR writes:
So basically, n UACs registered to m SIP Servers via Kamailio (working
as a proxy). And now I want to put the limitation on all the concurrent calls going to different SIP Servers. Say for an example, only 100 concurrent calls could be setup for SIP Server 'a' , 50 for SIP Server 'b' so on and so forth. I tried checking the different modules but could not find any clue as to how to achieve this through configuration.
Now, I can try tweaking a tad of the code to send '403 Forbidden' message from receive.c (although I am not sure whether this is the correct place to do something like this..)
I'd be grateful if somebody can throw light on how to achieve this. Please can someone help on this.
i don't use myself dialog module, but check if it has capability to limit number of concurrent calls.
if not, i know that you can do it with sems sbc using its call control module.
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Hello,
Could somebody please help me out, I am a newbie to kamailio world !
Thanking you in anticipation ...
On Thu, May 15, 2014 at 1:52 PM, Rahul MathuR rahul.ultimate@gmail.comwrote:
Thanks Juha & Daniel for the quick reply !
But is there any example which shows how can I create the dialog profile value based on the SIP domain or SIP Server IP (IP like- 112.23.134.5). I need to control many SIP Server IPs with limited channels to each with my Kamailio Proxy.
On Wed, May 14, 2014 at 7:55 PM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
dialog module can be used for limiting number of active calls -- read about profiles in dialog module readme.
Cheers, Daniel
On 14/05/14 20:37, Juha Heinanen wrote:
Rahul MathuR writes:
So basically, n UACs registered to m SIP Servers via Kamailio (working
as a proxy). And now I want to put the limitation on all the concurrent calls going to different SIP Servers. Say for an example, only 100 concurrent calls could be setup for SIP Server 'a' , 50 for SIP Server 'b' so on and so forth. I tried checking the different modules but could not find any clue as to how to achieve this through configuration.
Now, I can try tweaking a tad of the code to send '403 Forbidden' message from receive.c (although I am not sure whether this is the correct place to do something like this..)
I'd be grateful if somebody can throw light on how to achieve this. Please can someone help on this.
i don't use myself dialog module, but check if it has capability to limit number of concurrent calls.
if not, i know that you can do it with sems sbc using its call control module.
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Warm Regds. MathuRahul