why is there alt number dialing in Fastagi and AST_VDautodia

Discussions about development of VICIDIAL and astGUIclient

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

why is there alt number dialing in Fastagi and AST_VDautodia

Postby bobbymc » Sat Apr 02, 2016 1:47 am

matt would you be so kind and shine some light on this please?

i was looking to modify the logic and i see that besides the agent interface alt number dialing is in FastAGI and AST_VDauto_dial.pl. both places seem to have simialr logic that trigger when the call is done, i like to understand why this exsists in both places?


thank you
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: why is there alt number dialing in Fastagi and AST_VDaut

Postby mflorell » Sat Apr 02, 2016 5:32 am

That's for auto-alt-dialing, so the next number can be dialed as soon as the first number is hung up as a no-answer for example. There is logic for both the standard methods of auto-alt-dialing and the MULTI_LEAD method.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: why is there alt number dialing in Fastagi and AST_VDaut

Postby bobbymc » Sun Apr 03, 2016 10:06 pm

Sorry for my newb question, where is the standard logic and non standard logic, I don't understand what area triggers what logic, when is the logic in fastagi called and when is the logic ast auto dial called ?

Thx matt
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: why is there alt number dialing in Fastagi and AST_VDaut

Postby mflorell » Mon Apr 04, 2016 5:19 am

It's a lot like how the logging works, it depends on how the end of the call is caught, and which script catches it first. They both perform the same kind of functions, but they are just triggered differently.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: why is there alt number dialing in Fastagi and AST_VDaut

Postby bobbymc » Mon Apr 04, 2016 2:47 pm

matt to keep things simple wouldnt it make most sense to just keep this in Fastagi since that always gets executed when the call hangs up? this way you dont have to maintain that logic in 2 different places ?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: why is there alt number dialing in Fastagi and AST_VDaut

Postby mflorell » Mon Apr 04, 2016 3:04 pm

Sure it would, but that would assume that Asterisk does things predictably and reliably, which it doesn't :)
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: why is there alt number dialing in Fastagi and AST_VDaut

Postby bobbymc » Mon Apr 04, 2016 3:19 pm

Thank you for the clarification Matt!
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am


Return to Development

Who is online

Users browsing this forum: No registered users and 26 guests