Re: AT chars in dial string

Christo Labuschagne <[email protected]> Fri, 17 Nov 2017 14:42:12 +0200
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <CALPXzFgJFcFpVbs0H6ogOJbCD=z=WX3nEKMse8S4mJDWv2ywYg@mail.gmail.com>
Thanx for the tip Lee!  Did some digging in dial rules and got it working.
Basically I replaced it with a know number string if the sequence was
present like '000000000' and then as the last rule put it back if
'000000000' was present.

Works like a charm!

On Thu, Nov 9, 2017 at 4:50 PM, Lee Howard <[email protected]> wrote:

> On 11/09/2017 04:04 AM, Christo Labuschagne wrote:
>
>> Good day
>>
>> Using a class 1 modem.  The standard AT command for dialing is ATDT%s.
>> This is not changed in the config file.  In some cases, depending on the
>> number, I would like to add a W to the dial string to ask the modem to wait
>> for a dial tone and in some case not.  This would make the dial command
>> ATDTW%s. I cannot add it to the number as the default dial rules change it
>> to a 9, and then there are checks to make sure the number is only digits.
>>
>> Is there any way around this?
>>
>
> Since it depends on the number, add the W in dialrules.  Add a line at the
> end something like this:
>
> DialString := [
> ......
> 234567890 = W234567890
> ]
>
> This should allow the checks you mention to be implemented but, after
> those checks are done, to add the W when needed.
>
> Thanks,
>
> Lee.
>