On Tue, 2010-01-26 at 13:17 -0600, Kevin P. Fleming wrote: > Jeff Brower wrote: > > > How do you know for sure fax detection is turned off? It sounds to me like > > your changes to the dahdi config file are > > being ignored. Maybe put something in there that should cause an error or > > something clearly observable, then see > > whether that actually occurs. > > Or even easier, use 'dahdi show channel <X>' and see if faxdetect is > indeed disabled.
Hi, Thanks for the tip - I've learnt a new Asterisk command :) According to that it was already off (output at bottom). However, something (can't remember what) made me look at the wanpipe config and I discovered that in the one that worked, I had this (I'm only showing the differences here): [wanpipe1] TDMV_HW_DTMF = NO [w1g1] TDMV_ECHO_OFF = NO Whereas on the new one that wasn't working with our old fax machine, there was this: [wanpipe1] TDMV_HW_DTMF = YES TDMV_HW_FAX_DETECT = YES [w1g1] (no entry for TDMV_ECHO_OFF) I copied the wanpipe config files over from the older working server and it fixed it :) FWIW we're using these cards: http://www.voipon.co.uk/sangoma-a104de-p-328.html Cheers, Kingsley. sc-gw1*CLI> core show channels verbose Channel Context Extension Prio State Application Data CallerID Duration Accountcode BridgedTo IAX2/iaxmodem0-7025 ext-fax 1 Up AppDial (Outgoing Line) 08454632501 00:00:31 DAHDI/34-1 DAHDI/34-1 recvfax 08454632501 7 Up Dial IAX2/iaxmodem0/0845463250 1276459900 00:00:36 IAX2/iaxmodem0-7025 2 active channels 1 active call sc-gw1*CLI> dahdi show channel 34-1 Channel: 34 File Descriptor: 52 Span: 2 Extension: 08454632501 Dialing: no Context: zapinbound Caller ID: 1276459900 Calling TON: 33 Caller ID name: Destroy: 0 InAlarm: 0 Signalling Type: ISDN PRI Radio: 0 Owner: DAHDI/34-1 Real: DAHDI/34-1 Callwait: <None> Threeway: <None> Confno: -1 Propagated Conference: -1 Real in conference: 0 DSP: no Relax DTMF: yes Dialing/CallwaitCAS: 0/0 Default law: alaw Fax Handled: no Pulse phone: no Echo Cancellation: 128 taps, currently ON PRI Flags: Call PRI Logical Span: Implicit Actual Confinfo: Num/0, Mode/0x0000 Actual Confmute: Yes Hookstate (FXS only): Onhook sc-gw1*CLI> core show channel IAX2/iaxmodem0-7025 -- General -- Name: IAX2/iaxmodem0-7025 Type: IAX2 UniqueID: 1264584800.13 Caller ID: 08454632501 Caller ID Name: (N/A) DNID Digits: (N/A) State: Up (6) Rings: 0 NativeFormats: 0x8 (alaw) WriteFormat: 0x8 (alaw) ReadFormat: 0x8 (alaw) WriteTranscode: No ReadTranscode: No 1st File Descriptor: -1 Frames in: 1136 Frames out: 1 Time to Hangup: 0 Elapsed Time: 0h0m23s Direct Bridge: DAHDI/34-1 Indirect Bridge: DAHDI/34-1 -- PBX -- Context: ext-fax Extension: Priority: 1 Call Group: 0 Pickup Group: 0 Application: AppDial Data: (Outgoing Line) Blocking in: ast_waitfor_nandfds Variables: BRIDGEPEER=DAHDI/34-1 DIALEDPEERNUMBER=iaxmodem0/08454632501 FAXFILE=/var/spool/asterisk/fax/20100127093315-1276459900-08454632501 item_count=1 fax2email_from_name=Fax fax2email_dni=08454632501 fax2email_cli=441276459900 channel1=1264584795.12 destination_type_id_1=7 fax2email_from_addr=fax2em...@skycomuk.com fax2email_paper_size=a4 fax2email_format=pdf fax2email_to_addr=kings...@noodles.skymarket.co.uk recordingemailto=kingsley.t...@gmail.com recordingemailfrom= recordcall=1 dniascli=0 custid=13361 app=service_nts_nextgen_v2 CDR Variables: level 1: dst=s level 1: dcontext=default level 1: channel=IAX2/iaxmodem0-7025 level 1: start=2010-01-27 09:33:20 level 1: answer=2010-01-27 09:33:20 level 1: duration=0 level 1: billsec=0 level 1: disposition=ANSWERED level 1: amaflags=DOCUMENTATION level 1: uniqueid=1264584800.13 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users