Thanks, that helps. What variable (in Asterisk) would I modify if I
wanted to tweak one of the CALLERID fields that gets passed? Right
now, it is not passing the DID number the fax came in on, it is
always passing 's' as the NDID.
I think the key is to just not alter the DID to begin with:
exten => 5551212,1,Dial(IAX2/ttyIAX0)
The only problem here is, we are using our normal did numbers that
forward to our extensions. Asterisk detects the fax tone and sends it to
the exten => fax,1,.... extension.
instead of:
exten => s,1,Dial(IAX2/ttyIAX0)
I will try setting the caller id based on the DID number that was called
and see if that works.
If you need some kind of pattern matching, then use it, but using "s"
rewrites the DID.
Does Asterisk have a variable that keeps the original ${EXTEN} anywhere?
I tried to use the exten => fax,1,Set(CALLERID(number)=${EXTEN})
function to set the original DID number that the call came in on, but by
the time it gets to the fax, the Extension is already set to 'fax' and I
do not know the DID number that was called. I also tried to use
Set(CALLERID(number)=${FROM_DID}), but it looks like Asterisk is
detecting the fax tone and diverting the call before it even gets to the
[from-did] section of my extensions_additional.conf file.
Thanks,
James
_______________________________________________
--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