All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by vkad » Wed May 23, 2018 3:54 pm
I just realised today that we were spending $10-$20 a day on calls that were lasting nearly 10-20 hours.
I don't know why that is happening, but I want to set a cap of 3600 seconds on call duration....How can I do that?
Thanks
Vicibox 8.0.1 (Asterisk 13.21.0-vici) + Remote WebRTC Agents
Version: 2.14b0.5 | SVN: 2990 | DB Version: 1548
1 x DB + Web + Dialer - E3 1270 v6 + 16gb ddr4 + 256gb SSD
2 x Additional Dialer - E3 1270 v6 + 8gb ddr4 + 256gb SSD
-
vkad
-
- Posts: 208
- Joined: Thu Nov 09, 2017 3:46 am
by blackbird2306 » Wed May 23, 2018 5:34 pm
There is a TIMEOUT(absolute) function in asterisk, which you can use in your dialplan to limit the duration of all calls.
Try something like this (add 2nd. line) only as an example:
- Code: Select all
exten => _91999NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91999NXXXXXX,2,Set(TIMEOUT(absolute)=3600)
exten => _91999NXXXXXX,3,Dial(${TESTSIPTRUNK}/${EXTEN:2},,To)
exten => _91999NXXXXXX,4,Hangup
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
-
blackbird2306
-
- Posts: 409
- Joined: Mon Jun 23, 2014 5:31 pm
Return to Support
Who is online
Users browsing this forum: No registered users and 89 guests