limit reset when transferring to same context - wiki wrong?
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@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@CE.NS.OR.ED transfer(freedom2 xml public) 2018-07-17 10:30:15.452366 [DEBUG] switch_ivr.c:2165 (sofia/external/ CENSORED@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@CE.NS.OR.ED to xml[freedom2@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@itas-solutions.com
Would depend which leg the limit is on.
On Jul 17, 2018, at 11:09 AM, Royce Mitchell III <royce3@gmail.com> wrote:
According to this page:
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+Limit <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@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@CE.NS.OR.ED transfer(freedom2 xml public) 2018-07-17 10:30:15.452366 [DEBUG] switch_ivr.c:2165 (sofia/external/CENSORED@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@CE.NS.OR.ED to xml[freedom2@public]
Am I missing something? Is there a way to keep the call in the limit count when transferring it to the same context?
participants (2)
-
Michael Jerris
-
Royce Mitchell III