manual dial handling DC's

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

manual dial handling DC's

Postby dreedy » Fri Apr 21, 2023 8:47 am

Hello,

I am curious if it is possible to have a function with the Settings container to do a sip action on a disconnected number. When i look up the logs on the hangup cause report. I see that a disconnected is treated as a

Hangup cause 1
Dial Time 0
Answered Time 0
and
Sip Response 404

is it possible to use this as a vector to auto dispo all calls like this ? say a sip_event of 404 was seen in the lookup. would that be enough to auto dispo this call?
Last edited by dreedy on Tue Apr 25, 2023 7:55 am, edited 1 time in total.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: SIP EVENT ACTIONS

Postby jamiemurray » Fri Apr 21, 2023 9:31 am

SIP 404 dispos as ADC (Disconnected Number Auto) anyway by default. What are you trying to achieve?
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: SIP EVENT ACTIONS

Postby dreedy » Fri Apr 21, 2023 10:11 am

The ADC doesn't capture all the DC's. we manual dial and on DC's the call will ring for a sec and then upwards of 20 seconds later the call will bring up a small green screen with cause 1 sip 404 and the user has to click to close box and dispo the lead. I am trying to find a way to automate that so the user doesn't have to interact with that number. or take time to wait for the call to identify as a disconnected.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: SIP EVENT ACTIONS

Postby jamiemurray » Fri Apr 21, 2023 10:49 am

Ah I got ya, actually the lead will likely be dispo'd ADC by FASTagi upon receipt of the 404, but since the agent has the lead on their screen, their chosen disposition when they hangup will override it for that call.

AFAIK there's no way currently to handle these automaically unless you're on a non manual dial method.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: SIP EVENT ACTIONS

Postby dreedy » Fri Apr 21, 2023 10:54 am

even if i could get the time down to a second or two that would be great. that is why i am looking at the container setting to see if i can get the notification to go faster.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: SIP EVENT ACTIONS

Postby martinch » Fri Apr 21, 2023 11:09 am

Hey dreedy,

Not aware of such functionality in ViCiDial but sounds like a good feature. Makes manual dialling a bit more productive I guess. I would call such a feature a "hardcore" dialler feature though as it circumvents the will of the agent! lol I can take a look at proposing this feature request to the team for this if you like? It would be somewhat simple to implement.

Something like the below;

  • Campaign Option - Auto Dispo Dead Calls (Y/N)
  • Campaign Option - Auto Dispo Dispo Code (Status Code for Campaign)
  • Dialler code to perform the automatic dispositions (via JavaScript)
  • Potentially a timer (just to let the agent know what is about to happen).

Hope this helps.
Project Lead @ mDial -> https://github.com/TheBlode/mDial
martinch
 
Posts: 273
Joined: Thu Nov 15, 2018 9:14 am
Location: England, UK

Re: SIP EVENT ACTIONS

Postby jamiemurray » Fri Apr 21, 2023 11:30 am

An even simpler implementation could be to introduce a new system setting to enable or disable automatic handling of these system wide.

Around line 1357 of FastAGI_log.pl is where disconnected numbers are handled.
A check could be made to see if the feature is active and if so look to see if the call being processed was the result of a manual campaign dialed call. If this is true, set the hangup and dispo on the live agents table for that user and perhaps display some notification on their screen that it was a disconnected number.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: SIP EVENT ACTIONS

Postby dreedy » Fri Apr 21, 2023 1:17 pm

martinch.

would a disconnected number be counted as a DEAD CALL?

Would it be better to go off SIP 404 message ?

I do like having the option of disposition type and the java script taking care of the call.

As for feedback for the rep making the call instead of taking time to notify them that an action is going to take place. Maybe have a small audio sounds that indicates this was a disconnected number.

you could actually do this with busy signals also as the SIP 486 would be issues. and you could play an audio file for that action.

after the audio file plays then next lead populates.


jammiemurray.

Does the FastAGI_log.pl work also in a manual dial scenario?
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: SIP EVENT ACTIONS

Postby jamiemurray » Fri Apr 21, 2023 2:04 pm

FastAGI is called on every call hangup regardless if it's manual, auto or inbound, it's what takes care of closing out the logs out etc.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands


Return to Support

Who is online

Users browsing this forum: No registered users and 88 guests