Koozali.org: home of the SME Server

Fax going to invalid link?

Offline compsos

  • *
  • 472
  • +0/-0
Fax going to invalid link?
« on: August 06, 2009, 02:46:50 AM »
Hi
We have some faxes getting through but most hit a wall in the agi with the extension variable invalid. Any ideas why this is so?

Fax is defined as ext 5010 on TDM422 Card to an external modem into hylafax. The ext answers fine internally. Have recreated the ports and a fax has come through but the next one was back to invalid extension.

asterisk-1.4.25.1-78.el4
sail-2.3.2-9
dahdi-linux-kmdl-2.6.9-78.0.22.ELsmp-2.1.0.4-60.el4
dahdi-tools-2.1.0.2-59.el4
dahdi-linux-2.1.0.4-60.el4
kernel 2.6.9-78.0.22.ELsmp

Code: [Select]
Spawn extension (mainmenu, ÿ, 0) exited non-zero on 'DAHDI/2-1'
    -- Sent into invalid extension 'ÿ' in context 'mainmenu' on DAHDI/2-1
extensions.conf
Code: [Select]
        exten => fax,1,GoToIf($["$FAX" = ""]?3:2)     ;no FAX defined - hangup
        exten => fax,2,GoTo(extensions,${FAX},1)
        exten => fax,3,Playtones(congestion)

Asterisk messages.log
Code: [Select]
[Aug  6 09:41:49] NOTICE[23091] chan_dahdi.c: Fax detected, but no fax extension
[Aug  6 09:41:51] NOTICE[23174] chan_dahdi.c: Got event 18 (Ring Begin)...
[Aug  6 09:41:51] NOTICE[23174] chan_dahdi.c: Got event 2 (Ring/Answered)...
[Aug  6 09:41:51] NOTICE[23174] chan_dahdi.c: Got event 18 (Ring Begin)...
[Aug  6 09:43:04] NOTICE[24222] cdr.c: CDR simple logging enabled.
Regards

Gordon............

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Fax going to invalid link?
« Reply #1 on: August 10, 2009, 01:50:54 AM »
Please send your extensions.conf and /home/e-smith/db/selintra to

admin@aelintra.com

thanks

S

Offline compsos

  • *
  • 472
  • +0/-0
Re: Fax going to invalid link?
« Reply #2 on: August 10, 2009, 02:25:41 AM »
Thanks S
Email sent
Regards

Gordon............