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] sendfax outgoing MSN



Hi,

do you know if that is working with t38modem too?
There i have tty devices.

i tried

###########################################
case "$EMAIL" in
    Hans*)
        SetControlParam FaxNumber '+49 (20) 789xx200001'
        SetControlParam LocalIdentifier '+49 (20) 789xx200001'
        SetControlParam ModemDialCmd 'AT+IO020789xx200001\nATDT%s'
        ;;
    *)
        SetControlParam FaxNumber '+49 (20) 789xx20'
        SetControlParam LocalIdentifier '+49 (20) 789xx20'
        #SetControlParam ModemDialCmd 'AT+iO+020789xx20\nATDT%s'
        ;;
esac
###########################################

but the SetControlParam ModemDialCmd seem to make problems.

The log file say's:
###########################################
Jun 16 12:35:07.53: [ 3634]: DIAL 02036xxx9001
Jun 16 12:35:07.53: [ 3634]: <-- [20:AT+IOAT+IO020789xx200001\r]
Jun 16 12:35:07.53: [ 3634]: --> [5:ERROR]
###########################################

When i disable the SetControlParam ModemDialCmd
hylafax sends the fax.

Regards Hans
-------- Original-Nachricht --------
> Datum: Tue, 15 Jun 2010 23:53:59 +0200
> Von: Bodo Meissner <bodo@xxxxxxxxx>
> An: hylafax-users@xxxxxxxxxxx
> Betreff: Re: [hylafax-users] sendfax outgoing MSN

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am 15.06.2010 14:48, schrieb Hans Klose:
> 
> > is it possible to give sendfax the outgoing MSN so
> > that receiver see that in his display?
> 
> This depends on your ISDN card.
> If you have to use capi4hylafax IIRC this is not possible. (example: AVM
> cards)
> If your card has a TTY interface you can probably do this with JobControl.
> 
> See below my jobcontrol script for a Dialogic (Eicon) Diva Server card.
> 
> 
> Bodo
> 
> #!/bin/bash
> 
> #DEBUG=true
> DEBUG=false
> 
> $DEBUG && echo $0 $* >> /tmp/JobControl.txt
> 
> JOBID=$1
> $DEBUG && echo JOBID=$JOBID >> /tmp/JobControl.txt
> 
> ##
> ## GetJobParam <param>
> ## - returns the value of the job param
> GetJobParam ()
> {
>         grep "^$1:" sendq/q$JOBID | cut -d : -f 2-
> }
> 
> ##
> ## SetControlParam <tag> <value>
> SetControlParam ()
> {
>     echo "$1: \"$2\""
>     $DEBUG && echo "$1: \"$2\"" >> /tmp/JobControl.txt
> }
> 
> OWNER=$(GetJobParam owner)
> EMAIL=$(GetJobParam mailaddr)
> 
> ##
> ## And now client-specific settings
> 
> case "$OWNER" in
>     jxxx*|pxxx*)
>         SetControlParam FaxNumber '+48.8888.9999991'
>         SetControlParam LocalIdentifier 'Sender Name 1'
>         SetControlParam ModemDialCmd 'AT+iO9999995\nATDT%s'
>         ;;
>     *)
>         SetControlParam FaxNumber '+48.8888.9999994'
>         SetControlParam LocalIdentifier 'Sender Name 2'
>         SetControlParam ModemDialCmd 'AT+iO9999992\nATDT%s'
> esac
> true
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> 
> iEYEARECAAYFAkwX9ncACgkQnMz9fgzDSqdZ7QCgiI6jT3++64spoByTC3DMfbgZ
> IgQAmwQpQMYH4L5FjPyBff2PvKRIU+eV
> =YMen
> -----END PGP SIGNATURE-----
> 
> 
> ____________________ 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*

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


____________________ 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