[Freeswitch-users] limit reset when transferring to same context - wiki wrong?
Royce Mitchell III
royce3 at gmail.com
Tue Jul 17 15:09:10 UTC 2018
According to this page:
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+Limit
"Note that a limit is active within a given context - if you transfer an
inbound call from the public dialplan to an extension in the default
dialplan - any limit you just set in the public dialplan will be reset."
Either I am misunderstanding something, or this statement may not be 100%
accurate for version FreeSWITCH Version
1.6.20+git~20180507T185611Z~43a9feb7f8~64bit (git 43a9feb 2018-05-07
18:56:11Z 64bit)
The following is an excerpt from the logs showing a call in the public
context getting transferred to another destination in the public context
and the limit is getting reset:
EXECUTE sofia/external/CENSORED at CE.NS.OR.ED limit(hash inbound IHCAV 2
didlimit$1)
2018-07-17 10:30:15.452366 [DEBUG] switch_limit.c:126 incr called:
inbound_IHCAV max:2, interval:0
2018-07-17 10:30:15.452366 [DEBUG] mod_hash.c:196 Usage for inbound_IHCAV
is now 1/2
EXECUTE sofia/external/CENSORED at CE.NS.OR.ED transfer(freedom2 xml public)
2018-07-17 10:30:15.452366 [DEBUG] switch_ivr.c:2165 (sofia/external/
CENSORED at CE.NS.OR.ED) State Change CS_EXECUTE -> CS_ROUTING
2018-07-17 10:30:15.452366 [DEBUG] mod_hash.c:297 Usage for inbound_IHCAV
is now 0
2018-07-17 10:30:15.452366 [NOTICE] switch_ivr.c:2172 Transfer
sofia/external/CENSORED at CE.NS.OR.ED to xml[freedom2 at public]
Am I missing something? Is there a way to keep the call in the limit count
when transferring it to the same context?
Royce Mitchell, IT Consultant
ITAS Solutions
royce3 at itas-solutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180717/32078983/attachment.html>
More information about the FreeSWITCH-users
mailing list