Project

General

Profile

[SOLVED] Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1

Added by Victor Banke almost 11 years ago

I am trying to configure a dial plan that the SIP phones on my network can directly dial out through 18 carrier without having to dial a 9 or a 1 for long distance first, and without needing to be logged into the web interface. Basically I'm trying to configure the phones to be able to dial out just like any cell phone.

I've accomplished this in another Vici-based PBX by adding NXXNXXXXXX to the dial plan in extensions.conf, but this does not work in the new 3.0 release, I end up getting an invalid extension error when attempting to dial a 10 digit number (I'm in the USA)

I know the solution is probably very simple, can anyone help me out?

Thanks!
- Victor


Replies (7)

RE: Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1 - Added by Demian Biscocho almost 11 years ago

Hi Victor,

Can you post your working dialplan? Just take out or replace the sensitive information with some characters.

RE: Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1 - Added by Victor Banke almost 11 years ago

Yes, here is the only dial plan we have in action:

exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@naps-goautodial,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

Also, just to note, I have also tried the following dialplan, which did not work when attempting to dial 10-digit numbers (got an invalid extension error):
exten => _XXXXXXXXXX,1,AGI
exten => _XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@naps-goautodial,,tTo)
exten => _XXXXXXXXXX,3,Hangup

RE: Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1 - Added by striker 247 almost 11 years ago

can you post your asterisk cli log while makeing a call.

make sure your dialplan is updated in extension-vicidial.conf

The below dialplan will dial only 10 digits numbers and and it will remove the first digit(EXTEN:1) while dialling out via your carrier ie: 9 digits will be parsed to carrier.

exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@naps-goautodial,,tTo)
exten => _XXXXXXXXXX,3,Hangup

Br
striker
www.striker24x7.blogspot.com

RE: Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1 - Added by Demian Biscocho almost 11 years ago

Striker is right. Your current dialplan will dial 127773456 instead of 2127773456.

exten => _XXXXXXXXXX,1,AGI
exten => _XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@naps-goautodial,,tTo)
exten => _XXXXXXXXXX,3,Hangup

If you need to dial the 10 digit US number (with the country code 1 automatically appended), here's the dialplan you need:

exten => _XXXXXXXXXX,1,AGI
exten => _XXXXXXXXXX,2,Dial(SIP/1${EXTEN}@naps-goautodial,,tTo)
exten => _XXXXXXXXXX,3,Hangup

RE: Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1 - Added by Victor Banke almost 11 years ago

Works awesome! It was that :1 that was messing up my dial plan before.

Thanks everyone for your help, this is rad! =D

~Victor

[SOLVED] Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1 - Added by Victor Banke almost 11 years ago

If there were a way for me to mark this as solved, I would do so. Thanks again

RE: Need to manual dial directly from phone without dialing 9 or 1 in v3.0 rc1 - Added by Demian Biscocho almost 11 years ago

Putting [SOLVED] in the title is actually enough to show it's solved. :D

    (1-7/7)
    Go to top