Page 1 of 1

Try to understand the control flow

PostPosted: Tue Sep 17, 2013 9:11 am
by urmi.l
Hello,

I m having vicidial and working fine.
VERSION: 2.4-364a | Asterisk 1.4.44 | Single Server | No Extra Software After Installation | CentOS release 5.5

We are haivng one query related to call flow. I want to know the actual flow of below call. How and which file gets executed :

1). Agent gets outbound call connected with client.
2). Agent calls other supervisor by clicking on Transfer Button => Dial with Customer.
3). Once the supervisor picks up the call, all 3 will be in conference.
4). Now, agent will hangup the call by clicking 3-way leave button.

Here, wen agent clicks on Dial with Customer, then the manager_send.php gets executed. This manager_send.php file fires Originate command to asterisk.

In vicidial.php file - line no 4241 :

{agent_dialed_type='XFER_OVERRIDE';}
// due to a bug in Asterisk, these call variables do not actually work

call_variables = '__vendor_lead_code=' + document.vicidial_form.vendor_lead_code.value + ',__lead_id=' + document.vicidial_form.lead_id.value;
[/color]


Can we set our own variable ???? If yes then how ? Please guide us.

Re: Try to understand the control flow

PostPosted: Sun Feb 02, 2014 11:05 pm
by williamconley
the note "due to a bug in asterisk these call variables do not actually work" is a bit of a challenge. what I mean by this is that it works for everyone else and is not related to asterisk.