5 Sep
2015
5 Sep
'15
9:05 a.m.
I would like my dial plan in FS to automatically add a country code (from the users variable "country_code") if no country code has been dialled. This is part of my dial plan: <condition field="destination_number" expression="^\+(\d{3,20})$"> <action application="export" data="dialed_extension=$1"/> Is it possible to automatically check if either + or 00 is dialled, if not then add + <user country_code>. If 00 is dialled then this should be replaced with a +.