Hello all.
In asterisk 1.2.20 the WaitExten application does not work with VGSM calls.
We've this extension code:
exten => s,1,Background(dialExtensionPrompt)
exten => s,2,WaitExten(12)
include => internalDirectory
exten => t,1,Goto(operator,s,1)
exten => i,1,Goto(s,1)
When this is executed in a SIP, ZAP or mISDN channel, all works fine.
But with a vGSM channel the WaitExten fails. Sometimes the digits are
not detected while i hear choppy DTMF tones, other times the DTMF
hangs-up the channel. The error is similar to the reported by Tigran
Kocharyan on Jun, 26 of 2006 to this list.
http://www.mail-archive.com/[email protected]/msg01118.html
This is my vgsm.conf:
[general]
sms_spooler = /usr/sbin/sendmail
sms_spooler_pars = -it
[global]
rx_gain = 255
tx_gain = 255
set_clock = yes
sms_sender_domain = pepe.com
sms_recipient_address = SMS Router <[EMAIL PROTECTED]>
dtmf_quelch=false
dtmf_mutemax=false
dtmf_relax=true
poweroff_on_exit = true
operator_selection = auto
operator_id =
amr_enabled = false
gsm_hr_enabled = false
gsm_preferred = fr
[movistar]
device = /dev/vgsm/np_me0
pin = xxxx
context = gsm-in
With the debug command I get this output:
rprserv4*CLI> debug channel VGSM/movistar/1
Debugging enabled on channel VGSM/movistar/1
Debugging on new channels is enabled
<< [ TYPE: DTMF (1) SUBCLASS: m (109) ] [VGSM/movistar/1] >> the next
6 lines are triggered when GSM party sends DTMF 5.
<< [ TYPE: DTMF (1) SUBCLASS: m (109) ] [VGSM/movistar/1]
<< [ TYPE: DTMF (1) SUBCLASS: m (109) ] [VGSM/movistar/1]
<< [ TYPE: DTMF (1) SUBCLASS: m (109) ] [VGSM/movistar/1]
<< [ TYPE: DTMF (1) SUBCLASS: m (109) ] [VGSM/movistar/1]
<< [ TYPE: DTMF (1) SUBCLASS: 5 (53) ] [VGSM/movistar/1] >> but
asterisk goes to the "i" extension
vgsm: VGSM/movistar/1: hangup
vgsm: VGSM/movistar/1: hangup complete
rprserv4*CLI> debug vgsm generic
vGSM debugging enabled
vgsm: vgsm_answer
vgsm: Connecting userport 000021 to chan 000002
vgsm: vgsm_indicate -1
Jul 12 03:51:31 ERROR[6530]: chan_vgsm.c:1150
vgsm_pipeline_set_amu_compander: Cannot find amu_compander attr >> 2
lines triggered when vGSM answer the channel.
Jul 12 03:51:31 ERROR[6530]: chan_vgsm.c:1991 vgsm_read: Cannot set
amu_decompander
vgsm: VGSM/movistar/1: hangup >> in this case the DTMF fires a
hangunp in the channel
vgsm: VGSM/movistar/1: hangup complete
Any one can call to +34655374649 and try to dial when prompted (only in
spanish). Or hear the recording made by Tigran one year ago at:
http://www.geocities.com/fichtengolts/asterisk/rec.wav
Best regards.
Ricardo
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers