HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] HylaFAX 4.3.0: Destination numbers trimmed at #; simple dialrules in use



I'm trying to send a fax to a destination extension which is reachable only when dialing a string including a delay, a menu selection and a pound sign. To simulate this in my test environment (working in conjunction with an Asterisk-based phone server), I do the following:

sendfax -d "8696,,4#" test.pdf

I'm using a stripped down dialrules which is intended to pass everything to the modem fairly close to verbatim:

=== BEGIN DIALRULES
WS="    "
CanonicalNumber := [
%.*                     =
[^+0-9]+                =
]
DialString := [
[-${WS}.]+              =
]
=== END DIALRULES

However, the pound sign isn't passed in to the modem -- or even, apparently, to faxsend:

FaxSend[5815]: SEND FAX: JOB 137 DEST 8696,,4 COMMID 000000318 <etc etc>

...and the comm log, again, confirms that this is the case:

Aug 28 16:26:12.26: [ 5815]: <-- [12:ATDT8696,,4\r]

To further observe this behavior, I tried the following:
sendfax -d "8696,,4#1234" test.pdf
The phone number was interpreted as "8696,,4", implying that the pound sign is being treated as a beginning-of-comment character somewhere, causing all remaining characters to be discarded.


Can this behavior be prevented?


____________________ 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*




Project hosted by iFAX Solutions