<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
My local context included all the others context, however i know this
is not a good practice.<br>
<br>
[Local]<br>
include => ERROR<br>
include => Inter<br>
include => Voicemenu<br>
include => Call_Forward<br>
include => Outgoing<br>
include => Incoming<br>
include => Conference<br>
include => parkedcalls<br>
include => recordings<br>
<br>
<br>
Rich Adamson wrote:
<blockquote cite="midChameleon.1117293786.adar0@vegas" type="cite">
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap=""><!---->
In zapta.conf you have:
[channel]
context=Local
which sends incoming calls to the Local context.
However, your extensions.conf fax sample is in context [Incoming].
Either that is your issue, or, we'll need to see the [Local]
context.
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>