Caller ID Question

I know I have seen this before, but can’t find it when you need it…

I need to have a number of DID’s point to a single telephone. And I need the caller ID to indicate the DID rather than the CLID.

This is for a fax machine that can route faxes via email based on the incoming DID.

Anybody out there remember where I saw this?

Bill/W5WAF

" Of all the things I’ve had and lost…I miss my mind the most. "

Bill,

I think it is something like this in Extensions_custom.conf will get you started.

[from-fax-did]
exten => _X.,1,set(CALLERID(number) = ${DID})
exten => _X.,n,goto(from-trunk,${EXTEN},1)

It might work this way also:

[from-fax-did]
exten => _X.,1,set(CALLERID(number) = ${EXTEN})
exten => _X.,n,goto(from-trunk,${EXTEN},1)

Set up a custom destination in FreePBX sort of like this:

from-fax-did,${EXTEN},1

and point the DID’s to that custom destination in FreePBX.

You will have to play with this a little. I haven’t tested any of this.

I had seen this somewhare before, but didn’t need it then…but now I do.

Thanks Again

Bill

How would one set up the eventual extension?

Say the ATA that feeds the fax machine were EXT 5000 how would this be set up?

Thanks
Bill

You are right Bill, I hadn’t thought this through.

Try this in extensions_custom.conf

[from-pstn-custom]
exten => 15556667777,1,Set(CALLERID(number) = ${EXTEN})
exten => 15556668888,1,Set(CALLERID(number) = ${EXTEN})
.
.
. ; list a separate line for each fax number.

This should set the caller ID for each number listed to its DID. Then it will go on to the next context which is ext-did and your DID inbound routing will take over.