This is what I try to do:
exten => _XX.,1,SetVar(NUMBER=${EXTEN}) ;save the number they dialled
exten => _XX.,2,Answer() ; answer to check if it is a fax
exten => _XX.,3,Dial(IAX2/[EMAIL PROTECTED]/${NUMBER}) ; if it's NOT a fax dial via IAX
exten => fax,1,Dial(Zap/g1/${NUMBER}) ; if it IS a fax, dial via ISDNIn my situation it does not work, no call is forwarded to the fax extension.
Many thanks,
Marc
Kristof Hardy wrote:
Eugenio De Vena wrote:
I have QuadBRI and asterisk 1.0.6 bristuffed but fax reception works ugly.
My faxes are missing many
rasters and even sending does not work well. Can you tell me with version of
asterisk , spandsp, app_sndfax etc
you use to have a good result?
I have used bristuff-0.2.0-RC7k (as on junghanns.net ). This downloads v1.0.6 of asterisk, zaptel and libpri.
I'm not doing fax-detection, I'm using DID to dedicate 1 number to fax receiving. Os is Debian Sarge.
Let me know if it works out now ;)
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
