[asterisk-users] reduce delay in fax detection

Tech Support asterisk at voipbusiness.us
Thu May 21 11:12:50 CDT 2015


Hey;

    We built a pretty extensive fax server and part of what it does is check to see how many fax sessions we currently have. We  use that to determine how many new fax sessions we are able to start sending.  

Regards;

JV

 

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of s m
Sent: Thursday, May 21, 2015 12:21 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] reduce delay in fax detection

 

hello and thank you so much for your reply

just one question: how do you use it? AFAIK, when asterisk receive a call, it select extensions based on the received number and when it detects fax, jump to the fax extension. now when should i use these show commands to detect fax and how should i tell asterisk to execute fax extension?

this is a big problem for me, so i really appreciate if you help me to solve it.

yours,

SAM

 

On Wed, May 20, 2015 at 7:11 PM, Tech Support <asterisk at voipbusiness.us> wrote:

Hey;

    Yes, I’ve also seen that 5 second delay with our fax server and it drove me crazy. How I solved it was by doing a “core show channels <concise|verbose>” and detect if there was a fax transmission going on.  Doing it this way shows up instantaneously without any delay. Like so:

 

mte6*CLI> core show channels concise

SIP/SIPRoutes-00000054!faxserver-tx!fax!11!Up!SendFAX!/var/spool/asterisk/fax/documents/faxadmin/default.tif,dfz!!voipbusiness!!3!4!(None)!1432132315.97

 

mte6*CLI> core show channels verbose 

Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo           

SIP/SIPRoutes-000000 faxserver-tx         fax                11 Up      SendFAX      /var/spool/asterisk/fax/d                 00:00:10 voipbusines             (None)   

1 active channel

1 active call

62 calls processed

 

mte6*CLI> core show channels 

Channel              Location             State   Application(Data)             

SIP/SIPRoutes-000000 fax at faxserver-tx:11  Up      SendFAX(/var/spool/asterisk/fa

1 active channel

1 active call

62 calls processed

 

 

All of these outputs shows that there is a fax transmission taking place. I hope this helps.

Regards;

JV

 

 

 

 

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of s m
Sent: Wednesday, May 20, 2015 2:54 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] reduce delay in fax detection

 

hello everybody

i want to send fax via asterisk in pass through mode. everything is ok if enable fax detection in ooh323 and write fax extension in extensions.conf file. just one problem: delay. i have to wait 5 seconds in order to fax detection done. it is too long for me when i have voice call and no fax. my phone rings after five seconds. is there any way to omit or reduce this time? i test and understand that sip fax detection acts in some milliseconds but oohs323 needs 5 seconds to do that. what is difference between them?

any comments or hints are really appreciated.

SAM   


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150521/4aa8b3a3/attachment.html>


More information about the asterisk-users mailing list