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] set outgoing number



Also when I set  the calling party number at call time it will not
show up in the modem communication at all as far as I can tell from
log:

Feb 28 11:55:11.19: [31013]: SESSION BEGIN 000003252 49211302033xx
Feb 28 11:55:11.19: [31013]: HylaFAX (tm) Version 4.3.1
Feb 28 11:55:11.19: [31013]: SEND FAX: JOB 758 DEST 49211302033xx
COMMID 000003252 DEVICE '/dev/ttyds01' FROM 'root <root@hylafax01>'
USER root
Feb 28 11:55:11.19: [31013]: STATE CHANGE: RUNNING -> SENDING
Feb 28 11:55:11.19: [31013]: Apply DialString rules to "49211302033xx"
Feb 28 11:55:11.19: [31013]: --> return result "49211302033xx"
Feb 28 11:55:11.19: [31013]: <-- [10:AT+FBOR=0\r]
Feb 28 11:55:11.19: [31013]: --> [2:OK]
Feb 28 11:55:11.19: [31013]: <-- [13:AT+FPHCTO=30\r]
Feb 28 11:55:11.19: [31013]: --> [5:ERROR]
Feb 28 11:55:11.19: [31013]: MODEM Command error
Feb 28 11:55:11.19: [31013]: <-- [10:AT+FBUG=1\r]
Feb 28 11:55:11.20: [31013]: --> [2:OK]
Feb 28 11:55:11.20: [31013]: <-- [24:AT+FDCC=7,5,2,2,0,2,0,0\r]
Feb 28 11:55:11.20: [31013]: --> [2:OK]
Feb 28 11:55:11.21: [31013]: DIAL 49211302033xx
Feb 28 11:55:11.21: [31013]: <-- [18:ATDT49211302033xx\r]
Feb 28 11:55:12.69: [31013]: --> [10:NO CARRIER]
Feb 28 11:55:12.69: [31013]: SEND FAILED: JOB 758 DEST 49211302033xx
ERR No carrier detected [..]

When I take a look at the q File I find Parameters "faxnumber", "tsi"
and "fromlocation" all containing the calling party number. But none
of those appearantly invoke transmission of the number by hylafax ??

Moritz



On 2/28/07, Moritz Winterberg <winterberg@xxxxxxxxxx> wrote:
In the meantime I discovered that the Eicon Diva PRI card I'm using
needs command "AT+IO" followed by the calling party number to be set.

Would anybody no where to insert these kinds of AT commands in the
call setup procedure ?

Thanks
Moritz

On 2/28/07, Moritz Winterberg <winterberg@xxxxxxxxxx> wrote:
> Hi Lee,
>
> thanks again. Unfortunately this does not seem to work for me. I tried
> setting faxnumber
> through JPARM command in my perl client and I can see it beeing set
> inside the q file.
>
> Nevertheless its not shown as calling party number on the called side ??
>
> Moritz
>
>
>
> On 2/27/07, Lee Howard <faxguy@xxxxxxxxxxxxxxxx> wrote:
> > I'm sorry.  My earlier mail was a bit incorrect... it is the sendfax -u
> > option and not -W.  Anyway here is the client interaction you should see:
> >
> > -> JPARM FAXNUMBER "5551212"
> > 213 FAXNUMBER set to "5551212".
> >
> > Lee.
> >
> >
> > Moritz Winterberg wrote:
> >
> > > Sorry, my last mail got truncated somehow..
> > >
> > > I'll take a look at ModemSetOriginCmd as you suggested.
> > > Since I'm using a perl client, is this somehow reflected insinde the
> > > qfile or available as JPARM command ?
> > >
> > > Moritz
> > >
> > > On 2/26/07, Lee Howard <faxguy@xxxxxxxxxxxxxxxx> wrote:
> > >
> > >> Moritz Winterberg wrote:
> > >>
> > >> > Could anybody tell me how to set the senders phone number ? Is this
> > >> > possible at all with an
> > >> > "analog modem" setup ?
> > >>
> > >>
> > >> Assuming that the sender's phone number will not change then you can
> > >> just use:
> > >>
> > >>   ModemResetCmds:  AT+iO<number>
> > >>
> > >> If the sender's phone number will change based on the job owner then you
> > >> can use JobControl to modify:
> > >>
> > >>   ModemDialCmd:  "AT+iO<number>\nATDT%s"
> > >>
> > >> If the sender's client software needs to be able to specify the sender's
> > >> phone number (as the number may vary with the same job owner) then you
> > >> could do it with various custom job id tricks and JobControl, or in
> > >> HylaFAX+ there is a modem config option:
> > >>
> > >>   ModemSetOriginCmd:  AT+iO%d
> > >>
> > >> that can be used to allow the client (like sendfax) to submit the
> > >> sender's number (sendfax -W <number>) and for it to be invoked when
> > >> sending.
> > >>
> > >> Lee.
> > >>
> > >
> >
> >
>
>
> --
> --
>  Moritz Winterberg - winterberg@xxxxxxxxxx
>  Telefon: +49 (0)211-63 55 55-36
>  Telefax: +49 (0)211-63 55 55-22
>
>  indigo networks GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
>  HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
>  Steuernummer: 133/5838/1589, Umsatzsteuer-ID: DE219349391
>
>  www.sipgate.de - www.sipgate.at - www.sipgate.co.uk
>


-- -- Moritz Winterberg - winterberg@xxxxxxxxxx Telefon: +49 (0)211-63 55 55-36 Telefax: +49 (0)211-63 55 55-22

 indigo networks GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
 HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
 Steuernummer: 133/5838/1589, Umsatzsteuer-ID: DE219349391

www.sipgate.de - www.sipgate.at - www.sipgate.co.uk



--
--
Moritz Winterberg - winterberg@xxxxxxxxxx
Telefon: +49 (0)211-63 55 55-36
Telefax: +49 (0)211-63 55 55-22

indigo networks GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 133/5838/1589, Umsatzsteuer-ID: DE219349391

www.sipgate.de - www.sipgate.at - www.sipgate.co.uk

____________________ 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