In this example faxdetect is overwriting the DID.
So the trick then would be to somewhere early-on in your dialplan grab
the DID into some variable, and then restore it after the fax detection
occurs...
[default]
exten => _X.,1, SetVar(ORIGEXTEN=${EXTEN})
exten => s,2,Wait(3)
.....
exten => fax,1,Dial(IAX2/ttyIAX0/${ORIGEXTEN})
Lee.
I am having no luck here. It seems the fax detection is overriding
everything. I added the above and it never gets called. I guess it might
be time to look at the Asterisk code and see if I can create another
variable before the redirect happens.
-- Starting simple switch on 'Zap/1-1'
-- Redirecting Zap/1-1 to fax extension
-- Executing Dial("Zap/1-1", "IAX2/999/|20") in new stack
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
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