- Joined
- Apr 20, 2022
- Messages
- 3
- Reaction score
- 0
Hi!
I have setup an SIP trunk to a "unsupported/generic" provider.
They require all the dialed numbers to be prefixed with a "identity code" of specific length (say 3 digits). For example, to dial 12345678 I have to send 99912345678 as the "called number" to the provider.
This can be simply done by using "outbound rules" and adding the "prefix" to the prepend field... but...
in this way all the numbers dialed are stored in the logs with this prefix (as 3cx rewrites the number immediately after confirming the "dial") and also the "allowed countries" rules are not working/falsely triggered because the prefix is treated as part of the actual numer dialed.
Also, this makes re-dialing any number from log impossible as it again adds the prefix when dialing (previous) numbers as the prefix is "embedded" in the calee number
Is there any way to add this prefix/prepend on the "trunk" level without it being actually added to the numbers and being "recorded" in any way?
There are rules to manipulate the CallerID values in the trunk options but nothing related to Called numbers.
Is there any XML option that can be configured directly in the provider XML config?
I have setup an SIP trunk to a "unsupported/generic" provider.
They require all the dialed numbers to be prefixed with a "identity code" of specific length (say 3 digits). For example, to dial 12345678 I have to send 99912345678 as the "called number" to the provider.
This can be simply done by using "outbound rules" and adding the "prefix" to the prepend field... but...
in this way all the numbers dialed are stored in the logs with this prefix (as 3cx rewrites the number immediately after confirming the "dial") and also the "allowed countries" rules are not working/falsely triggered because the prefix is treated as part of the actual numer dialed.
Also, this makes re-dialing any number from log impossible as it again adds the prefix when dialing (previous) numbers as the prefix is "embedded" in the calee number
Is there any way to add this prefix/prepend on the "trunk" level without it being actually added to the numbers and being "recorded" in any way?
There are rules to manipulate the CallerID values in the trunk options but nothing related to Called numbers.
Is there any XML option that can be configured directly in the provider XML config?