I am not sure I fully understand, but I think I do. I have to prepend a “tech prefix” to each call that includes an asterisk (“*”). I did it this way and it seems to work: I have (3) three entries all with the Prepend listed below:
techprefix* (The number that’s put in front of each call that I make)
I hope this is what you was looking for and it works for you.
Thank you, but that’s not what I am looking for, what i need is if a outbound call is made to NXXNXXXXXX I need it routed to my first trunk like this 123#NXXNXXXXXX if the call is rejected it needs to try the next trunk which needs 456#NXXNXXXXXX adding the prepend for the first call attempt is simple but you can’t define a prepend change when moving to the next trunk.
A new version of VitalPBX has been released, on this version it is possible to send an outbound routes to a failover destination, this can be useful to resolve your problem, you can create two outbound routes, one of them who prepend 123# and the other who prepend #456.
The first outbound route with the prepend 123# will have as destination the next outbound route with the prepend #456.