HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] DTMF routing
You could use DID service from the phone company, not too expensive if it is available - here they charge us $5 for a block of 20 number per month. If this is an option, it generally works out the best.
If not, the sender has to dial the number, wait for it to be answered and then type in the extension with no voice prompting them to do so, and then hit "send." From an automated sender you could use a couple of commas to pause until the phone is answered, but that amount of time is not usually consistent.
A third option would be to use a PBX - an autoattendant to prompt for the extension, then transfer the number as a DID call to the hylafax modem. Can be inexpensive if you have a PBX with the capacity and capability already.
Given the choice, I would recommend the first option.
-Siri Vias
-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Tomas Novosad
Sent: Thursday, August 07, 2008 11:30 AM
To: Lukasz Szybalski
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] DTMF routing
Hello,
so your phone number is "1312 123 123"
after dialing this, the fax sender has to dial another 4 numbers 0001 - 9999.
I believe, these number should be passed to faxrecvd script together with phone number - actually as a part of the number.
If it is not, then modem should be set to give these numbers, but how achieve that, i do not know ;-(
Have a good luck
Tomas
------------ Původní zpráva ------------
Od: Lukasz Szybalski <szybalski@xxxxxxxxx>
Předmět: Re: [hylafax-users] DTMF routing
Datum: 07.8.2008 15:37:56
----------------------------------------
Thanks,
That solved partial problem. With the settings you specified here I
would need 65 phone numbers to accommodate everybody.
What I'm looking for is sending fax to the same fax number but adding
somebody's extension and route the fax that way.
1312 123 123 ext. 0001 .... up to ext 9999
How can this be done?
Lucas
On Thu, Aug 7, 2008 at 1:57 AM, Tomas Novosad <kbbl@xxxxxxxx> wrote:
> Hello,
>
> routing to eamils is done by faxrvd script, which includes "etc/FaxDispatch"
file
> FaxDispatch is used to set recepients of the email
> simple FaxDIspatch can look like this
>
> SENDTO=FaxMaster; # by default email to
FaxMaster
> FILETYPE=pdf; # in PDF format
> TEMPLATE=cz;
> case "$RECVNUMBER" in
> *978) SENDTO=user1@localhost;;
> *979) SENDTO=user2@localhost;;
> *) SENDTO=FaxMaster;;
> esac
>
> Problem is how to get the correct value into $RECVNUMBER
>
> When fax is received by faxgetty, faxgetty executes bin/faxrcvd command (or
wahtever is configured as FaxRcvdCmd in config file) giving him some parameters.
> for FaxRcvdCmd config paremeter see man hylafax-config
> for faxrcvd se man faxrcvd
>
> one of these parameters is the destination phone number
> on one of our systems the faxrcvd is called like this (this line is in session
log in /var/spool/hylafax/log directory)
> RECV FAX: bin/faxrcvd "recvq/fax000000041.tif" "ttyds01" "000000086" ""
"0776993200;776993398" "0776993200;776993398"
> the last "0776993200;776993398" is the calling and the called phone number
> this values ara available in faxrcvd as $CALLID2, so if you do
>
> case "$CALLID2" in
> *978) SENDTO=user1@localhost;;
> *979) SENDTO=user2@localhost;;
> *) SENDTO=FaxMaster;;
> esac
>
> the faxes should be routed appropriately to called number
>
> However the format of $CALLIDn variables can vary depending on modem
>
> Some modems do not show calling and called phone numbers by default. To do so,
you have to explicitly ask for it.
> This ca be done by adding 'ModemResetCmds: "AT#CID=15" ' to modem
config file (etc/config.modem name)
> This line says then whenever modem is initiated (virtualy every time it is
used), it is set to present caller ID in a formated string.
> Consult "AT#CID" modem command somewhere on the web.
>
> Hope this helps
> Have a nice day
>
> Tomas Novosad
>
>
>
>
> ------------ Původní zpráva ------------
> Od: Lukasz Szybalski <szybalski@xxxxxxxxx>
> Předmět: [hylafax-users] DTMF routing
> Datum: 07.8.2008 05:48:04
> ----------------------------------------
> Hello,
> I have hylafax running on 3 phone numbers with about 4 lines per phone number.
>
> I would like to setup one of the numbers and support DID/DTMF routing
> so that each user can receive faxes to their email.
>
> For example:
> if my phone # is 312 123 1234, If somebody sends a fax to 312 123 1234
> 0001 then the fax would go to user1
> 312 123 1234 0002 user2
> 312 123 1234 0003 user3
>
> I guess DTMF routing to be exact needs to be implemented? Could you
> describe how will that work?
>
> Is the phone number dialed as 1312-123-1234 0001 or 1-312-123-1234
> then I need to setup "something?" and then user presses 0001 for
> persons extension #?
>
> How does this work with hylafax?
>
> Thanks,
> Lucas
>
>
> ____________________ HylaFAX(tm) Users Mailing List _______________________
> To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
> On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
> *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*
>
>
>
>
>
> Tomáš Novosad
> mailto:kbbl@xxxxxxxx
> jabber:kbbl@xxxxxxxxx
> +420737309887
> # rm -rf /*
>
--
Where was my car manufactured?
http://cars.lucasmanual.com/vin
TurboGears Manual-Howto
http://lucasmanual.com/pdf/TurboGears-Manual-Howto.pdf
Tomáš Novosad
mailto:kbbl@xxxxxxxx
jabber:kbbl@xxxxxxxxx
+420737309887
# rm -rf /*
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*