[Freeswitch-users] Caller ID prefix missing

Andrew Cassidy andrew at cassidywebservices.co.uk
Tue Mar 31 20:04:18 MSD 2015


change $1 to $0 or 0$1

On 31 March 2015 at 16:29, Paul Atreides <paul.atreides83 at googlemail.com>
wrote:

> Hi,
>
> when I place a call over the gateway to the PTSN I see the dialed number
> without
> the leading 0 prefix in the history of my Grandstream GXP2140. Is there a
> way
> to add the 0 back again?
>
> Thank you
>
> <include>
>  <extension name="isdn-outbound">
>   <condition field="destination_number" expression="^0(\d+)$">
>    <action application="set"
> data="effective_caller_id_number=${outbound_caller_id_number}"/>
>    <action application="set"
> data="effective_caller_id_name=${outbound_caller_id_name}"/>
>    <action application="bridge" data="sofia/gateway/isdn/$1"/>
>   </condition>
>  </extension>
> </include>
>
>
> _________________________________________________________________________
> 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/20150331/0f4d04bd/attachment.html 


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