[Freeswitch-users] Add country code if it aren't dialled.

Andrew Cassidy andrew at cassidywebservices.co.uk
Wed Sep 9 15:19:08 MSD 2015


mod_translate, I do it all the time.

On 6 September 2015 at 19:23, Michael Nielsen <mic.niel84 at gmail.com> wrote:

> Is such possible with FreeSWITCH?
>
> On Sat, Sep 5, 2015 at 11:05 AM, Michael Nielsen <mic.niel84 at gmail.com>
> wrote:
>
>> 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 +.
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
*Andrew Cassidy BSc (Hons) MBCS SSCA*
Managing Director


*T <info at cassidywebservices.co.uk> *03300 100 960  *F
<info at cassidywebservices.co.uk> *03300 100 961
*E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
*W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150909/a5e2a26c/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list