adding 0740 numbers to mobile

can you point me in the right direction - where is it defined what number is treated as a mobile or not?
apparently 0740 are mobiles in UK and presently if I dial it I get "I'm sorry I can't let you do that"

Asterisk SVN-branch-1.4-r121596M
LVL 1
gddl630Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bwilks99Commented:
I am not sure what you are asking; If you are asking about Asterisk it could go like this below.

[outgoing]
;Australian mobiles start with 04
exten => _04XXXXXXXX,1,Dial(${VOIP-TRUNK-OUT}/${EXTEN:0},30,)
exten => _04XXXXXXXX,2,HangUp()

;All others numbers go out here
exten => _X.,1,Dial(${PSTN-TRUNK}/${EXTEN:0},30)
exten => _X.,2,HangUp()
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gddl630Author Commented:
ok thanks

the only context I can find that remotely resembles that is:
Context [ outbound-mobile ]
UK mobiles
_07[5789]XXXXX.      =>      1       Set(__ORIGEXTEN=${EXTEN})
       2       Set(__OUTBOUNDCALLTYPE="mobile")
       3       Macro(outbound-global)
       4       Macro(dial,${EXTEN:0:11},,${EXTEN:11},mobile,${EXTEN})
       5       Congestion()

so I guess I can try adding 4 in the mix right? change _07[5789]XXXXX to _07[45789]XXXXX
0
bwilks99Commented:
Yes I think your on the right track.

Here is a link;
http://www.voip-info.org/wiki/view/Asterisk+Dialplan+Patterns
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IP Telephony

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.