Hi Andrew,
I think my description was not so good. My gateway accepts 012456789 but I want the user to dial 001234567.
Can I remove the leading 0 and still tell the sip client that the user dialed with the extra 0?On Tue, Mar 31, 2015 at 6:04 PM, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:change $1 to $0 or 0$1On 31 March 2015 at 16:29, Paul Atreides <paul.atreides83@googlemail.com> wrote:_________________________________________________________________________Thank youto add the 0 back again?the leading 0 prefix in the history of my Grandstream GXP2140. Is there a wayHi,when I place a call over the gateway to the PTSN I see the dialed number without
<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@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@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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
