Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

v15 REPORT_URL

Discussion in '3CX Phone System - General' started by benratty, Aug 15, 2016.

Thread Status:
Not open for further replies.
  1. benratty

    Joined:
    May 23, 2011
    Messages:
    74
    Likes Received:
    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.
     
  2. teldotnet

    Joined:
    May 22, 2009
    Messages:
    75
    Likes Received:
    0
    did you find an answer to this as we are having same issue

    thanks

    Brian
     
  3. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    7,326
    Likes Received:
    532
    An external link to download reports will be added to SP2. For now the link is only internal
     
  4. TSlocum

    TSlocum New Member

    Joined:
    Oct 15, 2013
    Messages:
    225
    Likes Received:
    15
    That's funny because all my reports use the external link, which I don't want.
     
  5. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    170
    In sp2 you will have the internal and the external in the email.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. TSlocum

    TSlocum New Member

    Joined:
    Oct 15, 2013
    Messages:
    225
    Likes Received:
    15
    I've got SP2 and there is only one link - for the external url.
     
  7. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    170
    clear cache..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. TSlocum

    TSlocum New Member

    Joined:
    Oct 15, 2013
    Messages:
    225
    Likes Received:
    15
    It has been.
     
  9. MichaelB

    MichaelB Member
    3CX Support

    Joined:
    Aug 25, 2009
    Messages:
    407
    Likes Received:
    8
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. TSlocum

    TSlocum New Member

    Joined:
    Oct 15, 2013
    Messages:
    225
    Likes Received:
    15
    This fixed it. Turns out it was only one location with a messed up template.
     
Thread Status:
Not open for further replies.