Guest notes Report post Posted 05/05/2010 07:05 AM Sir Good day! How can I seperate the email "if it is english or arabic" after hang up? See my module attached, you see after the caller choose any language, then after hang up load another script, they need to go to email for arabic module?Can you fix my module for my future refernece.Thanks a lot!! Attached: AfterHangupEmail.zip Share this post Link to post
SupportTeam Report post Posted 05/05/2010 10:55 AM Please see the new AfterHangupEmail.vgs script. The script now starts at module "Lang Switch". That module goes to different Email module based on what selection caller made beforehand. AfterHangupEmail.vgs Share this post Link to post
Guest notes Report post Posted 05/05/2010 01:30 PM yes Sir sorry I forgot to start with the module Lang switch. Now I tried but still not sending email. here is the attached logs file Sir? Attached: 0505_0849_vgEngine.zip Share this post Link to post
SupportTeam Report post Posted 05/05/2010 08:52 PM vgEngine trace shows the script runs fine, and switches to the right email module, and the email send is attempted, but then your SMTP server replies with: Mailbox unavailable. The server response was: 5.7.0 Your server IP address is in the SpamHaus SBL-XBL database, bye So looks like you should try sending your emails though a different email server, or have a look at your current SMTP server to see why it is replying with this message... 172806.562 6 1 1 RunModule start Evaluate, [Lang Switch], iModuleIdx=81, previous: vgm=3, vgs=6 172806.562 6 1 1 state [Lang Switch] Evaluate [$RV[Choose Language]] 172806.562 6 1 1 rv replace start: [$RV[Choose Language]] 172806.562 6 1 1 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[scriptsPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[$RV_STARTTIME]{2553-05-05 17:27:57}[$RV_DEVICEID]{1}[DlgcVoice]{dxxxB1C1}[DlgcNetwork]{dxxxB1C1}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[scriptsPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[$RV_CIDNUMBER]{042807639}[Caller_Input]{"042807639"}[Caller]{042807639}[Choose Language]{2}[EN_Input]{"2"}[EN]{2}[Lang]{2}[Hangup Source]{Hangup Module}[CallHangupTime]{2553-05-05 17:28:06} 172806.562 6 1 1 rv replace end: [2] 172806.562 6 1 1 eval[2] 172806.562 11 db PerformWork_RunCoreSql cmd_CoreSql.ExecuteNonQuery returned 172806.562 6 1 1 CreateInstance ScriptControl objSC is: [system.__ComObject] 172806.562 6 1 1 rvns add [Lang Switch_Input]{2} 172806.562 6 1 1 rvns add [Lang Switch]{2} 172806.562 6 1 1 Eval Expr result:[2] 172806.562 6 1 1 path {2} found (at offset 27) 172806.562 6 1 1 FindNextVgmTitleInPathList: next module title is= 172806.562 6 1 1 t timer clear (force=False) 172806.562 6 1 1 RunModule start Send Email, , iModuleIdx=1, previous: vgm=81, vgs=5 172806.562 6 1 1 state Send Email 172806.562 6 1 1 rv replace start: ---------- English Caller Number : $RV_CIDNUMBER ---------- 172806.562 6 1 1 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[scriptsPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[$RV_STARTTIME]{2553-05-05 17:27:57}[$RV_DEVICEID]{1}[DlgcVoice]{dxxxB1C1}[DlgcNetwork]{dxxxB1C1}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[scriptsPath]{C:\Documents and Settings\Note 2\Desktop\Test\}[$RV_CIDNUMBER]{042807639}[Caller_Input]{"042807639"}[Caller]{042807639}[Choose Language]{2}[EN_Input]{"2"}[EN]{2}[Lang]{2}[Hangup Source]{Hangup Module}[CallHangupTime]{2553-05-05 17:28:06}[Lang Switch_Input]{2}[Lang Switch]{2} 172806.562 6 1 1 rv replace end: [English Caller Number : 042807639] 172806.562 6 1 1 rv add {kiosk@solutionsurce.ae} 172806.562 6 1 1 rv add {AR} 172806.562 6 1 1 rv add {EnglishCaller Number : 042807639} 172806.562 6 1 1 rv add {} 172806.562 6 1 1 rv add {} 172806.562 6 1 1 rv add {} 172806.562 6 1 1 email to: kiosk@solutionsurce.ae 172806.562 6 AddEmailToSend from:info@note.ae|, to:kiosk@solutionsurce.ae, cc:, bcc:, reply:info@note.ae, subj:AR, att:, usertoken:(<to>kiosk@solutionsurce.ae</to><subject>AR</subject><guid>7ae75e3f-252e-484b-84c9-df0bb2ea8a2f</guid>) smtp:mail.solutionsource.ae|25 timeout:1800sec 172806.562 6 SmtpClient created ok 172806.562 6 .Host=mail.solutionsource.ae .Port=25 .EnableSsl=False sCredentialUserName=[kiosk] 172806.562 6 SmtpClient clientEs configured ok 172806.562 6 email send start <to>kiosk@solutionsurce.ae</to><subject>AR</subject><guid>7ae75e3f-252e-484b-84c9-df0bb2ea8a2f</guid>, timeout=1800sec 172806.562 6 1 1 email queued for sending. ... 172815.046 4 email send error. <to>kiosk@solutionsurce.ae</to><subject>AR</subject><guid>7ae75e3f-252e-484b-84c9-df0bb2ea8a2f</guid> System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.0 Your server IP address is in the SpamHaus SBL-XBL database, bye at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpTransport.EndSendMail(IAsyncResult result) at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result) Share this post Link to post
Guest notes Report post Posted 05/06/2010 08:23 AM You mean Sir the only problem is the server, but the scripts is running smoothly Share this post Link to post
SupportTeam Report post Posted 05/06/2010 09:06 AM Yes. Traces show problems is with the SMTP (email) server not accepting email send requests from your IP address. Share this post Link to post