For a call forward we have to use a diversion header in our regulatory environment. The diversion header will stipulate the originally dialled number. We have this working fine, except when it's an internal call. When Extension 100 dials 101, and 101 has a call forward set, it will put 101 in the diversion header, as that is the originally dialled number. However, a call like that will not be accepted upstream as it does not comply with regulations - a number has be a real number.
We get around it in a few ways - one is to forward the call to a ring group forward rather and to set the caller ID there, rather than to pass through the caller ID of the caller. But this is complicated for a customer - they expect a forward to do just that - forward the call to their mobile phone. And they generally want to see the caller ID of the person calling.
Another way is to create an outbound route just for the few mobile numbers and set the caller ID manually there - but that has the same downside of not passing the caller's ID and means the customer is limited to the numbers in the outbound route.
Ideally, the lua script should do something like "if an internal call from an extension, then parse the Caller ID that is set for that extension, if an inbound call then apply the current logic"
How would we make this work? Before I send off a mail to PBXGeek and co for some advice, I thought to post it here in case someone has already figured this out.
We get around it in a few ways - one is to forward the call to a ring group forward rather and to set the caller ID there, rather than to pass through the caller ID of the caller. But this is complicated for a customer - they expect a forward to do just that - forward the call to their mobile phone. And they generally want to see the caller ID of the person calling.
Another way is to create an outbound route just for the few mobile numbers and set the caller ID manually there - but that has the same downside of not passing the caller's ID and means the customer is limited to the numbers in the outbound route.
Ideally, the lua script should do something like "if an internal call from an extension, then parse the Caller ID that is set for that extension, if an inbound call then apply the current logic"
How would we make this work? Before I send off a mail to PBXGeek and co for some advice, I thought to post it here in case someone has already figured this out.
Last edited: