<div>Hi,</div>
<div> </div>
<div>I have set up a fax to email capability on our Asterisk Server (which is used for voicemail, and fax2email only),</div>
<div>and would like to improve it !</div>
<div> </div>
<div>Everytime Asterisk receives a fax, I would like it to go and search in a DB if the Extension is defined.</div>
<div>If it is, then it will set the Email address where to send the fax.</div>
<div> </div>
<div>And actually, it would be the same for voicemail,</div>
<div>Our users have different extensions. And we want them to have only one Mailbox.</div>
<div>Thus we can configure the primary extension as the main voicemail number,</div>
<div>but we need to have all the secondaries extension to be sent to the primary one.</div>
<div>Thus I would like to seach into a DB,</div>
<div>if such a secondary extension exists, it sends back the primary extension, </div>
<div>so we can route the call to the appropriate mailbox ( primary )</div>
<div> </div>
<div>I would like to use Asterisk + MySQL Realtime.</div>
<div>I have set up in "res_mysql.conf" the way to access MySQL</div>
<div>I have set up in "extconfig.conf" :</div>
<div> fax2email => mysql,asteriskrealtime,fax2email</div>
<div>And hen in my DB :</div>
<div> DB Name = asteriskrealtime</div>
<div> Table Name = fax2email</div>
<div> </div>