Hello everybody, I have an Asterisk (1.2.9.1-BRIstuffed-0.3.0-PRE-1q) with a QuadBRI, a TDM400P with 2 FXO modules, and 2 "Nokia 22" GSM modules. The system can receive and make calls perfecty, via ISDN and GSM. But when I configure Asterisk to redirect the calls from ISDN to a mobile telephone (via the GSM modules), when the mobile phone answers, the call is terminated:>--- > Zap/7 is the ISDN (g0 in zapata.conf) > Zap/15 is the GSM (g1 in zapata.conf)[...] Jul 19 11:18:54 VERBOSE[28704] logger.c: -- Called g1/660XXXXXXX Jul 19 11:18:55 DEBUG[28704] chan_zap.c: Exception on 14, channel 15 Jul 19 11:18:55 DEBUG[28704] chan_zap.c: Got event Hook Transition Complete(12) on channel 15 (index 0) Jul 19 11:18:56 DEBUG[28704] chan_zap.c: Exception on 14, channel 15 Jul 19 11:18:56 DEBUG[28704] chan_zap.c: Got event Dial Complete(9) on channel 15 (index 0) Jul 19 11:18:56 DEBUG[28704] chan_zap.c: Enabled echo cancellation on channel 15 Jul 19 11:18:56 DEBUG[28704] chan_zap.c: Engaged echo training on channel 15 Jul 19 11:18:59 DEBUG[28704] chan_zap.c: Exception on 14, channel 15 Jul 19 11:18:59 DEBUG[28704] chan_zap.c: Got event Dial Complete(9) on channel 15 (index 0) Jul 19 11:18:59 DEBUG[28704] chan_zap.c: Echo cancellation already on> here is the moment the mobile phone answers, the ISDN channel hangupJul 19 11:19:18 VERBOSE[27851] logger.c: -- Channel 0/1, span 3 got hangup, cause 31 Jul 19 11:19:18 DEBUG[28699] app_dial.c: Unable to forward frame Jul 19 11:19:18 DEBUG[28699] app_dial.c: Exiting with DIALSTATUS=CANCEL. Jul 19 11:19:18 DEBUG[28704] chan_zap.c: Hangup: channel: 15 index = 0,normal = 14, callwait = -1, thirdcall = -1 Jul 19 11:19:18 DEBUG[28704] chan_zap.c: disabled echo cancellation on channel 15 Jul 19 11:19:18 DEBUG[28704] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/15-1 Jul 19 11:19:18 DEBUG[28704] chan_zap.c: Updated conferencing on 15, with 0 conference users Jul 19 11:19:18 VERBOSE[28704] logger.c: -- Hungup 'Zap/15-1' Jul 19 11:19:18 DEBUG[28704] app_dial.c: Exiting with DIALSTATUS=CANCEL. Jul 19 11:19:18 DEBUG[28699] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/7-1 Jul 19 11:19:18 DEBUG[28699] chan_zap.c: Hangup: channel: 7 index = 0, normal = 21, callwait = -1, thirdcall = -1 Jul 19 11:19:18 DEBUG[28699] chan_zap.c: Already hungup... Calling hangup once, and clearing call Jul 19 11:19:18 DEBUG[28699] chan_zap.c: disabled echo cancellation on channel 7 Jul 19 11:19:18 DEBUG[28699] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/7-1 Jul 19 11:19:18 DEBUG[28699] chan_zap.c: Updated conferencing on 7, with 0 conference users Jul 19 11:19:18 DEBUG[28699] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/7-1 Jul 19 11:19:18 DEBUG[28699] chan_zap.c: disabled echo cancellation on channel 7 Jul 19 11:19:18 VERBOSE[28699] logger.c: -- Hungup 'Zap/7-1'>---The zapata.conf is this:>---[channels] language=es context=default usecallerid=yes cancallforward=yes immediate=no musiconhold=default faxdetect=incoming useincomingcalleridonzaptransfer=yes ; TDM with 2 FXO modules signalling=fxs_ks busydetect=yes busycount=7 language=es context=from-pstn callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes echotraining=800 callerid=asreceived callgroup=1 pickupgroup=1 group=1 channel=>15-16 ; quadbri signalling=bri_cpe_ptmp context=from-pstn switchtype=euroisdn language=es pridialplan=local prilocaldialplan=local rxwink=300 usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming group=0 callgroup=1 pickupgroup=1 answeronpolarityswitch=yes hanguponpolarityswitch=yes immediate=no channel=>1-2,4-5,7-8,10-11>--Can someone explain me why the call is terminated? How can I solve this problem? Thanks in advance. -- Paco Brufal <pbrufal@servitux.es> ServiTux Servicios Inform?ticos S.L. Tel. 966 160 600 / Fax. 966 160 601
Paco Brufal
2006-Jul-19 07:11 UTC
[asterisk-users] SOLVED: QuadBRI + TDM + GSM hangup problems
On jul/19/2006, Paco Brufal wrote:> The system can receive and make calls perfecty, via ISDN and GSM. > But when I configure Asterisk to redirect the calls from ISDN to a mobile > telephone (via the GSM modules), when the mobile phone answers, the call is > terminated:The solution: Answer() before Dial() to mobile phone O:) -- Paco Brufal <pbrufal@servitux.es> ServiTux Servicios Inform?ticos S.L. Tel. 966 160 600 / Fax. 966 160 601