I am trying to configure Asterisk for BSNL, india network.<br>
I have successfully configured it for outgoing calls.
<p> 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. <br></p>
<p>Asterisk incoming call log:</p><p>-- Executing [s@incoming:2] Dial("Zap/4-1", "Zap/1") in new stack<br> -- Called 1<br> -- Zap/1-1 is ringing<br> -- Zap/1-1 is ringing<br>[Jan 17 11:53:54] WARNING[5030]: chan_zap.c:4153 zt_handle_event: Didn't finish Caller-ID spill. Cancelling.
<br> -- Zap/1-1 is ringing<br> -- Zap/1-1 is ringing<br> -- Zap/1-1 is ringing<br> -- Zap/1-1 answered Zap/4-1<br> -- Native bridging Zap/4-1 and Zap/1-1<br> -- Hungup 'Zap/1-1'<br> == Spawn extension (incoming, s, 2) exited non-zero on 'Zap/4-1'
<br> -- Hungup 'Zap/4-1'<br></p><p><br></p><p>My system information is as follows:</p>
<p>OS and components:</p>
<p>CentOS 4.5<br>
Asterisk 1.4.17<br>
Zaptel <a href="http://1.4.7.1">1.4.7.1</a><br>
Libpri 1.4.3</p>
<p>extensions.conf<br>
[globals]<br>
OUTBOUNDTRUNK=Zap/4</p>
<p>[incoming]<br>
; incoming calls from FXO<br>
exten => s,1,Dial(Zap/1)<br><br></p>
<p>[outbound-dialing]<br>
;Outbound dialing<br>
exten => _X.,1,Verbose(1|Outside number|${EXTEN})<br>
exten => _X.,n,Dial(${OUTBOUNDTRUNK}/${EXTEN})</p>
<p>[phones]<br>include => outbound-dialing</p>
<p>zaptel.conf file:</p>
<p>fxsks=4<br>
fxoks=1<br>
loadzone=in<br>
defaultzone=in</p>
<p># /sbin/ztcfg -vv this linux command gives following output:</p><p>
Zaptel Version: <a href="http://1.4.7.1">1.4.7.1</a><br>
Echo Canceller: MG2<br>
Configuration<br>
======================</p>
<p>Channel map:</p>
<p>Channel 01: FXO Kewlstart (Default) (Slaves: 01)<br>
Channel 04: FXS Kewlstart (Default) (Slaves: 04)</p>
<p>2 channels to configure.</p>
<p>zapata.conf file looks like:<br>
[trunkgroups]<br>
; Define</p>
<p>[channels]<br>
;hardware channels<br>
;default<br>
usecallerid=yes<br>
hidecallerid=no<br>echocancel=yes<br>
echotraining=yes<br>callwaiting=no<br>immediate=no<br>
cidstart=ring<br>
cidsignalling=dtmf</p><br>
<p>;define channels<br>
signalling=fxo_ks ;Use FXO signaling for FXS channel<br>
context=phones<br>
channel => 1</p>
<p>signalling=fxs_ks ;Use FXS signaling for FXO channel<br>context=incoming<br>
channel => 4</p>Any sort of help will be appreciated.
<p>Thanks in advance</p>
<p>Prashant</p>