Sangoma and DTMF

All installation and configuration problems and questions

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

Sangoma and DTMF

Postby AsteriT » Fri Mar 30, 2007 5:37 am

Hello Forum, i need help.
I'm trying to set up Vicidial to talk via DTMF with an IVR system.
If I use app_conference it works well, but unfortunately asterisk crashes after a while.

If I use MeetMe, the IVR don't recognizes the DTMF tones, I think because of timing. I tried to use an X100P clone and it works, but not always.

I bought one Sangoma A102u (I'm using the E1 line of Italian Telco), but it didn't work, IVR doesn't recognize tones. I don't know how to set timing on Sangoma's cards.

Follow my zaptel.conf, zapata.conf and wanpipe*:

/etc/zaptel.conf:
loadzone = it
defaultzone = it

#span definitions
span = 1,1,0,ccs,hdb3,crc4
span = 2,2,0,ccs,hdb3,crc4

#channel definitions
bchan = 1-15,17-31
dchan = 16
bchan = 32-46
dchan = 47

/etc/asterisk/zapata.conf
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=it
musiconhold=default
context=from-pstn
switchtype = Euroisdn
pridialplan=local
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
signalling=pri_cpe
usecallerid=yes
hidecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
rxgain=5.0
txgain=5.0
group=1
pickupgroup=1
pickup=1
immediate=no
channel=>1-15,17-31
channel=>32-46

/etc/wanpipe/wanpipe1.conf
[devices]
wanpipe1 = WAN_AFT, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 3
PCIBUS = 2
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
ACTIVE_CH = ALL
TE_HIGHIMPEDANCE = NO
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 0

[w1g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO

/etc/wanpipe/wanpipe2.conf
[devices]
wanpipe2 = WAN_AFT, Comment

[interfaces]
w2g1 = wanpipe2, , TDM_VOICE, Comment

[wanpipe2]
CARD_TYPE = AFT
S514CPU = B
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 3
PCIBUS = 2
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
ACTIVE_CH = ALL
TE_HIGHIMPEDANCE = NO
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 2
TDMV_DCHAN = 0

[w2g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO

Any help will be appreciated...
AsteriT
 
Posts: 3
Joined: Fri Mar 30, 2007 5:14 am

Postby mflorell » Fri Mar 30, 2007 6:38 am

Are you using a channelbank for your agents?

If you use VOIP of any kind, then DTMF will not pass through meetme. I plan on trying to fix that some time in the future, but meetme is not as easy to modify as app_conference.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby AsteriT » Fri Mar 30, 2007 11:03 am

Thank you for reply.

Actually I'm using only VoIP (SIP) to connect the clients to Asterisk, they are in the same LAN. But I supposed that using the SEND button on the Vicidial Web Client, DTMF wouldn't pass through meetme. I didn't use dtmf directly on the SjPhone, but always pressing the send button. Indeed, using X100p for timing the dtmf were recognized from IVR.

Could I use Sangoma and X100p together and use X100p for timing?
AsteriT
 
Posts: 3
Joined: Fri Mar 30, 2007 5:14 am

Postby mflorell » Fri Mar 30, 2007 6:31 pm

That is very odd, I've never had that problem with Sangoma cards before, I suppose you could try it with an X100P and see if it will work for you.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby AsteriT » Sat Mar 31, 2007 5:35 am

I tried an X100p and it worked, not perfectly but better than Sangoma.

I can't remove Sangoma, becouse I need it for E1 pri line. How I should configure zaptel.conf and other files to make Sangoma and x100p work together, and make MeetMe use the timer from x100p rather than Sangoma?

(I'm using CentOS, 2.6.9-34.ELsmp, Asterisk rel. 1.2.7.1, Vicidial 2.0.2)
AsteriT
 
Posts: 3
Joined: Fri Mar 30, 2007 5:14 am

Postby mflorell » Sat Mar 31, 2007 6:45 am

I think that the order of the cards on the motherboard(closer to the CPU is first) and the order in zapata and zaptel conf files should probably do it. As for guaranteeing the timer is from the X100P, no idea how you would check it.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 110 guests