Page 1 of 1

why is there alt number dialing in Fastagi and AST_VDautodia

PostPosted: Sat Apr 02, 2016 1:47 am
by bobbymc
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

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

PostPosted: Sat Apr 02, 2016 5:32 am
by mflorell
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.

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

PostPosted: Sun Apr 03, 2016 10:06 pm
by bobbymc
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

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

PostPosted: Mon Apr 04, 2016 5:19 am
by mflorell
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.

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

PostPosted: Mon Apr 04, 2016 2:47 pm
by bobbymc
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 ?

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

PostPosted: Mon Apr 04, 2016 3:04 pm
by mflorell
Sure it would, but that would assume that Asterisk does things predictably and reliably, which it doesn't :)

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

PostPosted: Mon Apr 04, 2016 3:19 pm
by bobbymc
Thank you for the clarification Matt!