[asterisk-ss7] how to install Asterisk-ss7 & libss7
umar tarar
umar.tarar at gmail.com
Mon Oct 9 09:03:09 MST 2006
hi Matt.!
making my entry again with a prob, & that is, before connecting to the ss7
E1 link, i re-checked all the three (zaptel-trunk, libss7 & asterisk-trunk)
to hav the latest versions, they got compiled all fine, but when i
configured and run the asterisk with the ss7 E1 link connected, asterisk ran
all ok but nothing ever appears on CLI & no call comes in, my conf is
following:
----zaptel.conf----
pan=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
loadzone=uk
defaultzone=uk
-----------------------
---zapata.conf---
[channels]
context=zapIncoming
switchtype=5ess
;signalling=fxo_ls
usecallerid=yes
hidecallerid=no
echocancel=yes
echocancelwhenbridged=yes
musiconhold=default
signalling = ss7
ss7type = itu
linkset = 1
;pointcode = 0x1680
pointcode = 5760
;djpointcode = 0x168a
djpointcode = 5770
;defaultdpc = 0x168a
defaultdpc = 5770
cicbeginswith = 1
networkindicator=national
sigchan = 16
channel = 1-31
----------------------
now with this conf, simply nothing happens on the ast CLI, no calls, no
errors just nothing.....i believe i m missing somthing
plz guide me as i feel that i am close to hav my ss7 link up with my
asterisk
On 10/8/06, Matt Fredrickson <creslin at digium.com> wrote:
>
> Well, technically you could disregard those messages. I just hadn't
> written handlers for them, and they don't matter since we don't bring the
> link up until we get a TRA from the other end. Not having the specs in
> front of me right now, I believe you are getting TRP messages from the other
> end when the link first comes up, but you are getting a TRA after that
> (which you should) and that brings the ISUP layer up. Your link looks like
> it has come up.
>
> I think that I should probably just write a little handler for that
> message so that it doesn't make an error message anymore. I'll see if I can
> do that in my next update (along with TON and the like).
>
> Matthew Fredrickson
>
> ----- Mr.Surender Reddy <gvsurenderreddy at gmail.com> wrote:
> > Dear sir,
> > I have configured as u written to me but iam getting this messages can
> > u please help me sir .my orgination point code is 124 and destination
> > point code is 31 and 32 in decimal in HEX 0-15-4 and 0-3-7 , 0-4-0.If
> > u dont mind can please guide me sir
> >
> > [ Oct 7 17:51:39 ] ERROR[1599]: chan_zap.c:8711 zt_ss7_error: !!
> > Unable to handle SIG_NET_MNG message with H1 = 1 and H0 = 4
> > [ Oct 7 17:51:39 ] ERROR[1599]: chan_zap.c:8711 zt_ss7_error: Received
> > error from mtp3 layer: -1
> > [ Oct 7 17:51:39 ] ERROR[1598]: chan_zap.c:8711 zt_ss7_error: !!
> > Unable to handle SIG_NET_MNG message with H1 = 1 and H0 = 4
> > [ Oct 7 17:51:39 ] ERROR[1598]: chan_zap.c:8711 zt_ss7_error: Received
> > error from mtp3 layer: -1
> > [ Oct 7 17:51:39 ] ERROR[1599]: chan_zap.c:8711 zt_ss7_error: !!
> > Unable to handle SIG_NET_MNG message with H1 = 1 and H0 = 4
> > [ Oct 7 17:51:39 ] ERROR[1599]: chan_zap.c:8711 zt_ss7_error: Received
> > error from mtp3 layer: -1
> > [ Oct 7 17:51:39 ] ERROR[1598]: chan_zap.c:8711 zt_ss7_error: !!
> > Unable to handle SIG_NET_MNG message with H1 = 1 and H0 = 4
> > [ Oct 7 17:51:39 ] ERROR[1598]: chan_zap.c:8711 zt_ss7_error: Received
> > error from mtp3 layer: -1
> > --- SS7 Up ---
> > [ Oct 7 17:51:39 ] ERROR[1599]: chan_zap.c:8711 zt_ss7_error: -- !!
> > Unable to handle SIG_NET_MNG message with H1 = 1 and H0 = 4
> > Resetting CICs 1 to 15
> > [ Oct 7 17:51:39 ] ERROR[1599]: chan_zap.c:8711 zt_ss7_error: --
> > Received error from mtp3 layer: -1
> > Resetting CICs 17 to 62
> > --- SS7 Up ---
> > -- Resetting CICs 63 to 77
> > -- Resetting CICs 79 to 124
> >
> > regards
> > surender
> >
> > On 29/09/06 , Matthew Fredrickson < creslin at digium.com > wrote: There
> > already is a zapata.conf sample config. You included it in your
> > reply. The zaptel.conf is setup just like you setup your PRI, with
> > your bearers setup as bchans and your signalling channel(s) as dchan.
> >
> > For an F-link, with one signalling channel zaptel.conf would look
> > something like this (for the channel layout)
> >
> > bchan=1-15
> > dchan=16
> > bchan=17-31
> >
> > Your zapata.conf would looks something like this:
> > signalling=ss7
> > ss7type=itu
> > ; which linkset all of these options apply to
> > linkset=1
> > ; This is your point code
> > pointcode=1111
> > ; This is the pointcode that your ISUP messages are sent to
> > defaultdpc=2222
> > ; This is the pointcode of the node adjacent to this link
> > adjpointcode=2222
> > ; This is the channel number of your signalling channel (your dchan
> > option in zaptel.conf
> > sigchan=16
> > ; Context calls will come into
> > context=ss7
> > ; This will map Zap/1-15 as CICs 1-15
> > cicbeginswith=1
> > channel=1-15
> > ; This will map Zap/17-31 as CICs 17-31
> > cicbeginswith=17
> > channel=17-31
> >
> > To do it with another linkset, just duplicate all of the above, but
> > just change linkset=2 and set your options for that linkset.
> >
> > Matthew Fredrickson
> >
> >
> > On Sep 29, 2006 , at 1:49 PM, Mr.Surender Reddy wrote:
> >
> > > Dear sir,
> > > If you dont mind can u please give me a sample conf file
> > > like what Chanss7 people give in their list If u can add somthing
> > like
> > > that .So that it will be easy for many to try this new development.
> > >
> > > regards
> > > surender
> > >
> > >
> > > On 29/09/06 , Matthew Fredrickson < creslin at digium.com > wrote: It
> > looks
> > > like you're trying to terminate 2 linksets on one machine.
> > >> Just set it up so that you have two linksets in zapata.conf.You
> > >> can't
> > >> do comma separation for your sigchan and defaultdpc.You have to
> > >> declare those one at a time.Also, your zaptel.conf needs to have
> > >> your
> > >> signalling channel set to be dchan (or hardhdlc if you're using a
> > card
> > >> that supports it).
> > >>
> > >> Matthew Fredrickson
> > >>
> > >> On Sep 29, 2006 , at 3:09 AM, Mr.Surender Reddy wrote:
> > >>
> > >> > Dear Matthew,
> > >> > I Thankx for our Intrest to help me out in
> > >> > this.Below are the Details which iam using for Chanss7 .But i
> > want
> > >> to
> > >> > try Libss7 Please help me out.
> > >> >
> > >> > ss7.conf of Chanss7
> > >> >
> > >> >
> > >> >
> > >> > [linkset-Ts1]
> > >> >
> > >> > enabled => yes
> > >> >
> > >> > enable_st => yes
> > >> >
> > >> > use_connect => yes
> > >> >
> > >> > hunting_policy => seq_htl
> > >> >
> > >> > context => ss7
> > >> >
> > >> > subservice => 8
> > >> >
> > >> > [linkset-Ts2]
> > >> >
> > >> > enabled => yes
> > >> >
> > >> > enable_st => yes
> > >> >
> > >> > use_connect =>yes
> > >> >
> > >> > hunting_policy => seq_htl
> > >> >
> > >> > context => ss7
> > >> >
> > >> > subservice => 8
> > >> >
> > >> > [link-l1]
> > >> >
> > >> > linkset => Ts1
> > >> >
> > >> > channels => 1-15,17-31
> > >> >
> > >> > schannel => 16
> > >> >
> > >> > firstcic => 1
> > >> >
> > >> > enabled => yes
> > >> >
> > >> > [link-l2]
> > >> >
> > >> > linkset => Ts1
> > >> >
> > >> > channels => 1-31
> > >> >
> > >> > schannel =>
> > >> >
> > >> > firstcic => 33
> > >> >
> > >> > enabled => YES
> > >> >
> > >> > [link-l3]
> > >> >
> > >> > linkset => Ts2
> > >> >
> > >> > channels =>1-15,17-31
> > >> >
> > >> > schannel => 16
> > >> >
> > >> > firstcic => 1
> > >> >
> > >> > enabled => yes
> > >> >
> > >> > [link-l4]
> > >> >
> > >> > linkset => Ts2
> > >> >
> > >> > channels => 1-31
> > >> >
> > >> > schannel =>
> > >> >
> > >> > firstcic => 33
> > >> >
> > >> > enabled => YES
> > >> >
> > >> > [host-localhost.localdomain]
> > >> >
> > >> > enabled => yes
> > >> >
> > >> > default_linkset => Ts2
> > >> >
> > >> > opc => 124
> > >> >
> > >> > dpc => Ts1:31,Ts2:32
> > >> >
> > >> > links => l1:1,l2:2,l3:3,l4:4
> > >> > This is the zaptel.conf
> > >> >
> > >> >
> > >> >
> > >> > span=1,0,0,ccs,hdb3
> > >> >
> > >> > bchan = 1-31
> > >> >
> > >> > span=2,0,0,ccs,hdb3
> > >> >
> > >> > bchan=32-62
> > >> >
> > >> > span=3,0,0,ccs,hdb3
> > >> >
> > >> > bchan=63-93
> > >> >
> > >> > span=4,1,0,ccs,hdb3
> > >> >
> > >> > bchan=94-124
> > >> >
> > >> >
> > >> > loadzone = us
> > >> >
> > >> > defaultzone = us
> > >> > I have compiled the Libss7 and tried to use that but iam unable
> > to
> > >> use
> > >> > that as Zapta.conf i couldnt configure fine i tired this way i
> > dont
> > >> > think that is correct Can u please see this Zapta.conf which i
> > >> wanted
> > >> > to use for libss7
> > >> >
> > >> >
> > >> > Signaling type SS7
> > >> > signalling = ss7
> > >> >
> > >> > ; Variant of SS7 signaling:
> > >> > ; Options are itu and ansi
> > >> > ss7type = itu
> > >> >
> > >> > ; All settings apply to linkset 1
> > >> > linkset = 1
> > >> >
> > >> > ; Point code of the linkset
> > >> > pointcode = 124
> > >> >
> > >> > ; Point code of node adjacent to this signaling link (Possibly
> > the
> > >> STP
> > >> > between you and
> > >> > ; your destination)
> > >> > adjpointcode = 31,32
> > >> >
> > >> > ; Default point code that you would like to assign to outgoing
> > >> > messages (in case of
> > >> > ; routing through STPs, or using A links)
> > >> > defaultdpc = 31,32
> > >> >
> > >> > ; Begin CIC (Circuit indication codes) count with this number
> > >> > cicbeginswith = 1
> > >> >
> > >> > ; What the MTP3 network indicator bits should be set to. Choices
> > >> are
> > >> > ; national, national_spare, international, international_spare
> > >> > networkindicator=national
> > >> >
> > >> > ; First signaling channel
> > >> > sigchan = 16
> > >> >
> > >> > ; Channels to associate with CICs on this linkset
> > >> > channel = 25-47
> > >> > regards
> > >> > surender
> > >> >
> > >> >
> > >> > On 28/09/06 , Matthew Fredrickson < creslin at digium.com > wrote:
> > What
> > >> is
> > >> > the layout of your spans (which channel is the signalling
> > >> >> channel on) and what is your layout of your CICs ( i.e. what
> > >> channels
> > >> >> map to which CICs).After you find that out post your zaptel.conf
> > >> and
> > >> >> zapata.conf and we'll see if we can sort it out.
> > >> >>
> > >> >> Matthew Fredrickson
> > >> >>
> > >> >> On Sep 28, 2006 , at 1:49 AM, Mr.Surender Reddy wrote:
> > >> >>
> > >> >> > HI Matthew,
> > >> >> > Iam using Chanss7 i would like to test Libss7 iam
> > >> >> > unable to configure my SS7 channels with this version I have
> > two
> > >> ss7
> > >> >> > Links i would like to test both on this machine.How can i do
> > this
> > >> >> can
> > >> >> > u please guide me if u dont mind.
> > >> >> >
> > >> >> > regards
> > >> >> > surender
> > >> >> >
> > >> >> >
> > >> >> > On 27/09/06 , Matthew Fredrickson < creslin at digium.com >
> > wrote:
> > >> >> >> On Sep 26, 2006 , at 9:44 PM, Rob Hillis wrote:
> > >> >> >>
> > >> >> >> >> Also, you may want to get asterisk trunk as well, since
> > >> >> >> >> that I merged in all the libss7 changes from the
> > asterisk-ss7
> > >> >> >> branch
> > >> >> >> >> into asterisk-trunk. (svn co
> > >> >> >> http://svn.digium.com/svn/asterisk/trunk
> > >> >> >>>> asterisk-trunk)
> > >> >> >> >
> > >> >> >> >
> > >> >> >> > So does this mean that the asterisk-ss7 branch is no longer
> > >> under
> > >> >> >> > development and all future changes are going to be made to
> > the
> > >> >> >> Asterisk
> > >> >> >> > trunk?Should I be looking at moving from the asterisk-ss7
> > >> branch
> > >> >> >> to
> > >> >> >> > the
> > >> >>>> > main asterisk trunk?
> > >> >> >>
> > >> >> >> For the time being, yes, that would probably be a good idea.I
> > >> think
> > >> >> >> I
> > >> >> >> may re-branch the asterisk-ss7 branch whenever the 1.4
> > release
> > >> >> comes
> > >> >> >> out though and backport the changes in trunk to the 1.4 based
> > >> ss7
> > >> >> >> branch.
> > >> >>
> > >> >> _______________________________________________
> > >> >> --Bandwidth and Colocation provided by Easynews.com --
> > >> >>
> > >> >> asterisk-ss7 mailing list
> > >> >> To UNSUBSCRIBE or update options visit:
> > >> >> http://lists.digium.com/mailman/listinfo/asterisk-ss7
> > >> > _______________________________________________
> > >> > --Bandwidth and Colocation provided by Easynews.com --
> > >> >
> > >> > asterisk-ss7 mailing list
> > >> > To UNSUBSCRIBE or update options visit:
> > >> > http://lists.digium.com/mailman/listinfo/asterisk-ss7
> > >>
> > >> _______________________________________________
> > >> --Bandwidth and Colocation provided by Easynews.com --
> > >>
> > >> asterisk-ss7 mailing list
> > >> To UNSUBSCRIBE or update options visit:
> > >> http://lists.digium.com/mailman/listinfo/asterisk-ss7
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > >
> > > asterisk-ss7 mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-ss7
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-ss7 mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
--
|__\__/__| /__/ \__\ |__| \__|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20061009/5c93e6ab/attachment-0001.htm
More information about the asterisk-ss7
mailing list