Just downloaded
http://devs.callweaver.org/1.2_snapshots/callweaver-RC-1.1.99.20080119.tar.gz
, installed on my Fedora 6 box, and tried with my Grandstream HT502
ATA attached to an old fax machine.

sip.conf:

[general]
....
context=from-sip
bindport=8000
t38udptlsupport=yes
...

;Frank's SPA-2000
[200]
type=friend
context=testfax
host=dynamic
port=5060
username=200
secret=XXXX
nat=yes
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw

extension.conf:
..

[testfax]
;extension 300 for FAX
exten => 300, 1, Goto(faxin,s,1)

When I dial 300 from my fax machine, I got

[EMAIL PROTECTED] callweaver]# callweaver -r
CallWeaver svn-1.2 SVN- http://www.callweaver.org - The True Open Source PBX
=========================================================================
Connected to CallWeaver CallWeaver svn-1.2 SVN- currently running on
vm (pid = 12074)
vm*CLI> set debug 9
Core debug was 0 and is now 9
vm*CLI> set verbose 9
Verbosity was 0 and is now 9
    -- Executing [EMAIL PROTECTED]:1] Goto("SIP/200-c539", "faxin,s,1")
    -- Goto (faxin, s, 1)
    -- Executing [EMAIL PROTECTED]:1] Set("SIP/200-c539",
"LOCALSTATIONID=Callweaver FAX")
    -- Executing [EMAIL PROTECTED]:2] Set("SIP/200-c539",
"LOCALHEADERINFO=Callewaver fax termination")
    -- Executing [EMAIL PROTECTED]:3] Set("SIP/200-c539",
"FAXFILE=/tmp/mycallweaverbox-1200853244.0.tif")
    -- Executing [EMAIL PROTECTED]:4] Set("SIP/200-c539",
"FAXFILENOEXT=/tmp/mycallweaverbox-1200853244.0")
    -- Executing [EMAIL PROTECTED]:5] Set("SIP/200-c539", "SIP_CODEC=alaw")
    -- Executing [EMAIL PROTECTED]:6] SipDTMFMode("SIP/200-c539", "inband")
    -- Executing [EMAIL PROTECTED]:7] RxFAX("SIP/200-c539",
"/tmp/mycallweaverbox-1200853244.0.tif,ecm")
Jan 20 13:20:44 NOTICE[18983824]: chan_sip.c:3506
try_suggested_sip_codec: Changing codec to 'alaw' for this call
because of ${SIP_CODEC) variable
Jan 20 13:20:44 NOTICE[18983824]: chan_sip.c:3506
try_suggested_sip_codec: Changing codec to 'alaw' for this call
because of ${SIP_CODEC) variable
Jan 20 13:20:45 NOTICE[18983824]: channel.c:1757 opbx_read: Dropping
incompatible voice frame on SIP/200-c539 of format slin since our
native format has changed to alaw
    -- Executing [EMAIL PROTECTED]:1] NoOp("SIP/200-c539", "RxFAX completed")
    -- Executing [EMAIL PROTECTED]:2] NoOp("SIP/200-c539", "RX: REMOTESTATIONID 
is ")
    -- Executing [EMAIL PROTECTED]:3] NoOp("SIP/200-c539", "RX: FAXPAGES is 0")
    -- Executing [EMAIL PROTECTED]:4] NoOp("SIP/200-c539", "RX: FAXRESOLUTION  
is 0")
    -- Executing [EMAIL PROTECTED]:5] NoOp("SIP/200-c539", "RX: FAXBITRATE is 
14400")
    -- Executing [EMAIL PROTECTED]:6] NoOp("SIP/200-c539", "RX: PHASEESTATUS is 
21")
    -- Executing [EMAIL PROTECTED]:7] NoOp("SIP/200-c539", "RX: PHASESTRING is
Received a DCN while waiting for a DIS")
vm*CLI>

fax is failed.
btw, I have spandsp-0.0.4-0.8.pre16

Thanks!
Frank
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to