v15 REPORT_URL

Status
Not open for further replies.

benratty

Forum User
Joined
May 23, 2011
Messages
77
Reaction score
0
I am having a problem with reports from version 15, the link in the email has local IP of the PBX so when users at remote site try to download the report from the emailed link it does not work.

I have had a look at the parameters and cannot see where the URL for %%REPORT_URL%% in the email template is set. Which URL needs to be changed to make this work?

All the links in the parameters are set to the internal IP of the PBX, when It set it up it was with a 3cx.co.uk domain.
 
did you find an answer to this as we are having same issue

thanks

Brian
 
An external link to download reports will be added to SP2. For now the link is only internal
 
That's funny because all my reports use the external link, which I don't want.
 
In sp2 you will have the internal and the external in the email.
 
I've got SP2 and there is only one link - for the external url.
 
clear cache..
 
Go to Email Templates, edit your custom Reports Template and compare with the one I have below,

Code:
<html>
<head>
<meta charset="utf-8">
<style>
	body{
		font-family: Arial, Helvetica, sans-serif;
		margin: 0 auto;
		width: 662px;	
		font-size:14px;
	}
</style>
<title>Call Reports Email</title>
</head>
<body>
<div style="text-align:center">
<table style="margin:0 auto;width:662px;max-width:662px; height:auto;min-height:200px;text-align:left;">
  <tbody>
    <tr>
      <td><img src="http://www.3cx.com/Mailers/2015/images/3cxPhonesystem-Image1.png" alt="3CX Call Reports Notification"/></td>
    </tr>
    <tr>
	<tr>
		<td style="border:1px solid #c3c3cb; padding: 2px;">
			<p style="color: #404041; ">
			<strong>Subject:</strong> &nbsp; 3CX Phone System - %%REPORT_NAME%%
			</p>
		</td>
	</tr>
     <td style="border:1px solid #c3c3cb; padding: 10px;">
		<div id="header" style="width:100%; position:relative; height:auto;" >
		<p style="color: #404041; ">
				Your call report - %%REPORT_NAME%% is ready for download.<br>
				Click the download button below.<br><br>
					<a href="%%REPORT_URL1%%" target="_blank"><img src="http://www.3cx.com/wp-content/uploads/2015/05/btn_download-blue.jpg" style="display:block;margin:0 auto;"/></a>
		</p>
		<p style="color: #404041; ">
				Report can also be downloaded from <a href="%%REPORT_URL2%%" target="_blank"> here </a>.
		</p>
			%%REPORT_LIMIT_REACHED_START%%
                          <br>  
			 <p style="color: red; font-size:12; ">
			* Report not generated in full because query contains too many records.
			</p>
			%%REPORT_LIMIT_REACHED_END%%
			
		</div>
      </td> 
    </tr>
   <tr style="height:15px"><td></td></tr>
    <tr style="height:100px">
      <td style="background-color: #333333; border-bottom: 10px solid #0197d6; margin-top: 15px; ">
		  <table style="width:100%"><tr><td style="width:70%"><span style="font-size: 12px; padding: 30px 6px; text-align: justify; color:#e7e7f0;">Sent by 3CX Phone System</span></td>
		  <td style="width:30%;text-align:right;padding-top:5px;padding-right:38px;"><img src="http://www.3cx.com/Mailers/2015/images/logoBottom.png" alt="3CX"/>
		  </td></tr></table>
      </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>

Update yours important part is the following,
Code:
Report can also be downloaded from <a href="%%REPORT_URL2%%" target="_blank"> here </a>.

Or you can go via custom param find default one and compare with yours.
Thanks
 
This fixed it. Turns out it was only one location with a messed up template.
 
Status
Not open for further replies.

Forum statistics

Threads
111,852
Messages
589,384
Members
164,690
Latest member
rick.yamamoto