Hi,

On 2016-03-19 02:10, Mehdi Shirazi wrote:
Hi
this post belongs to you?
http://lists.digium.com/pipermail/asterisk-dev/2012-August/056652.html


Yes, that is my post, but it's from a long time ago and I don't keep the test setup anymore, but it is simple.
Your system.conf is correct:

dynamic=loc,1:0,31,0
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

dynamic=loc,1:1,31,0
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62

In chan_dahdi.conf the order of (some) parameters is important, so that may be the reason for the "Invalid linkset number" message.
You should start with linkset and end with sigchan ... try this:

signalling=ss7
ss7type=itu

ss7_internationalprefix=00
ss7_nationalprefix=0
ss7_subscriberprefix=S
ss7_unknownprefix=U
ss7_networkroutedprefix=O

ss7_called_nai=dynamic
ss7_calling_nai=dynamic

linkset=1
networkindicator=national
group=1
context=From_Span1
pointcode=1
defaultdpc=2
adjpointcode=2
cicbeginswith=1
channel => 1-15
cicbeginswith=17
channel => 17-31
sigchan=16

#include ss7.timers

linkset=2
networkindicator=national
group=2
context=From_Span2
pointcode=2
defaultdpc=1
adjpointcode=1
cicbeginswith=1
channel => 32-46
cicbeginswith=17
channel => 48-62
sigchan=47

#include ss7.timers


the file ss7.timers can be found if you install the config samples and the timers should be defined for every linkset in order to be used - that's why it is included twice (you will get a warning about that, which you may ignore).


espicially this part:
Yes i am testing this with two local spans (dynamic=loc,1:0,31,0 and
dynamic=loc,1:1,31,0). My initial setup was with 6 timeslots per span
(6 being the signaling and 5 CICs). Later i have tested with 24
timeslots (T1) and 31 (E1) with signalling on 1 and 16, CICs in a row
(cicbeginswitch=1 only) and in two separate groups (cicgeinswitch 1
and 17 skipping 16 as signaling) ... over 50 restarts without causing
a message loop even once.

if yes, would you please share tour configuration I want to do same
(use dahdi dummy loopback for libss7)

Regards
M.Shirazi



--- On Thu, 3/17/16, Mehdi Shirazi <mahdi_shir...@yahoo.com> wrote:

From: Mehdi Shirazi <mahdi_shir...@yahoo.com>
Subject: Re: [asterisk-ss7] Using dynamic DAHDI loop back with Libss7
To: asterisk-ss7@lists.digium.com
Cc: "Kashif Ali" <kas...@kashifbukhari.com>, kkovac...@varna.net
Date: Thursday, March 17, 2016, 4:51 PM


>> what problem are u
>>getting ?
Thank you for  replies.
At first there was no  CLI?ahdi and ss7 commands, after
I add missing definition
according to Kaloyan recomendation , now I have Dahdi and
ss7 CLI commands
but output of all of them is empty.

Regards



On
Thu, Mar 17, 2016 at 1:15 PM, Mehdi Shirazi <mahdi_shir...@yahoo.com>
wrote:
> Hi
> This is
my system.conf :
>
dynamic=loc,1:0,31,0
>
bchan=1-15,17-31
> dchan=16
> echocanceller=mg2,1-15,17-31
>
>
dynamic=loc,1:1,31,0
>
bchan=32-46,48-62
> dchan=47
> echocanceller=mg2,32-46,48-62
>
> and this is my
chan_dahdi.conf:
> [channels]
> signalling = ss7
>
ss7type = itu
>
>
group = 1
> linkset = 1
> context = one
>
slc=0
> pointcode = 1111
> adjpointcode = 2222
>
defaultdpc = 2222
> cicbeginswith = 1
> channel=1-15
> sigchan
= 16
>
> group=2
> linkset = 2
> context =
two
> slc=0    ; same slc=0 because of
loop back
> pointcode = 2222
> adjpointcode=1111
>
defaultdpc=1111
> cicbeginswitch=1
> channel=32-46
> sigchan
= 47
>
> please tell
me what is wrong in this configuration?
>
> Regards
>
> --
>
_____________________________________________________________________
> -- 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

Reply via email to