[Freeswitch-users] Limit_Hash

Matt Riddell lists at venturevoip.com
Wed Sep 16 03:40:15 PDT 2009


Hi,

Didn't see this one come through before when I posted it, so sending it 
again - apologies if it did come through.

I've moved this discussion to users as it seems my query is moving in 
that direction :)

So, upon looking at limit_hash, it appears to do what I need to do.

My question then becomes, how do I set a hash for an originated call?

It seems that limit_hash is an application rather than a channel 
variable, and so far I've been doing most things without touching the 
dialplan.

So, say I want to originate 9 calls, 3 from 3 customers.

I would like to mark the calls with my_customer_group_1 through 3, and 
then use the limit_hash_usage command to verify the count of channels in 
each group.

I therefore have a few questions:

1. Can I mark a call in the originate statement?

2. How do I use the limit_hash_usage command?

The wiki states:

You can verify the usage of any resource with the limit_hash_usage api call.

limit_hash_usage <realm> <id>

Is realm the same as a SIP realm?

Is id the hash that I have used to mark the call with?

Just making sure :)

-- 
Cheers,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)





More information about the FreeSWITCH-users mailing list