I am trying to configure Asterisk for BSNL, india network.
I have successfully configured it for outgoing calls.

When any outside number make any call to trunk then it receives the call
properly but when the call is disconnected by inside extension then outside
phone does not get a busy tone.

Asterisk incoming call log:

-- Executing [EMAIL PROTECTED]:2] Dial("Zap/4-1", "Zap/1") in new stack
    -- Called 1
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
[Jan 17 11:53:54] WARNING[5030]: chan_zap.c:4153 zt_handle_event: Didn't
finish Caller-ID spill.  Cancelling.
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Zap/1-1 answered Zap/4-1
    -- Native bridging Zap/4-1 and Zap/1-1
    -- Hungup 'Zap/1-1'
  == Spawn extension (incoming, s, 2) exited non-zero on 'Zap/4-1'
    -- Hungup 'Zap/4-1'


My system information is as follows:

OS and components:

CentOS 4.5
Asterisk 1.4.17
Zaptel 1.4.7.1
Libpri 1.4.3

extensions.conf
[globals]
OUTBOUNDTRUNK=Zap/4

[incoming]
; incoming calls from FXO
exten => s,1,Dial(Zap/1)

[outbound-dialing]
;Outbound dialing
exten => _X.,1,Verbose(1|Outside number|${EXTEN})
exten => _X.,n,Dial(${OUTBOUNDTRUNK}/${EXTEN})

[phones]
include => outbound-dialing

zaptel.conf file:

fxsks=4
fxoks=1
loadzone=in
defaultzone=in

# /sbin/ztcfg -vv this linux command gives following output:

Zaptel Version: 1.4.7.1
Echo Canceller: MG2
Configuration
======================

Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

2 channels to configure.

zapata.conf file looks like:
[trunkgroups]
; Define

[channels]
;hardware channels
;default
usecallerid=yes
hidecallerid=no
echocancel=yes
echotraining=yes
callwaiting=no
immediate=no
cidstart=ring
cidsignalling=dtmf

;define channels
signalling=fxo_ks ;Use FXO signaling for FXS channel
context=phones
channel => 1

signalling=fxs_ks ;Use FXS signaling for FXO channel
context=incoming
channel => 4
Any sort of help will be appreciated.

Thanks in advance

Prashant
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to