Asterisk 1.2.4 does not call out over ISDN and ZAPHFC


#1

Hello,

Today, I test the * 1.2.4, zaptel 1.2.3, Libpri 1.2.2 and bristuff-0.3.0-PRE-1k, the outcalling do not out and a new problems :

[i]Feb 7 18:51:44 VERBOSE[8938] logger.c: – Accepting UNAUTHENTICATED call from
10.1.1.205:

requested format = alaw,
requested prefs = (),
actual format = ulaw,
host prefs = (),
priority = mine
Feb 7 18:51:44 VERBOSE[8959] logger.c: – Executing Dial(“IAX2/7777-3”, “ZAP/g1/0600000000|50|tr”) in new stack
Feb 7 18:51:44 VERBOSE[8959] logger.c: – Requested transfer capability: 0x00 - SPEECH
Feb 7 18:51:44 VERBOSE[8959] logger.c: – Called g1/0600000000
Feb 7 18:51:44 DEBUG[8925] channel.c: Avoiding initial deadlock for Zap/1-1’
Feb 7 18:51:44 DEBUG[8942] chan_zap.c: Queuing frame from RI_EVENT_PROCEEDING on channel 0/1 span 1
Feb 7 18:51:44 VERBOSE[8959] logger.c: – Zap/1-1 is proceeding passing it to IAX2/7777-3
Feb 7 18:51:44 VERBOSE[8942] logger.c: – Channel 0/1, span 1 got hangup request
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/1-1
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: Hangup: channel: 1 index = 0, normal = 19,callwait = -1, thirdcall = -1
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: Not yet hungup… Calling hangup once with icause, and clearing call
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: disabled echo cancellation on channel 1
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: Updated conferencing on 1, with 0 conference users
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/1-1
Feb 7 18:51:45 DEBUG[8959] chan_zap.c: disabled echo cancellation on channel 1
Feb 7 18:51:45 VERBOSE[8959] logger.c: – Hungup 'Zap/1-1’
Feb 7 18:51:45 VERBOSE[8959] logger.c: == No one is available to answer at this time (1:0/0/0)
Feb 7 18:51:45 DEBUG[8959] app_dial.c: Exiting with DIALSTATUS=NOANSWER.
Feb 7 18:51:45 VERBOSE[8959] logger.c: – Executing Hangup(“IAX2/7777-3”, “”) in new stack
Feb 7 18:51:45 VERBOSE[8959] logger.c: == Spawn extension (default, 0603679010,2) exited non-zero on 'IAX2/1827-3’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '“Gilbert ANTOINE” <7777>'
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '7777’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '0600000000’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is 'default’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is 'IAX2/7777-3’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is 'Zap/1-1’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is 'Hangup’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '(null)'
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '2006-02-07 18:51:44’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '(null)'
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '2006-02-07 18:51:45’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '1’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '0’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is 'NO ANSWER’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is 'DOCUMENTATION’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '(null)'
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is 'asterisk-8916-1139334704.5’
Feb 7 18:51:45 DEBUG[8959] pbx.c: Function result is '(null)'
Feb 7 18:51:45 DEBUG[8959] chan_iax2.c: We’re hanging up IAX2/7777-3 with cause 0 now…
Feb 7 18:51:45 VERBOSE[8959] logger.c: – Hungup ‘IAX2/7777-3’
[/i]
[b]Configuration files :

Zapata.conf[/b]

; Channels
;
language=fr

switchtype=euroisdn
pridialplan=local
prilocaldialplan=local

signalling = bri_cpe_ptmp
;signalling = bri_cpe
;signalling = bri_net_ptmp
rxwink=300

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
; useincomingcalleridonzaptransfer = yes
; echotraining = no
; txgain=5.0
; rxgain=5.0
; nationalprefix = 0
; internationalprefix = 00
; faxdetect=incoming
group=1
callgroup=1
pickupgroup=1
immediate=no
context=enEntree
channel => 1-2,4-5

Zaptel.conf

Span 1: ZTHFC1 “HFC-S PCI A ISDN card 1 [TE]”

span=1,1,1,ccs,ami
bchan=1-2
dchan=3

Span 2: ZTHFC1 “HFC-S PCI A ISDN card 2 [TE]”

span=2,1,1,ccs,ami
bchan=4-5

dchan=6

Global data

loadzone = fr
defaultzone = fr


Extensions.conf

exten => _X.,1,Dial(ZAP/g1/${EXTEN},50,tr)
exten => _X.,n,Hangup
exten => _X.,102,Playtones(busy)
exten => _X.,n,Wait(10)
exten => _X.,n,Hangup
exten => _X.,202,Playtones(congestion)
exten => _X.,n,Wait(10)
exten => _X.,n,Hangup


#2

My problem comes from the migration to Asterisk 1.2.4 from 1.2.0.
After the migration, no callingout are not gone out.
Perhaps a conflict between the two versions, also, how do you do uninstall a version of asterisk before the installation of new ?

Helps me, the calling out of my Asterisk are stoped !


#3

I had some problems with ZAP channels, after upgrade.
I manually, replaced chan_zap.so.
After that I had no problems.


#4

I do your suggestion and it is the same problem, no callingout.

:blush:


#5

Hi,

With the debug core trace and verbose, I have seen the following events :

Feb 9 10:45:38 DEBUG[13013] devicestate.c: Changing state for Zap/1 - state 2 (In use)
Feb 9 10:45:38 DEBUG[13013] devicestate.c: Changing state for Zap/1 - state 2 (In use)
Feb 9 10:45:38 DEBUG[13094] app_queue.c: Device ‘IAX2/7777’ changed to state ‘2’ (In use)
Feb 9 10:45:38 DEBUG[13095] app_queue.c: Device ‘Zap/1’ changed to state ‘2’ (In use)
Feb 9 10:45:38 DEBUG[13096] app_queue.c: Device ‘Zap/1’ changed to state ‘2’ (In use)

After ZAP/1 go to hangup.

Have you an idea of that ?

Helps me… :blush: