As a part of my plan to implement calling card platform (a2billing),I had installed 2 TDM FXO 2406B cards and installed asterisk,zaptel,libpri - 1.4 versions.
where as BOARD1 will be outgoing lines 24 channels and Board 2 Incoming lines 24 channels.
Configuration details :
zapata.conf (apart from default configuration) – 1) signalling=fxs_ks,
;General Options
usecallerid=yes
hidecallerid=no
threewaycalling=yes
transfer=yes
;; FXO Modules
Group=1
signalling=fxs_ks
context=Incoming
channel=1-24
;; FXO Module II
Group=2
signalling=fxs_ks
context=outgoing
channel=25-48
zaptel.conf - except default configuration
i had added " fxs_ks=1-24"incoming , fxs_ks=25-48 (Board 2)outgoing.when i made test call at first it was re-directed to “demo-instruction” default zaptel prompt of asterisk and even it is routing to IAX server of digium.
but when i add a2billing extension as following at extensions.conf other than what ever default is there;
[a2billing]
; CallingCard application
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI,a2billing.php
exten => _X.,4,Wait,2
exten => _X.,5,Hangup
then i had removed the ‘s’ extension configuration that is routing call default to the “demo-instruct” of asterisk,
then when i dial it says invalid extension.
Pls help me out on this how to route incomings calls to board designated for out going.
latest log on asterisk i found :
Asterisk Ready.
*CLI> – Starting simple switch on ‘Zap/1-1’
[Mar 14 12:15:53] ERROR[3262]: callerid.c:564 callerid_feed: fsk_serie made myle n < 0 (-1)
[Mar 14 12:15:53] WARNING[3262]: chan_zap.c:6416 ss_thread: CallerID feed failed : Success
[Mar 14 12:15:53] WARNING[3262]: chan_zap.c:6516 ss_thread: CallerID returned wi th error on channel ‘Zap/1-1’
== Starting Zap/1-1 at incoming,s,1 failed so falling back to exten ‘s’
== Starting Zap/1-1 at incoming,s,1 still failed so falling back to context ‘d efault’
– Executing [s@default:1] Wait(“Zap/1-1”, “1”) in new stack
– Executing [s@default:2] Answer(“Zap/1-1”, “”) in new stack
– Executing [s@default:3] Set(“Zap/1-1”, “TIMEOUT(digit)=5”) in new stack
– Digit timeout set to 5
– Executing [s@default:4] Set(“Zap/1-1”, “TIMEOUT(response)=10”) in new sta ck
– Response timeout set to 10
– Executing [s@default:5] BackGround(“Zap/1-1”, “demo-congrats”) in new sta ck
– <Zap/1-1> Playing ‘demo-congrats’ (language ‘en’)
– Invalid extension ‘57’ in context ‘default’ on Zap/1-1
== CDR updated on Zap/1-1
– Executing [i@default:1] Playback(“Zap/1-1”, “invalid”) in new stack
– <Zap/1-1> Playing ‘invalid’ (language ‘en’)
== Auto fallthrough, channel ‘Zap/1-1’ status is ‘UNKNOWN’
– Hungup ‘Zap/1-1’