[Asterisk-Users] fax detect DID variable

Lee Howard
Thu, 26 Jan 2006 13:02:18 -0000

James Armstrong wrote:

> Has anyone been able to get the original DID number when a fax comes
> in and is detected using the Zap fax detect?


In your incoming call context where fax calls come in you need to Set
some user variable to ${EXTEN} before the dialplan continues, because
once the fax is detected it will get changed.

Then, in your Dial (to IAXmodem or whatever) use the user variable that
was used with Set instead of ${EXTEN}.

Lee.