[Asterisk-Users] Zap channel not hangingup

rajkumars at asianetindia.com rajkumars at asianetindia.com
Sat Jun 4 00:19:26 MST 2005


Hi,

I am setting up a test call center using *. I am using one Zap channel
(Wildcard TDM400P REV E/F -- 4 FXO modules) for incoming call and sip
phones (SjPhone) for call agents. I have setup queues and agents. While
testing I found that if the agent presses * key in soft phone while
attending calls Zap channel gets hung up, and another customer can call.
But if the caller hangs up (for example while announcement is going on)
* does not hangup the call, and the line remains engaged. I have to
restart * to free the line. 

I am attaching all configuration files i have modified and -vvvc output
from *. I am testing this setup inside our pbx network. I plan to use
PSTN as soon as testing is over. I am in India, if that matters. 

I would also appreciate if you can point out any improvements in my
configuration files. I have tried my best to configure this based on the
docs I have read. 

Thanks and Regards,

raj

extensions.conf
---------------

[general]

static=yes
writeprotect=yes

[globals]
[bogon-calls]
exten => _.,1,Congestion

[MainMenu]
exten => s,1,Background(Welcome)
exten => 9,2,Queue(callcenter)
exten => 0,3,Hangup
exten => i,1,Goto,s
exten => t,1,Goto,s

[ivr]
exten => s,1,Answer
exten => s,2,Goto,MainMenu|s|1

[from-sip]
exten => 28,1,AgentLogin(1001)

* output while calling
----------------------

Asterisk Ready.
    -- Starting simple switch on 'Zap/1-1'
Jun  4 12:29:23 NOTICE[2910]: chan_zap.c:5624 ss_thread: Got event 2
(Ring/Answered)...
Jun  4 12:29:27 NOTICE[2910]: chan_zap.c:5624 ss_thread: Got event 2
(Ring/Answered)...
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing Goto("Zap/1-1", "MainMenu|s|1") in new stack
    -- Goto (MainMenu,s,1)
    -- Executing BackGround("Zap/1-1", "Welcome") in new stack
    -- Playing 'Welcome' (language 'en')
<Hungup the phone here>
    -- Timeout on Zap/1-1
  == CDR updated on Zap/1-1
    -- Executing Goto("Zap/1-1", "s") in new stack
    -- Goto (MainMenu,t,0)
    -- Timeout on Zap/1-1
  == CDR updated on Zap/1-1
    -- Executing Goto("Zap/1-1", "s") in new stack
    -- Goto (MainMenu,t,0)
Beginning asterisk shutdown....
    -- Hungup 'Zap/1-1'
Executing last minute cleanups
  == Destroying any remaining musiconhold processes
Asterisk cleanly ending (2).

agents.conf
-----------

[agents]
autologoff=15
wrapuptime=5000
recordagentcalls=yes
recordformat=wav
createlink=yes
group=1
ackcall=yes
agent => 1001,1234,Agent1
agent => 1002,1234,Agent2

queues.conf
-----------

[general]

[default]

[callcenter]
monitor-format = wav
announce-holdtime = yes
wrapuptime=15
musiconhold = default
announce = queue-markq
strategy = roundrobin
announce-frequency = 60
context = queue-out
member => Agent/1001
member => Agent/1002

sip.conf
--------

[general]
port = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
context =  from-sip

[mysjphone]
type=friend
host=dynamic
dtmfmode=RFC2833
username=mysjphone
secret=password
context=from-sip
disallow=all
allow=gsm
canreinvite=no
reinvite=no

zapata.conf
-----------
[channels]
signalling=fxs_ks
language=en
context=ivr
channel => 1-4
busydetect=yes

/etc/zaptel.conf
----------------
fxsks = 1-4
loadzone = uk
defaultzone= uk




More information about the asterisk-users mailing list