DISA in and then choose your caller ID - is this possible?

freepbx
Tags: #<Tag:0x00007f4f43bf8d50>

(Hey Brodes) #1

Hi, I have 4 DID’s. One of them is used as a DISA number. How can I DISA into the system and then choose what out going caller ID (DID) I wish to use?

Thanks for looking.


(Communication Technologies) #2

I think you would need to make something custom, but it would be pretty straightforward.
Answer the call
Collect the caller ID would like to use
Collect the number you want to dial
Set the caller ID using the collected digits
Call out using the collected digits

Something like:
exten => s,1,GotoIf($["${CHANNEL(state)}" = “Up”]?begin)
exten => s,n,Answer
exten => s,n(begin),Read(CID,custom/yourmessagehere,10,n,1,7)
exten => s,n,Set(CALLERID(num)=${CID})
exten => s,n,Read(CALLOUT,custom/yourmessagehere,10,n,1,7)
exten => s,n,Goto(from-internal,${CALLOUT},1)
exten => s,n,Hangup()


(Lorne Gaetz) #3

You can do this with dial prefixes and the paid commercial Caller ID Management module
https://wiki.freepbx.org/display/FPG/Caller+ID+Management-Admin+Guide


(Hey Brodes) #4

Thanks for your responses. The paid commercial Caller ID Management module requires that the service provider allows caller ID override. Mine does not.

So here is how I solved it.
I created an outbound route and a trunk for each outgoing caller ID I want to use. And in the dial pattern of the outbound route I placed the caller ID to be used as the prefix.
So the dialling string would be as follows:
DISA in | password | caller ID for outgoing call | final destination number. This would pattern match to the correct trunk and strip off the prefix.

Cheers, all.


(system) closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.