I know there is a variable to pull the caller ID (ANI) but is there a way to set it or change it within the scenario? We are trying to send out different caller ID’s on dial outs based on a service.
Sorta, yes…but not within the scenario. You’ll need to ask BP support to add a caller ID so they can pulse out a caller ID based on service. That said…
This is a very good way to have your number get banned or marked as spam on carriers. So take caution if you are going to do this, particularly is you are dialing the same people multiple times.
Maybe clarify the type of change you want to do to the ANI, prefix/suffix,?
I use the following logic to strip prefix 0 to replace with international dial code +27 , in this scenario i have already collected/stored/saved the ANI into a variable ,
=replace("$(cbPhone)","^0",“27”,"")
I suppose you can use the dial plan to do the same thing, but I like that regex idea. We might have to start using that.
There is a way to do this in a scenario. It is something I figured out how to do back in 2015 and have been using it ever since. Due to the potential of its misuse/abuse I don’t feel comfortable sharing on an open forum or community. You are welcome to PM me or you can ask support how it is done.
Using the Dial out entries is a great way to add or change a prefix, but if you want to fully alter all parts of a callers ANI you have to do it in the scenario.