Hi all,<br><br>I configured outbound fax in Asterisk 10 and the version I&#39;m using is 10.4.3. Most of time when user tries to send an outbound fax (using call file), the fax is either fails or success but in few cases it doesn&#39;t stores the status record in cdr. As I checked those cases  in asterisk cli I&#39;m getting these responses listed below;<br>
<br>[Oct 22 16:35:26] VERBOSE[28332] pbx_spool.c:     -- Attempting call on SIP/9437463434374334@MasterProxy for s@fax-send:1 (Retry 1)<br>[Oct 22 16:35:26] VERBOSE[28332] netsock2.c:   == Using SIP RTP CoS mark 5<br>[Oct 22 16:35:26] NOTICE[28332] pbx_spool.c: Call failed to go through, reason (1) Hangup<br>
[Oct 22 16:36:26] VERBOSE[28335] pbx_spool.c:     -- Attempting call on SIP/9437463434374334@MasterProxy for s@fax-send:1 (Retry 2)<br>[Oct 22 16:36:26] VERBOSE[28335] netsock2.c:   == Using SIP RTP CoS mark 5<br>[Oct 22 16:36:26] NOTICE[28335] pbx_spool.c: Call failed to go through, reason (1) Hangup<br>
[Oct 22 16:37:26] VERBOSE[28336] pbx_spool.c:     -- Attempting call on SIP/9437463434374334@MasterProxy for s@fax-send:1 (Retry 3)<br>[Oct 22 16:37:26] VERBOSE[28336] netsock2.c:   == Using SIP RTP CoS mark 5<br>[Oct 22 16:37:26] NOTICE[28336] pbx_spool.c: Call failed to go through, reason (1) Hangup<br>
[Oct 22 16:37:26] NOTICE[28336] pbx_spool.c: Queued call to SIP/9437463434374334@MasterProxy expired without completion after 2 attempts<br><br><br>As for testing I used invalid number and took SIP traces it gave ISDN code 3 (No route to destination) with SIP code 404.<br>
<br>My question is, how can I store this type of information in cdr? Even I enabled noanswer = yes in cdr, it doesn&#39;t store the destination number or any other information which I required it most, in it and insert the data in cdr 3 times i.e. after each Retry up to 3.<br>
<br>Listing down my dialplan;<br><br>[fax-send]<br><br>exten =&gt; s,1,NoOp(**** Send a FAX ****)<br> same =&gt; n,Set(filename=${FAXFILE})<br> same =&gt; n,Set(LOCALHEADERINFO=${FAXHEADER})<br> same =&gt; n,Set(LOCALSTATIONID=${LOCALID})<br>
 same =&gt; n,NoOp(Dial Status Result : ${DIALSTATUS})<br> same =&gt; n,Set(notify=NOTIFY)<br> same =&gt; n,SendFAX(${FAXFILE})<br><br><br> exten =&gt; h,1,NoOp(FAX Pages : ${FAXPAGES})<br> same =&gt; n,NoOp(FAX Bit Rate : ${FAXBITRATE})<br>
 same =&gt; n,NoOp(Remote ID Station: ${REMOTESTATIONID})<br> same =&gt; n,NoOp(FAXOPT Resolution : ${FAXRESOLUTION})<br> same =&gt; n,NoOp(FAX Status : ${FAXSTATUS})<br> same =&gt; n,NoOp(FAX Error : ${FAXERROR})<br> same =&gt; n,Set(CDR(fax_status)=${FAXSTATUS})<br>
 same =&gt; n,Set(CDR(fax_error)=${FAXERROR})<br> same =&gt; n,Set(CDR(fax_pages)=${FAXPAGES})<br> same =&gt; n,Set(CDR(image_id)=${Image_ID})<br> same =&gt; n,Set(CDR(calling_num)=${LOCALID})<br> same =&gt; n,Set(CDR(called_num)=${DESTINATION})<br>
 same =&gt; n,Set(AGISIGHUP=no)<br> same =&gt; n,AGI(<a href="http://faxnotify.pl">faxnotify.pl</a>, ${notify},${EMAIL},${DESTINATION},${TIMESTAMP},${FAXSTATUS},${FAXPAGES},${filename},${FAXERROR})<br clear="all"><br><br>
Listing down the call file;<br><br>Channel: SIP/9437463434374334@MasterProxy<br>MaxRetries: 2<br>RetryTime: 60<br>WaitTime: 60<br>Archive: yes<br>Context: fax-send<br>Extension: s<br>Priority: 1<br>Set: FAXFILE=/tmp/faxfolder/e0f620da-b5d1-4f99-9d3d-2fa59c4233a5.tif<br>
Set: FAXHEADER=IQOR FAX<br>Set: LOCALID=6096337395<br>Set: DESTINATION=9437463434374334<br>Set: EMAIL=<a href="mailto:Ahmed.Chohan@abcd.com">Ahmed.Chohan@abcd.com</a><br>Set: TIMESTAMP=2012-10-22 16:58:13<br>Set: Image_ID=e0f620da-b5d1-4f99-9d3d-2fa59c4233a5<br>
<br><br><br>Please advise at earliest.<br><br><br><br>-- <br>Regards,<br><br>Ahmed Munir Chohan<br><br><br>