All,<div>I'm running OpenSIPs 1.5.1. I use dialog profiling to "count" calls up. I notice that comparing my numbers to my providers using SBCs that my numbers are always MUCH higher than my provider for "simultaneous calls connected". For example, I may show 300 calls up, but they only show 75. The numbers are usually out of whack like this. The weird thing is, in very small quantities, 2-3 calls, I'm *sure* the numbers match. Also, if they stop dialing entirely and I let the calls die off, the numbers return to 0 quickly enough. </div>
<div><br></div><div>To set my dialog profile, I do it in the onreply route like this:</div><div><div> if (t_check_status("200")) {</div><div> # Set my dialogs here</div><div> if (!is_in_profile("account","$avp(s:accountid)")) {</div>
<div> set_dlg_profile("account","$avp(s:accountid)");</div><div> }</div><div> if (!is_in_profile("trunk","$avp(s:trunkid)")) {</div>
<div> set_dlg_profile("trunk","$avp(s:trunkid)");</div><div> }</div><div><br></div><div> }</div><div><br></div><div><br></div><div>Any thoughts on what I may be doing wrong? BTW, I do this in the onreply and not in the original INVITE because I'm trying to mimick the behavior of a nextone SBC which limits the number of CONNECTED calls, but doesn't limit the call setups. I think that's a silly way to do it, but if I don't match the behavior, nextone SBCs will show horrible ASRs for me as they'll continue to setup calls long after I start rejecting calls because too many are being set up.</div>
<div><br></div><div>Thoughts? Thanks!</div><div>-Brett</div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Brett</div><div><br></div></div><div><br></div><div><br></div><div>from opensips -V: @(#) $Id: main.c 5469 2009-03-18 12:43:10Z bogdan_iancu $</div>
<div><br></div><div><br></div>