Safe to delete "Action set provider_prefix" in Outbound Routes?

Status
Not open for further replies.

dcitelecom

Member
Oct 20, 2021
139
3
18
61
My "Outbound Routes" Dialplan contains the 2 lines below and I am wondering if the "set provider prefix" is safe to delete from the Dialplan because the "action bridge statement" sends the provider prefix anyways. The "set provider prefix" line is generated when we create a new Outbound Route in the GUI but seems to be useless afterwards once the outbound route is created. To me it's actually confusing because I have several alternate gateways that do not require the same "provider prefix". Please comment if it's safe to delete. Thanks.

Action set provider_prefix=xxxxxx
and
action bridge sofia/gateway/myprovider/xxxxxx1$1
 

hamagid

Member
Dec 14, 2020
78
8
8
33
Setting the provider prefix will remove the prefix from the CDR and will avoid the number on the screen from adding the provider prefix.
 
Status
Not open for further replies.