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] Hylafax - Iaxmodem - send fax - Asterisk



I remember a long time ago I was editing iax.conf on Windows in Notepad and
then I uploaded the file to the Linux box and got "No Authority" and it was
driving me crazy, because there was *no problem* with the entries. After a
lot of frustration, I realized the difference was that a UNIX edited file
worked, but a Windows edited file did not - it's because Windows uses
<CR><LF> and UNIX is <LF> only - stupid noob mistake on my part. iax.conf in
my experience is really sensitive to things like whitespace and the
aforementioned <CR><LF>. You could try to clean any extraneous whitespace
and comments out of iax.conf

Can you post your complete iax.conf? Could be a global setting, too. 

-----Original Message-----
From: Joshua Nunn [mailto:jnunn@xxxxxxxxxxxx]
Sent: Friday, August 25, 2006 8:14 AM
To: Colin Anderson
Subject: Re: [hylafax-users] Hylafax - Iaxmodem - send fax - Asterisk


  It was none of these things.

  Passwords match, authentication type the same, host=dynamic in iax.conf.
All the IAXmodems are registered and function as expected for fax 2 email,
however, I get a "No Authority" trying to use the /dev/ttyIAX? devices to
send faxes out for email to fax.

  Any other ideas?

Joshua Nunn
  Network Manager
  Cypress Telecommunications
----- Original Message ----- 
From: "Colin Anderson" <ColinA@xxxxxxxxxxxxxxxxxxxxxxxxx>
To: <hylafax-users@xxxxxxxxxxx>
Sent: Thursday, August 24, 2006 4:53 PM
Subject: Re: [hylafax-users] Hylafax - Iaxmodem - send fax - Asterisk


> 4 things:
>
> 1. The password does not match
>
> 2. The authentication type does not match i.e. you have specified auth=md5
> in iax.conf when the password is passed in plaintext
>
> 3. host=dynamic or host=IP address of IAX modem, must be explicitly set
>
> 4. Typo in iax.conf, I do it all the time.
>
> -----Original Message-----
> From: Joshua Nunn [mailto:jnunn@xxxxxxxxxxxx]
> Sent: Thursday, August 24, 2006 3:29 PM
> To: hylafax-users@xxxxxxxxxxx
> Subject: Re: [hylafax-users] Hylafax - Iaxmodem - send fax - Asterisk
>
>
> IAXModem on the command line gives me this.
> =====================
> cytrex3 mercestes # iaxmodem ttyIAX0
> [2006-08-24 16:28:45] Modem started
> [2006-08-24 16:28:45] Setting device = '/dev/ttyIAX0'
> [2006-08-24 16:28:45] Setting owner = 'uucp:uucp'
> [2006-08-24 16:28:45] Setting mode = '660'
> [2006-08-24 16:28:45] Setting port = 4571
> [2006-08-24 16:28:45] Setting refresh = 300
> [2006-08-24 16:28:45] Setting server = '216.54.143.19'
> [2006-08-24 16:28:45] Setting peername = 'iaxmodem1'
> [2006-08-24 16:28:45] Setting secret = 'my_super_secret'
> [2006-08-24 16:28:45] Setting cidname = 'John Doe'
> [2006-08-24 16:28:45] Setting cidnumber = '8005551212'
> [2006-08-24 16:28:45] Setting codec = slinear
> [2006-08-24 16:28:45] Opened pty, slave device: /dev/pts/12
> [2006-08-24 16:28:45] Created /dev/ttyIAX0 symbolic link
> [2006-08-24 16:28:45] Registration completed successfully.
> ====================================
>
> IAX debug gives me this.
>
> =============================
> Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
>    Timestamp: 00003ms  SCall: 06886  DCall: 00000 [216.54.143.19:33228]
>    VERSION         : 2
>    CALLING NUMBER  : 8005551212
>    CALLING NAME    : John Doe
>    FORMAT          : 64
>    CAPABILITY      : 76
>    USERNAME        : iaxmodem4
>    CALLED NUMBER   : 2819870065
>    DNID            : 2819870065
>
> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
> REJECT
>    Timestamp: 00008ms  SCall: 00001  DCall: 06886 [216.54.143.19:33228]
>    CAUSE           : No authority found
>    CAUSE CODE      : 50
>
> Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
>    Timestamp: 00008ms  SCall: 06886  DCall: 00001 [216.54.143.19:33228]
> ====================================
>
> So I'm getting to my box and * is rejecting me on a cause 50 ("No
> Authority").
>
>   Any clues what that means??
>
> Joshua Nunn
>   Network Manager
>   Cypress Telecommunications
>  ----- Original Message ----- 
> From: "Lee Howard" <faxguy@xxxxxxxxxxxxxxxx>
> To: "Joshua Nunn" <jnunn@xxxxxxxxxxxx>
> Cc: <hylafax-users@xxxxxxxxxxx>
> Sent: Thursday, August 24, 2006 4:21 PM
> Subject: Re: [hylafax-users] Hylafax - Iaxmodem - send fax - Asterisk
>
>
> > Joshua Nunn wrote:
> >
> > >   Is there a wiki or tutorial on how to set up hylafax, Iaxmodem and
> > > Asterisk to use the hylafax sendfax command to send a fax through
> > > asterisk via the IAXmodem??
> >
> >
> > Just the documentation that comes with the source code and what's on the
> > sourceforge websites.
> >
> > >   I keep getting a no dial tone back but I have a _X. rule in my
> > > IAXmodem context in *, so I don't think it's rejecting.
> >
> >
> > Run iaxmodem from the command-line ... maybe that will reveal something
> > in the output there.  If that doesn't work, then you'll probably need to
> > turn on iax2 debugging (edit iaxmodem.c ... search for "debug"... then
> > rebuild).
> >
> > Lee.
> >
> > ____________________ 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*
> >
> >
>
>
>
> ____________________ 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*
>
> ____________________ 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*
>
>


____________________ 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