I have an asterisk solution for voice lines and everything is working fine, now I need to setup fax lines also.
I installed iaxmodems and hylafax.
Configured IAXmodem, config.IAX file for hylafax and faxgetty in inittab.
In asterisk created an IAX extension, configured DID etc...
I now can send/recieve faxes, the problem is when I'm receiving a fax if I try to send another one the line keeps calling instead of giving the busy signal.
Is there any way to change this so when the Iaxmodem is busy receiving or sending a fax the extension stays busy until the job in iaxmodem is done?
Sorry if my English is not clear enough, any info u might need, just ask.
Thanks in advance.
MJS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem was that I have in my extensions.conf in asterisk this:
; Extensions with no Voicemail box reporting BUSY come here
exten => s-BUSY,1,NoOp(Extension is reporting BUSY and not passing to Voicemail)
exten => s-BUSY,n,GotoIf($[${LEN(${BLINDTRANSFER})} > 0]?blindtr,1) ; check if blindtransfer
exten => s-BUSY,n,Playtones(busy)
exten => s-BUSY,n,Busy(20)
And when I call the faxnumber while a fax line was in use, the phone keeps ringing like the extension was free.
After some fight with asterisk and iax, I've found the solution, witch is:
; Extensions with no Voicemail box reporting BUSY come here
exten => s-BUSY,1,NoOp(Extension is reporting BUSY and not passing to Voicemail)
exten => s-BUSY,n,GotoIf($[${LEN(${BLINDTRANSFER})} > 0]?blindtr,1)
exten => s-BUSY,n,Playtones(busy)
exten => s-BUSY,n,Hangup ; <--- Solution here!
exten => s-BUSY,n,Busy(20)
Tks any way :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi readers,
I have an asterisk solution for voice lines and everything is working fine, now I need to setup fax lines also.
I installed iaxmodems and hylafax.
Configured IAXmodem, config.IAX file for hylafax and faxgetty in inittab.
In asterisk created an IAX extension, configured DID etc...
I now can send/recieve faxes, the problem is when I'm receiving a fax if I try to send another one the line keeps calling instead of giving the busy signal.
Is there any way to change this so when the Iaxmodem is busy receiving or sending a fax the extension stays busy until the job in iaxmodem is done?
Sorry if my English is not clear enough, any info u might need, just ask.
Thanks in advance.
MJS
I'm having a difficult time visualizing how this is happening.
If HylaFAX is receiving a fax on the only iaxmodem then it will not attempt to send a fax on that iaxmodem until the receiving is done first.
Hi Lee,
The problem was that I have in my extensions.conf in asterisk this:
; Extensions with no Voicemail box reporting BUSY come here
exten => s-BUSY,1,NoOp(Extension is reporting BUSY and not passing to Voicemail)
exten => s-BUSY,n,GotoIf($[${LEN(${BLINDTRANSFER})} > 0]?blindtr,1) ; check if blindtransfer
exten => s-BUSY,n,Playtones(busy)
exten => s-BUSY,n,Busy(20)
And when I call the faxnumber while a fax line was in use, the phone keeps ringing like the extension was free.
After some fight with asterisk and iax, I've found the solution, witch is:
; Extensions with no Voicemail box reporting BUSY come here
exten => s-BUSY,1,NoOp(Extension is reporting BUSY and not passing to Voicemail)
exten => s-BUSY,n,GotoIf($[${LEN(${BLINDTRANSFER})} > 0]?blindtr,1)
exten => s-BUSY,n,Playtones(busy)
exten => s-BUSY,n,Hangup ; <--- Solution here!
exten => s-BUSY,n,Busy(20)
Tks any way :)