Page 1 of 1

Manual Outbound Dialing automatically Adding “1” Prefix

PostPosted: Wed Dec 08, 2010 3:25 am
by dlasry
The system seems to be adding a “1” prefix automatically on all manual outbound calls.

Campaign settings are:
Dial Method: Inbound_Man
Dial Prefix: 9
Manual Dial Prefix: 9

Dial Plan for calling is:
exten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,2,Dial(${SIPTrunk1}/${EXTEN:1},,tToR)
exten => _9.,3,Hangup

Calling from a SIP phone works fine…but not from GUI. What am I missing here?

PostPosted: Wed Dec 08, 2010 4:15 am
by boybawang
another noob error, anyway go to campaign -> your campaign -> detail view -> OMIT PHONE CODE = YES


from the '?'

Omit Phone Code - This field allows you to leave out the phone_code field while dialing within VICIDIAL. For instance if you are dialing in the UK from the UK you would have 44 in as your phone_code field for all leads, but you just want to dial 10 digits in your dial plan extensions.conf to place calls instead of 44 then 10 digits. Default is N.


basically you must have a phone_code of 1 set on your leads thats why when they are loaded in the hopper they already have a 1 infront of it

PostPosted: Wed Dec 08, 2010 5:40 am
by dlasry
Thanks boybawang. I actually read that help section many times...but what helped me was your comment indicating that the leads that were already loaded in the hopper were already there with a "1". Resetting leads in hopper resolved this issue.

Side comment: Why is the default "1" ?

PostPosted: Wed Dec 08, 2010 7:16 am
by mflorell
The default is 1 because that is the North American phone code, and at the start of the ViciDial project, it had the largest number of phone-numbers in a dial code(India and China have since surpassed this).

Re: Manual Outbound Dialing automatically Adding “1” Prefix

PostPosted: Thu Jan 10, 2013 7:03 am
by mnhbanagare
login to vicidail admin

campaign -> your campaign -> detail view -> OMIT PHONE CODE = YES

It is worked for me for PRI India line