[asterisk-ss7] Force out-bond call to specific CIC

Rafael Prado Rocchi prado at practis.com.br
Wed Jul 13 19:53:29 CDT 2016


Hi,
I'm considering you are using libss7 implementation, you can access CIC directly using the same syntax dahdi uses to direct access channels.

Syntax:
Dial(dahdi/2/${your_destination})
Dial(dahdi/15/${your_destination})


Pointing to dahhi channel-number directly.
You must first assign "CIC numbers" ->  to "Dahdi channels" in chan_dahdi.conf



example chan_dahdi.conf  (parts are missing to focus on CIC mappings)

signalling=ss7
ss7type=itu
linkset=1
networkindicator=national
pointcode=0-0-1
adjpointcode=0-0-2
sigchan=24

cicbeginswith=1
channel=1-23  ; (Add DAHDI/1 to DAHDI/23 to linkset 1 and maps them from CIC 1 to CIC 23)



Here is another example:

linkset=1
pointcode=12251
defaultdpc=6332

cicbeginswith=34
channel=2-31
cicbeginswith=66
channel=33-62
cicbeginswith=98
channel=64-93


This will result:

*CLI> ss7 show cics 1

  CIC   DPC  DAHDI        STATE   BLOCKING
   34  6332      2         Idle
   35  6332      3         Idle
   36  6332      4         Idle
   37  6332      5         Idle
   38  6332      6         Idle
   39  6332      7         Idle
   40  6332      8         Idle
   41  6332      9         Idle
   42  6332     10         Idle
   43  6332     11         Idle
   44  6332     12         Idle
   45  6332     13         Idle
   46  6332     14         Idle
   47  6332     15         Idle
   48  6332     16         Idle
   49  6332     17         Idle
   50  6332     18         Idle
   51  6332     19         Idle
   52  6332     20         Idle
   53  6332     21         Idle
   54  6332     22         Idle
   55  6332     23         Idle
   56  6332     24         Idle
   57  6332     25         Idle
   58  6332     26         Idle
   59  6332     27         Idle
   60  6332     28         Idle
   61  6332     29         Idle
   62  6332     30         Idle
   63  6332     31         Idle
   66  6332     33         Idle
   67  6332     34         Idle
   68  6332     35         Idle
   69  6332     36         Idle
   70  6332     37         Idle
   71  6332     38         Idle
   72  6332     39         Idle
   73  6332     40         Idle
   74  6332     41         Idle
   75  6332     42         Idle
   76  6332     43         Idle
   77  6332     44         Idle
   78  6332     45         Idle
   79  6332     46         Idle
   80  6332     47         Idle
   81  6332     48         Idle
   82  6332     49         Idle
   83  6332     50         Idle
   84  6332     51         Idle
   85  6332     52         Idle
   86  6332     53         Idle
   87  6332     54         Idle
   88  6332     55         Idle
   89  6332     56         Idle
   90  6332     57         Idle
   91  6332     58         Idle
   92  6332     59         Idle
   93  6332     60         Idle


[ Dial dahdi/3 and you will be using CIC 35 ]


Examples above are from this list (about 3 years ago). Currently I don't know about SS7 implementation on recent asterisk versions, and maybe something could be changed.
For past versions based on libss7 , you can use like this.

Hope the information helps.

What asterisk version and ss7 based implementation are you using?


Regards,
Rafael Prado



De: <asterisk-ss7-bounces at lists.digium.com<mailto:asterisk-ss7-bounces at lists.digium.com>> em nome de Mehdi Shirazi <mahdi_shirazi at yahoo.com<mailto:mahdi_shirazi at yahoo.com>>
Responder para: Mehdi Shirazi <mahdi_shirazi at yahoo.com<mailto:mahdi_shirazi at yahoo.com>>, "asterisk-ss7 at lists.digium.com<mailto:asterisk-ss7 at lists.digium.com>" <asterisk-ss7 at lists.digium.com<mailto:asterisk-ss7 at lists.digium.com>>
Data: quarta-feira, 13 de julho de 2016 20:09
Para: "asterisk-ss7 at lists.digium.com<mailto:asterisk-ss7 at lists.digium.com>" <asterisk-ss7 at lists.digium.com<mailto:asterisk-ss7 at lists.digium.com>>
Assunto: [asterisk-ss7] Force out-bond call to specific CIC

Hi
How is it possible to use Dial application to force out-bond call use "specified channel" number in one E1 or specified CIC (SS7) ?

Regards
M.Shirazi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20160714/f6f3dfaa/attachment.html>


More information about the asterisk-ss7 mailing list