A number of our customers use PIN codes. We use a few global outbound routes. The easiest way to add pin codes is to simply add pin_number.lua in the domain variables. This works fine - except when someone has a call forward set to an external number as it will need a PIN code to dial out.
We can create a separate outbound route for a call forward. But how would I make that route ignore some of the domain variables? I know I can unset any domain variable in that route before it hits the gateway but in this case that does not help as it will hit the lua script - there is nothing to unset really.
We get around it currently by NOT using domain variables for this but to just create outbound routes that are not global for those customers who want this. But seeing that we have 5 outbound routes with different patterns it would be less work if we didn't have to do this.
Does anyone know of a way to make only one route just ignoring specific domain variables? I fear that this is not possible but on the off chance that someone says "of course, this is how" I am posting it anyway
We can create a separate outbound route for a call forward. But how would I make that route ignore some of the domain variables? I know I can unset any domain variable in that route before it hits the gateway but in this case that does not help as it will hit the lua script - there is nothing to unset really.
We get around it currently by NOT using domain variables for this but to just create outbound routes that are not global for those customers who want this. But seeing that we have 5 outbound routes with different patterns it would be less work if we didn't have to do this.
Does anyone know of a way to make only one route just ignoring specific domain variables? I fear that this is not possible but on the off chance that someone says "of course, this is how" I am posting it anyway