wanpipe dahdi conf

Any and all non-support discussions

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

wanpipe dahdi conf

Postby raloheni » Fri Feb 04, 2011 11:38 am

Goaotodial
vicVERSION: 2.2.1-237 | BUILD: 100510-2015 | sangoma A101 E1 card|

hi
i have configured sangoma card sucessfully in goautodial, but not able to configure the outbound route

i need to know what should be given for the TRUNK= ? AND TRUNKX=? in extension.conf ,for digium cards i gave it has DAHDI/g0 but for wanpipe cards what should i give .if i give DAHDI/g0 for wanpipe then in cli showing
"app_dial.c:1296 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)"
raloheni
 
Posts: 138
Joined: Sun Apr 25, 2010 4:23 pm

Postby gardo » Fri Feb 04, 2011 3:04 pm

First you need to configure your Sangoma card in Asterisk. Since Sangoma cards are supported out of the box you just need to run the following command as root:

wancfg_dahdi


Can you post your extensions.conf entry with your Sangoma card and the dialplan entry? Also post your chan_dahdi.conf. You might have missed a step or two.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby raloheni » Fri Feb 04, 2011 3:58 pm

hI gardo

i have already run this command wancfg_dahdi
it asked couple of question and i have give the correct detials.
at one stage it asked me the enter the group i typed 1.
dahdi show channels shows all the 30 channelsl
but not able to make outgoing calls , incomming is working fine
error ""app_dial.c:1296 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)""



[globals]
CONSOLE=Console/dsp ; Console interface for demo
;TRUNK=Zap/r1 ; Trunk interface
;TRUNKX=Zap/r2 ; 2nd trunk interface
TRUNK = DAHDI/g0
TRUNKX = DAHDI/g0

[default]

exten => _9042X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9042X.,2,Dial(${TRUNK}/${EXTEN:4},40,Ttor)
exten => _9042X.,3,Hangup

exten => _888X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _888x.,2,Dial(${TRUNKX}/${EXTEN:3},40,Ttor)
exten => _888X.,3,Hangup
raloheni
 
Posts: 138
Joined: Sun Apr 25, 2010 4:23 pm

resolved

Postby raloheni » Sat Feb 05, 2011 10:33 am

hi

the problem is resolved
i have given wrong group number while doign wancfg_dahdi
now its working with TRUNK= DAHDI/g1
raloheni
 
Posts: 138
Joined: Sun Apr 25, 2010 4:23 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 34 guests