Mr. Black Posted April 16, 2014 Report Share Posted April 16, 2014 At my location we have cell phone numbers that are always 10 digits and always start with 08 or 09. Long distance PSTN Calls start with 02,03,04,05,06 and 07 and are always 9 digits long. I got the dialplan sorted out to figure out cellphone vs. long distance numbers and select this trunk. The trunk I want to use is US-based and would like to receive numbers with the country code prefixed and the leading zero stripped. But I cannot figure out how to strip the leading zero. Example: cellphone number 0866884100 needs to be sent to the trunk as 66866884100 I got the dialplan looking like this: 300;inhouse-th-guests;;08XXXXXXXX;66*;;false Now dialling 0866884100 will prefix the country code but the leading zero is there and will cause the trunk provider to drop the call (obviously). What's the magic involved in dropping that leading zero ? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.