Project

General

Profile

DIALPLAN FOR PRI LINES

Added by VINISH VIJAYAN almost 9 years ago

Hi,

I installed the goautodial recently and i need to configure my dialplan through PRI lines.

i am using sangoma PRI card, Pl help me to configure my dialplan ( my pri line number is +91114669777 )


Replies (4)

RE: DIALPLAN FOR PRI LINES - Added by striker 247 almost 9 years ago

while configuring sangoma card, what group no you gave, if you didnt mentioned then it would be 0
then use the below dialplan to make outgoing calls

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(DAHDI/g0/${EXTEN:1},,Tto)
exten => _9X.,3,Hangup()

in the above dialplan i used 9 as prefix.

for incomming you need set the context to trunkinbound while configuring the sangoma card by running wancfg_dahdi command

br
striker
www.striker24x7.blogspot.com

RE: DIALPLAN FOR PRI LINES - Added by VINISH VIJAYAN almost 9 years ago

Hi,
Pl tell me what is _9X means. X is country code / Pri Line number.

RE: DIALPLAN FOR PRI LINES - Added by Shady Jones almost 9 years ago

9 is dial prefix, u can use any no. like 9011 etc. u have to use this no in campaign "Dial Prefix & Manual Dial Prefix"

RE: DIALPLAN FOR PRI LINES - Added by Shady Jones almost 9 years ago

[default]
include => vicidial-auto

;Dialplan to dial via PRI
exten => _9011X.,1,AGI
exten => _9011X.,2,Dial(DAHDI/G0/${EXTEN:4},,TtoR)
exten => _9011X.,3,Hangup()

    (1-4/4)
    Go to top