Custom Dial Plan for added phones

All installation and configuration problems and questions

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

Custom Dial Plan for added phones

Postby bghayad » Sun Nov 06, 2022 6:18 pm

Hello;
vicibox ViciBox v.10.0.1 220503, vicidial 2.14-866a, Build 220921-1319, asterisk 13.38.2-vici, Single Machine

How I can create custom (my own, based on what I need) dial plan for added phones?
In other words, I am adding the phones from Admin --> Phones, but it is automatically adding the dial plan for this phone and it is working as following:

exten => 1000,1,Dial(SIP/1000,60,)
exten => 1000,2,Goto(default,850266666666661000,1)
exten => 1000,3,Hangup()

I do not need the dialing to be like this, I need to have my own rules but at the same time, I need to add the phone from Admin --> Phones. So how I can achieve this?

Regards
Bilal
bghayad
 
Posts: 579
Joined: Sun Jan 01, 2012 4:53 pm

Re: Custom Dial Plan for added phones

Postby jamiemurray » Mon Nov 07, 2022 5:22 am

Hi Bilal,

It would be better if you could explain what it is you're trying to achieve so we can provide you with some advice on appropriate methods.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 172
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: Custom Dial Plan for added phones

Postby bghayad » Mon Nov 07, 2022 7:10 pm

Thank you Jamiemurray.

What I need exactly to do is the following:
If someone called the extension 1000, and if it ringed for 30 seconds and no reply, then to Dial for mobile number (for example: 72224452), if it ringed for 30 second and no one replied, then to go for the voicemail.
Phone of extension 1000 is configured in vicidial from Admin --> Phone.
Appreciate the kindly help.
Regards
Bilal
bghayad
 
Posts: 579
Joined: Sun Jan 01, 2012 4:53 pm

Re: Custom Dial Plan for added phones

Postby jamiemurray » Tue Nov 08, 2022 4:26 am

Ok, in that case, on the phone entry, set the Phone Ring Timeout to 30, and Unavailable Dialplan Forward to your mobile number including the prefix set in your carrier entry with context default.

At the top of the minute the dialplan will be regenerated to forward calls to your phone to your mobile.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 172
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: Custom Dial Plan for added phones

Postby bghayad » Thu Nov 10, 2022 7:40 pm

Thank you a lot.
But I am using Conf Override, what should I do in this case?
And below is example of the used Conf Override for the Phone:

Code: Select all
username=1000
secret=d0nt0001
accountcode=1000
mailbox=1000
context=defaultlog
disallow=all
allow=alaw
allow=ulaw
type=friend
host=dynamic
nat=no
allowtransfer=yes


Regards
Bilal
bghayad
 
Posts: 579
Joined: Sun Jan 01, 2012 4:53 pm

Re: Custom Dial Plan for added phones

Postby jamiemurray » Fri Nov 11, 2022 2:51 am

Conf override has no effect on my previous advice, give it a try.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 172
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands


Return to Support

Who is online

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