Hi All,<div><br></div><div>I would like to limit number of concurrent calls to a gateway in dr_gateways table (drouting module).</div><div><br></div><div>I have looked at the tutorial on the opensips webiste (<a href="http://www.opensips.org/Resources/DocsTutConcurrentCalls">http://www.opensips.org/Resources/DocsTutConcurrentCalls</a>) and this is not the same. </div>
<div><br></div><div>I do create a dialog and then I do do_routing(). At this point I don't know:</div><div><br></div><div>1- What parameters to pass to set_dlg_profile() to increase the number of calls for whatever particular gateway do_routing happened to select?</div>
<div><br></div><div>2- How to use get_profile_size() to see if the gateway has reached it's maximum number of channels?</div><div><br></div><div>3- Where would be the best place to record and read the max number of channels available for each gateway? some place that I wouldn't need to do a db quey but I would be able to make changes while opensips is running similar to the drouting module parameters itself.</div>
<div><br></div><div><br></div><div>Any help/suggestion would be appreciated.</div><div><br></div><div>Thanks,</div><div>Ali Pey</div><div><br></div>