[Asterisk-Users] Fax and SIP Device

Seong bear akhng999 at gmail.com
Sat May 28 19:39:36 MST 2005


My local context included all the others context, however i know this is 
not a good practice.

[Local]
include => ERROR
include => Inter
include => Voicemenu
include => Call_Forward
include => Outgoing
include => Incoming
include => Conference
include => parkedcalls
include => recordings


Rich Adamson wrote:

>>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
>>
>>    
>>
>
>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
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050528/e2f6844b/attachment.htm


More information about the asterisk-users mailing list