[asterisk-ss7] Can't compile the latest Asterisk from SVN trunk

Rana Dhekial dhekial at msn.com
Tue Apr 21 10:04:53 CDT 2009


Thanks. It has now compiled.  I am not sure whether it is coincidental but now my span 1 and ss7 linkset are down

 

[root at ildserver ~]# asterisk -rx "dahdi show status"
Description                              Alarms  IRQ    bpviol CRC4   Fra Codi O                                ptions  LBO
T4XXP (PCI) Card 0 Span 1                YEL/RED 0      0      0      CCS HDB3 Y                                EL      0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 2                OK      0      0      0      CCS HDB3 Y                                EL      0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 3                OK      0      0      0      CCS HDB3 Y                                EL      0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 4                UNCONFI 0      0      0      CAS Unk  Y                                EL      0 db (CSU)/0-133 feet (DSX-1)


[root at ildserver asterisk]# asterisk -rx "ss7 show linkset 1"
SS7 linkset 1 status: Down
[root at ildserver asterisk]# asterisk -rx "dahdi show version"
DAHDI Version: SVN-trunk-r6409 Echo Canceller:
[root at ildserver asterisk]# asterisk -rx "ss7 show version"
libss7 version: SVN-branch-1.0-r250
[root at ildserver asterisk]# asterisk -rx "core show version"
Asterisk SVN-trunk-r189539 built by root @ ildserver on a i686 running Linux on 2009-04-20 23:33:13 UTC



This SS7 link comes up if I move these E1s to a different server having similar TE420 card.

 

So I am now wondering whether I sould connect the three SS7 ckts coming from PSTN to span2, 3 and 4.

 

linkset=1
group=1
signalling=ss7
ss7type=itu
ss7_called_nai=dynamic
ss7_calling_nai=dynamic
pointcode=3007
adjpointcode=147
defaultdpc=147
context=from-outside_c7
networkindicator=national_spare
cicbeginswith=1
channel => 1-15   --->change to 32-46
cicbeginswith=17
channel => 17-31  --->change to 48-62 
sigchan=16
cicbeginswith=32
channel => 32-46   ----> change to 63-77
channel => 48-62   ----> change to 79-93
cicbeginswith=63
channel => 63-77   ----->change to 94-108
channel => 79-93  ----->change to  110-124

 

 

In this case do I need to change the following existing /etc/dahdi/system.conf ?

 

span=1,1,0,ccs,hdb3
bchan=1-15,17-31
mtp2=16
span=2,2,0,ccs,hdb3
bchan=32-46,48-62
span=3,3,0,ccs,hdb3
bchan=63-77,79-93
span=4,4,0,ccs,hdb3

bchan=94-108,110-124

 


thanks,

 

 

 

 

 

 


 
> Date: Mon, 20 Apr 2009 19:59:13 -0300
> From: ngreco at gmail.com
> To: asterisk-ss7 at lists.digium.com
> Subject: Re: [asterisk-ss7] Can't compile the latest Asterisk from SVN trunk
> 
> Try compiling and installing the libss7 1.0 branch before compiling
> Asterisk, download it with:
> 
> svn co http://svn.digium.com/svn/libss7/branches/1.0/ libss7-1.0
> 
> Saludos,
> Nahuel Greco.
> 
> 
> 
> On Mon, Apr 20, 2009 at 7:51 PM, Rana Dhekial <dhekial at msn.com> wrote:
> > Hi,
> >
> > I have been told by Digium to use the latest SVN trunk version of Asterisk
> > to resolve the transcoder card ( TC400B )'s issue. Unfortunately I am unable
> > to compile this version and I get the following error.  I am using the
> > latest libss7 trunk version from SVN.
> >
> >   [CC] chan_dahdi.c -> chan_dahdi.o
> > chan_dahdi.c: In function âss7_reset_linksetâ:
> > chan_dahdi.c:11181: warning: passing argument 2 of âisup_grsâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11181: error: too many arguments to function âisup_grsâ
> > chan_dahdi.c: In function âss7_linksetâ:
> > chan_dahdi.c:11544: warning: passing argument 2 of âisup_graâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11544: warning: passing argument 4 of âisup_graâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11750: warning: passing argument 2 of âisup_cgbaâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11750: warning: passing argument 4 of âisup_cgbaâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11750: error: too many arguments to function âisup_cgbaâ
> > chan_dahdi.c:11760: warning: passing argument 2 of âisup_cguaâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11760: warning: passing argument 4 of âisup_cguaâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11760: error: too many arguments to function âisup_cguaâ
> > chan_dahdi.c:11786: warning: passing argument 2 of âisup_blaâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11786: error: too many arguments to function âisup_blaâ
> > chan_dahdi.c:11811: warning: passing argument 2 of âisup_ubaâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:11811: error: too many arguments to function âisup_ubaâ
> > chan_dahdi.c: In function âlinkset_addsigchanâ:
> > chan_dahdi.c:15680: warning: passing argument 3 of âss7_add_linkâ makes
> > pointer from integer without a cast
> > chan_dahdi.c:15680: error: too few arguments to function âss7_add_linkâ
> > chan_dahdi.c:15682: warning: passing argument 3 of âss7_add_linkâ makes
> > pointer from integer without a cast
> > chan_dahdi.c:15682: error: too few arguments to function âss7_add_linkâ
> > chan_dahdi.c:15706: warning: implicit declaration of function
> > âss7_set_adjpcâ
> > chan_dahdi.c: In function âhandle_ss7_block_cicâ:
> > chan_dahdi.c:15805: warning: passing argument 2 of âisup_bloâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:15805: error: too many arguments to function âisup_bloâ
> > chan_dahdi.c: In function âhandle_ss7_block_linksetâ:
> > chan_dahdi.c:15861: warning: passing argument 2 of âisup_bloâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:15861: error: too many arguments to function âisup_bloâ
> > chan_dahdi.c: In function âhandle_ss7_unblock_cicâ:
> > chan_dahdi.c:15915: warning: passing argument 2 of âisup_ublâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:15915: error: too many arguments to function âisup_ublâ
> > chan_dahdi.c: In function âhandle_ss7_unblock_linksetâ:
> > chan_dahdi.c:15965: warning: passing argument 2 of âisup_ublâ makes pointer
> > from integer without a cast
> > chan_dahdi.c:15965: error: too many arguments to function âisup_ublâ
> > make[1]: *** [chan_dahdi.o] Error 1
> > make: *** [channels] Error 2
> >
> > Any idea
> >
> > thanks,
> >
> > Rana
> >
> >
> > ________________________________
> > Windows Live™: Keep your life in sync. Check it out.
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-ss7 mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-ss7
> >
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7

_________________________________________________________________
Rediscover Hotmail®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates2_042009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20090421/34f04d65/attachment-0001.htm 


More information about the asterisk-ss7 mailing list