[asterisk-users] iaxmodem + hylafax w/ DID routing
Edwin Lam
edwin.lam at officegeneral.com
Fri Apr 4 19:55:37 CDT 2008
hi folks.
i'm experimenting with iaxmodem + hylafax using DID to determine
where to send the fax to it's final destination. however i have
difficulties passing the DID information from iaxmodem to
hylafax.
in extensions.conf:
exten => _XXXX,1,Dial(IAX2/iaxmodem0/${EXTEN}|20|r)
exten => _XXXX,n,Dial(IAX2/iaxmodem1/${EXTEN}|20|r)
exten => _XXXX,n,Busy
exten => _XXXX,n,Hangup
in FaxDispatch:
FILETYPE=pdf
case "$CALLID4" in
1000)
SENDTO=addr1 at sample.com
1001)
SENDTO=addr2 at sample.com
*)
SENDTO=blackhole at sample.com
esac
according to some documentations i've found $CALLID4
should have the DID info. but in fact it's blank.
any idea?
--
Edwin Lam <edwin.lam at officegeneral.com>
Systems Engineer, Office General, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20
More information about the asterisk-users
mailing list