[Asterisk-Users] Fax and SIP Device

Seong bear akhng999 at gmail.com
Sat May 28 08:09:47 MST 2005


A DID number was dedicated to receive fax, but i have the problem when 
getting fax call,
which call will become a normal phone call and no fax was printed. When 
fax is detected,
the fax extension is executed and dial the extension of the HT486 device 
(firmware 1.0.5.22).
Somehow sending fax out working well. In the mailing lists, i notice 
some are using HT286 and it work.
Could someone share theirs experience and give some help?

                E1
PSTN ----------> Asterisk (TE100P) --------> HT486 ----> Fax machine

zapata.conf
[channel]
context=Local
switchtype=euroisdn
signalling=pri_cpe
rxwink=300 
callwaiting=yes
usecallingpres=yes;
callwaitingcallerid=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
echotraining=400
rxgain=0.0
txgain=0.0
immediate=no
faxdetect=both
musiconhold=default

extension.conf
[Incoming]
exten => 8003,1,Answer
exten => 8003,2,Wait(5)
exten => 8003,3,Macro(dial-sip,1300,${LONGTIMEOUT})
exten => fax,1,Dial(SIP/1300,30)
exten => fax,2,Congestion
exten => fax,102,Congestion

sip.conf
[1300]
type=friend
host=dynamic
username=xxx
secret=xxx
nat=yes
context=Local
canreinvite=no
disallow=all
allow=ulaw
allow=alaw

On the other hand, i was tired with getting the same error when 
compiling rxfax/txfax.
spandsp-0.0.2pre18 and spandsp-0.0.1

gcc -O2 -g  -Iinclude -I../include -c -o  app_rxfax.o app_rxfax.c
app_rxfax.c: In function `phase_e_handler':
app_rxfax.c:77: error: structure has no member named `callerid'
make[1]: *** [app_rxfax.o] Error 1

Best Regards
Khng




More information about the asterisk-users mailing list