Page 1 of 1

Custom Dial Plan for added phones

PostPosted: Sun Nov 06, 2022 6:18 pm
by bghayad
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

Re: Custom Dial Plan for added phones

PostPosted: Mon Nov 07, 2022 5:22 am
by jamiemurray
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.

Re: Custom Dial Plan for added phones

PostPosted: Mon Nov 07, 2022 7:10 pm
by bghayad
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

Re: Custom Dial Plan for added phones

PostPosted: Tue Nov 08, 2022 4:26 am
by jamiemurray
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.

Re: Custom Dial Plan for added phones

PostPosted: Thu Nov 10, 2022 7:40 pm
by bghayad
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

Re: Custom Dial Plan for added phones

PostPosted: Fri Nov 11, 2022 2:51 am
by jamiemurray
Conf override has no effect on my previous advice, give it a try.