I have been working hare to get libss7 to working in asterisk. I have followed the howto instruction exactly and came to the conclusion that the zaptel driver was running the channels in 64k mode. I the tried to change it by one: changing the setting in base.c, and two by using a mode prob. I found that if I compile it into the zaptel module that it works fine although I could not get it to work with the modprob.
When I use the compiled zaptel module I then use the hardhdlc channel type in my zaptel file. This works and the ss7 signaling links come up. I then try to bring up the channels for the ss7 links and they do not. So I did some other work and plugged in a channel bank and then configured it to work. This worked fine as long as I did not have any hardhdlc channels in my zaptel config.
When I put the hardhdlc in my zaptel config I would get the asterisk operator to come on the line and she would stutter on the line. The more I play around with this the more I can conclude that it is trying to run all the channels in the box at 56k when just the one for link set should run at this setting.
I am including my configs please let me know what you think.
zaptel.conf
loadzone = us
defaultzone=us
span=1,0,0,esf,b8zs
#hardhdlc=1
span=2,1,0,esf,b8zs
mtp2=25
span=3,0,0,esf,b8zs
span=4,0,0,esf,b8zs
span=5,0,0,esf,b8zs
bchan=97-120
span=6,0,0,esf,b8zs
e&m=121-144
span=7,0,0,esf,b8zs
bchan=145-167
dchan=168
span=8,0,0,esf,b8zs
#bchan=169-191
#dchan=192
zapata.conf
[trunkgroups]
trunkgroup => 1,168
;trunkgroup => 2,192
spanmap => 7,1
;spanmap => 8,2
[channels]
language=en
context=incoming
group = 1
switchtype = 5ess
signalling = pri_net
channel => 145-167
;channel => 169-191
signalling = ss7
ss7type = ansi
ss7_called_nai=dynamic
ss7_calling_nai=dynamic
linkset = 1
pointcode = 005-054-160
defaultdpc = 248-216-000
networkindicator=national
adjpointcode = 248-216-000
sigchan = 25
defaultdpc = 248-229-036
cicbeginswith = 1
channel = 97-120
;defaultdpc = 248-229-001
;cicbeginswith = 1
;channel = 121-144
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=no
transfer=no
echocancel=no
echotraining=no
echocancelwhenbridged = no
group = 2
signalling=em
immediate=no
context=incoming
channel => 121-144
Ideally I would like mtp2 to be in 56k mode and only set the one channel to 56k rather than everything in the box.
Thanks
Sam Murk