VoiceGuide IVR Software Main Page
Jump to content

Seperate Email After Hang Up

Recommended Posts

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×