shortcut dialplan

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

shortcut dialplan

Postby villbonzload » Sat Oct 06, 2012 8:38 am

I manage to call uk and my country using this dialplan.but it seems redundant to me. do you have any solution to shorten this dialplan perhaps professional looking one?

exten => _0044XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0044XXXXXXXXXX,2,Dial(${TESTSIPTRUNK}/${EXTEN},,tTor)
exten => _0044XXXXXXXXXX,3,Hangup

exten => _0063XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0063XXXXXXXXXX,2,Dial(${TESTSIPTRUNK}/${EXTEN},,tTor)
exten => _0063XXXXXXXXXX,3,Hangup
[/color][/color][/color]
villbonzload
 
Posts: 24
Joined: Sat Sep 01, 2012 6:47 am

Re: shortcut dialplan

Postby williamconley » Sat Oct 06, 2012 10:08 pm

Is this one of those "candid camera" moments? Or did you actually say you wanted a "professional looking" dialplan?

And you want it to be less than three lines ...?

Or are you asking if you can combine these two dialplans into one?

First of all:

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600
________________

Now that's out of the way ... you COULD use

Code: Select all
exten => _00XXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _00XXXXXXXXXXXX,2,Dial(${TESTSIPTRUNK}/${EXTEN},,tTor)
exten => _00XXXXXXXXXXXX,3,Hangup
to replace these two. However, if you did not know that ... I suspect you should continue using the other two and add new ones as you dial new countries. And stop worrying about "how it looks" so much as "how it works". The two sep dialplans will stop you from dialing countries you did not intend to. That way when you get hacked the hackers can only dial those two countries. Otherwise, they'll be able to dial anywhere your carrier lets you. LOL

But the above dialplan will work as a functional replacement for the prior two.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: shortcut dialplan

Postby villbonzload » Sun Oct 07, 2012 8:09 am

thx for your answer very informative really helps.though, you still have your usual copy and paste style.
villbonzload
 
Posts: 24
Joined: Sat Sep 01, 2012 6:47 am

Re: shortcut dialplan

Postby williamconley » Sun Oct 07, 2012 10:53 pm

True. On the other hand, if you provided that information ... I wouldn't have had to. And now that we're on topic ... since you recognize it, why did you not just provide that information in the first place? LOL
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: shortcut dialplan

Postby villbonzload » Mon Oct 08, 2012 11:36 am

Peace brother.mabuhay ka.
villbonzload
 
Posts: 24
Joined: Sat Sep 01, 2012 6:47 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 100 guests