[asterisk-users] fax standard extension and Playback
Olivier
oza-4h07 at myamail.com
Thu Nov 5 04:34:20 CST 2009
Hi,
I would like to implement (with Asterisk 1.6) something like this :
- when you answer a call and a fax is detected by Asterisk, the other party
is forwarded to ReceiveFax application and a pre-recorded message "You are
receiving an incoming fax" is played to the receiving party.
Using fax standard extension, I can handle the first part (forwarding caller
to ReceiveFax app) but I don't know how to play a message to callee.
A suggestion ?
My first idea was to add an h standard extension block along fax standard
extension but as the called party receives both voice and fax calls, I don't
really how I could specifically fax calls within h standard extension block
:
context incoming-calls {
_XXXX => {
Dial (....);
}
catch fax {
... ReceiveFax();
}
catch h {
... if (fax comes in) {
Playback();
}
}
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091105/678c58c6/attachment.htm
More information about the asterisk-users
mailing list