I want when users dial 117, that the number that is sent to the Trunk become 117239.
How could this be possible?
Using outbound routes, i could do it for the prefix, but what i need is the other side, to add numbers and not remove them.
Nice catch, I missed the part that it is a 6 digit pattern. Usually, I do manipulation like that in a separate context and not in the outbound routes module.
Something like that:
[from-internal-custom]
exten => 117,1,Log(NOTICE, Adding 239 digits to 117 dial pattern)
same => n,Goto(from-internal,117239,1)