Outbound dial Plan for 1 phone extension

All installation and configuration problems and questions

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

Outbound dial Plan for 1 phone extension

Postby dajesterofdeath » Tue May 14, 2013 2:08 am

VERSION: 2.6-396a
BUILD: 130402-2322

Hi,

I have a dialplan that allows calls for all Australian area codes (and therefore denies mobiles), however I would like to set up a dialplan that allows a particular extension(eg 2200) to call Mobiles. I cannot seem to find anything on google or in the forums.

How can i achieve this?

My current dial plan is:

exten => _33617XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _33617XXXXXXXX,2,Dial(${CALLCENTREVOIP}/${EXTEN:2},60,tTo)
exten => _33617XXXXXXXX,3,Hangup

exten => _33613XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _33613XXXXXXXX,2,Dial(${CALLCENTREVOIP}/${EXTEN:2},60,tTo)
exten => _33613XXXXXXXX,3,Hangup

exten => _33618XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _33618XXXXXXXX,2,Dial(${CALLCENTREVOIP}/${EXTEN:2},60,tTo)
exten => _33618XXXXXXXX,3,Hangup

exten => _33612XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _33612XXXXXXXX,2,Dial(${CALLCENTREVOIP}/${EXTEN:2},60,tTo)
exten => _33612XXXXXXXX,3,Hangup


sorry if I am missing any of the post requirements, my Version and build is at the start of the post.

thanks,
dajesterofdeath
 
Posts: 3
Joined: Tue May 14, 2013 2:01 am

Re: Outbound dial Plan for 1 phone extension

Postby omarrodriguezt » Tue May 14, 2013 10:32 am

Hello,
Create a custom context that allows calls to Australian, then include this context in the extension 2200
http://www.ITContinental.com
Dedicated USA Servers - Vicibox - Vicidial - Limesurvey - Vtiger CRM - More than 15 years experience - Hablamos Español
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Re: Outbound dial Plan for 1 phone extension

Postby dajesterofdeath » Wed May 15, 2013 7:03 am

Hi Omarr,

Sorry for my ignorance, Im not quite sure what you mean in regards to creating a custom context. I am quite new to VICIdial.
dajesterofdeath
 
Posts: 3
Joined: Tue May 14, 2013 2:01 am

Re: Outbound dial Plan for 1 phone extension

Postby striker » Wed May 15, 2013 10:00 am

create a phone foreg: 2200 in vicidial admin screen and give phone context=ausmobile

then go to extension.conf and add a dialplan with context ausmobile at lastline .

like
[ausmobile]
exten => _61XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _61XXXXXXXX,2,Dial(${CALLCENTREVOIP}/${EXTEN:2},60,tTo)
exten => _61XXXXXXXX,3,Hangup

the above dialplan is just example , edit asper the australia mobile digits
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Outbound dial Plan for 1 phone extension

Postby dajesterofdeath » Wed May 15, 2013 8:10 pm

Thank you striker for that explanation. I wasn't aware of the context feature or how it worked. Your explanation was informative.

As an alternative to editing the extension.conf file (in the event you don't have ssh access) you can add your custom context to your Dialplan entry (Admin - Carriers - Select Carrier - Add to Dialplan Entry.
dajesterofdeath
 
Posts: 3
Joined: Tue May 14, 2013 2:01 am

Re: Outbound dial Plan for 1 phone extension

Postby omarrodriguezt » Thu May 16, 2013 7:32 am

dajesterofdeath wrote:Thank you striker for that explanation. I wasn't aware of the context feature or how it worked. Your explanation was informative.

As an alternative to editing the extension.conf file (in the event you don't have ssh access) you can add your custom context to your Dialplan entry (Admin - Carriers - Select Carrier - Add to Dialplan Entry.


You can try and let us know.
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Re: Outbound dial Plan for 1 phone extension

Postby Mansur » Wed Jul 17, 2013 7:09 am

you can add multiple routes for multiple destination dialing

just goto sip.conf create cutom trunks for each trunks
[vision]
type=peer
host=XX.XX.XX
username=itmarkaz
fromuser=itmarkaz
secret=*******
canreinvite=no
then goto extensions.conf

create custom context for each trunk
[vision]
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(SIP/${EXTEN:1}@testvoip,,To)
exten => _91NXXNXXXXXX,3,Hangup

and include your all trunks like this

[intern]
include => stations
include => local
include => long-distance
include => vision
include => Barkati
include => SMK
include => SMK3

cheers...!!!!!!
Regards,
Mansur
skype : genious840
Mansur
 
Posts: 1
Joined: Wed Jul 17, 2013 6:46 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 133 guests