Search the web
Sign In
New User? Sign Up
asterisk-india · Asterisk India
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Configuring Asterisk on BSNL india network for incoming calls   Message List  
Reply | Forward Message #183 of 185 |
I am trying to configure Asterisk for BSNL, india network.
I have successfully configured it for outgoing calls.

Right now trunk is able to make any call to outside world and receive
any call from outside world. As when it makes any call to outside
world then it sends proper signals for ringing, disconnection, etc.
So outside world number will receive the call and when the call is
disconnected it notifies properly to outside number about call
disconnection.
But when any outside number make any call to trunk then it receives
the call properly but when the call is disconnected by outside number
then it fails to identify disconnection tone. So it shows as if the
line is connected even after disconnection from outside world call.

Outside number receives busy signal instead of disconnect tone.


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)
exten => s,n,Hangup()

[internal]
exten => 500,1,Verbose(1|Echo test application)
exten => 500,n,Playback(hello-world) ;For testing the extension, it
will ;play "hello world"
exten => 500,n,Hangup()

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

[phones]
include => internal
include => outbound-dialing

zaptel.conf file:

fxsks=4
fxoks=1
loadzone=uk
defaultzone=uk

# /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
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
immediate=no
cidstart=ring
cid_signalling=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
busydetect=yes
busycount=6
busypattern=0,750
hanguponpolarityswitch=yes
callprogress=no
progzone=uk
ringtimeout=8000
context=incoming
channel => 4

I found following disconnection tone string:

400@-30,400@-30;4(.8/.8/1+2)

on this forum for bsnl india network.
But I don't know where to put this string in configuration files. And
whether this string will be helpful for me or not.

Any sort of help will be appreciated.

Thanks in advance

Prashant





Wed Jan 16, 2008 11:47 am

send_mail_to...
Offline Offline
Send Email Send Email

Forward
Message #183 of 185 |
Expand Messages Author Sort by Date

I am trying to configure Asterisk for BSNL, india network. I have successfully configured it for outgoing calls. Right now trunk is able to make any call to...
Prashant
send_mail_to...
Offline Send Email
Jan 16, 2008
5:50 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help