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
If you had DID, everyone would have their own fax number - a lot easier for the fax sender to use than worrying about an extension.
DID gives you the last 4 digits of the number dialed.
Every fax machine can be different, but most have an option to pause in dialing a number - my point was that this is not terribly reliable, as call times can be inconsistent and is complicated for the sender.
-----Original Message-----
From: Lukasz Szybalski [mailto:szybalski@xxxxxxxxx]
Sent: Thursday, August 07, 2008 4:32 PM
To: Siri Vias Khalsa
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] DTMF routing
On Thu, Aug 7, 2008 at 4:56 PM, Siri Vias Khalsa
<sirivias.khalsa@xxxxxxxxxx> wrote:
> You could use DID service from the phone company, not too expensive if it is available -
Doesn't DID give you only the phone number they dialed? I think I have
that already? Not sure how this would give you the extra 4 digits.
> 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.
Have you tested this with any fax? Do fax machines wait before dialing
the ext 4 digits after you click send?
>
> 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.
We use Intertel? I wonder if it has that kind of option?
Lucas
>
> 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*
>
>
>
>
--
Where was my car manufactured?
http://cars.lucasmanual.com/vin
TurboGears Manual-Howto
http://lucasmanual.com/pdf/TurboGears-Manual-Howto.pdf
____________________ 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*