by Noah » Tue Feb 08, 2011 7:55 pm
Scenario:
WebAgent front ends a call, asks called party if they would like to hear a pitch of products/services, yes-> blind transfer to survey, then options to press 9,1,2, etc. (Survey, optin, optout)
Problem:
Blind Transfer(or any xfer) to 8366 from the agent web app causes Dead AGI to occur on transfer to 8366.
Attempted Solution
Custom plan:
exten => 2223,1,AGI(agi-VDAD_ALL_outbound.agi,SURVEY-----LB-----85100017-----19-----9-----85100018-----US_thanks_no_contact-----CAMPREC-----60-----WAV-----DNC)
exten => 2223,2,AGI(agi-VDAD_ALL_outbound.agi,SURVEY-----LB-----85100018-----CAMPREC-----60-----WAV-----DNC)
exten => 2223,3,Hangup
Will play first message
Will play second message if OptIN
Will allow for Optout or Optin Key press
Will NOT engage camprec_60_wav function
SurveyCamp would be a good option in this case however when transferring to the custom extension calling the SurveyCamp the function, vdadcampaign is required to function correctly. I NoOP'd the $VDADcampaign var, but I don't believe this variable is traversing or is not visible to the Asterisk CLI, because the variable name just displays in the asterisk CLI "$VDADcampaign"
[exten => 2223,3,NoOp($VDADcampaign); was the code used to NoOP the variable] based on the mysql query ending with "FROM vicidial_campaigns where campaign_id='$VDADcampaign';" in the SURVEYCAMP section of agi-VDAD_ALL_outbound.agi
Engaging fucntion SurveyCamp does not seem to keep AGI alive. Probably because the projectid is not being passed on the transfer.
Any help or direction would be appreciated.
Vicibox unknown, but is from .iso |VERSION: 2.4-256 BUILD: 100523-0840 | Asterisk 1.4.27.1-vici| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation