Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traffic grooming: max number of channels per number #23

Open
shimaore opened this issue Oct 14, 2012 · 1 comment
Open

Traffic grooming: max number of channels per number #23

shimaore opened this issue Oct 14, 2012 · 1 comment

Comments

@shimaore
Copy link
Owner

From a softswitch provisioning standpoint the API will add to a local number:

  • max_channels (integer)
  • track_in (boolean)
  • track_out (boolean)

Most probably the channel tracking will be implemented client-side, but for outbound calls the decision to cut the call will be done carrier-side (because that's where emergency call detection happens). -> New SIP header CCNQ3-Cap: true (Capacity Reached) added by client-side proxy on outbound calls. Emergency calls are not counted.

If the system that tracks number of channels [redis, most probably] is unavailable we'll keep processing calls anyway. There might be situations where the number of effective in-use channels is larger than the number of allocated channels. (Call redirects might be especially tricky to track.)

A channel is deemed occupied from the time we receive an INVITE to the time the channels is released (response > 299 to the original INVITE, or received BYE).

@shimaore
Copy link
Owner Author

In order to help a bit with stale (leaked) calls, the expiration timer on the counter should be set to the dialog's max duration.

shimaore added a commit that referenced this issue Feb 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant