[Asterisk-Users] (no subject)

Cullen Simpson cullen at compucrew.com
Tue Feb 3 16:16:04 MST 2004


I am a new asterisk user and I love what I see so far.
I have a question about distinctive ring though.
In my situation, we have 1 phone number for voice calls and one for faxes.
They share the same line, and right now I use vgetty with mgetty+sendfax and
VOCP to deal with calls and faxes.
Vgetty detects the ring type and answers the phone with a hayes modem in fax
mode and calls a script that I use to process the faxes. If it is a voice call
then vgetty hands it over to vocp.

I am replacing the vocp part of the process with asterisk, but I still need to
be able to get faxes on the line.

I need to have asterisk ignore the call if it has the fax ring and let vgetty
deal with it. Of course, I also need vgetty to ignore the voice ring. I know
how to do this in vgetty, but I am a little confused in asterisk.

I found the stuff in zapata.conf and made the following changes:

usedistinctiveringdetection=yes
dring1=96,0,0
dring1context=inbound-analog
dring2=336,95,0
dring2context=ignore-fax
dring3=336,96,0
dring3context=ignore-fax
dring4=338,98,0
dring4context=ignore-fax

I have several ring types specified for the fax as it seemed that I got
different ring patterns from time to time.
Anyway, I put the inbound-analog and ignore-fax as contexts in my
extensions.conf file. For the ignore-fax context I put the following hoping it
would work, but it just answers the phone normally.
[ignore-fax]
exten => s,1,NoOp                       ; Ignore this one

Any info/pokes in the right direction are greatly appreciated.

Thanks,
Cullen


--
Cullen Simpson
CompuCrew Inc.
Tel: (407)349-2373
Cel: (407)721-8014
Fax: (407)349-2710
cullen at compucrew.com



More information about the asterisk-users mailing list