[asterisk-ss7] chan_ss7 configuration

Mike Tesliuk mike at ultra.net.br
Fri May 17 18:28:24 CDT 2013


Hello Guys,

We are trying to conifgura a chan_ss7 for test, we have asterisk working
with ss7 (using libss7) without problems, but we cant up a link with
chan_ss7 at now.

One question that i have is about the opc and dpc , should i use in decimal
format or in hex format ?

my pointcode is  1633, and my dpc is 3979

i try convert this value and get a value of 661 to pointcode and f8b to dpc

below you have my ss7.conf file


;Linkset com a central tlf Vila Uniao
[linkset-vilauniao]
hunting_policy => even_mru
enabled => yes
enable_st = yes
use_connect => yes
context=telesp
language=pt_BR
subservice => auto


;Linkset com a central tlf perdizes
[linkset-perdizes]
hunting_policy => even_mru
enabled => yes
enable_st = no
use_connect => yes
context=telesp
language=pt_BR
subservice => auto



;Link canal de voz - central 160 => Bras
[link-l160]
linkset => vilauniao
channels => 1-31
firstcic => 1
enabled => yes
schannel =>
sltm => no

;Link canal de voz - central 163 => Sta efigenia
[link-l163]
linkset => perdizes
channels => 1-31
firstcic => 32
enabled => yes
schannel =>
sltm => no

;Link canais de voz - central 3979 ldn => Vila Uniao
[link-l3979]
linkset => vilauniao
channels => 1-15,17-31
schannel => 16
firstcic => 63
enabled => yes
sltm => no

;Link canais de voz - central 3980 ldn => Perdizes
[link-l3980]
linkset => perdizes
channels => 1-14,17-31
schannel => 15
firstcic => 94
enabled => yes
sltm => no

[host-interconexao2]
enabled => yes
default_linkset => vilauniao
opc => 661
dpc => vilauniao:f8b,perdizes:f8c
if-1 => 187.109.36.31
links => l160:1,l163:2,l3979:3,l3980:4





and when i try to start asterisk i get the message below

[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured
link 'l160' on linkset 'vilauniao', firstcic=1
[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured
link 'l163' on linkset 'perdizes', firstcic=32
[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured
link 'l3979' on linkset 'vilauniao', firstcic=63
[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured
link 'l3980' on linkset 'perdizes', firstcic=94
[May 17 20:11:17] ERROR[2599]: config.c:892 load_config_host: Invalid DPC
value 'f8b' for linkset 'vilauniao' for host




if i try to put my configuration using decimal format i get the link up,
but i receive a lot of timeouts on (see below)

[May 17 18:15:25] NOTICE[21373]: mtp.c:669 mtp_changeover: Failover not
possible, no other signalling link and no other host available.
[May 17 18:15:25] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now
DOWN on link 'l3980'.
[May 17 18:15:27] NOTICE[21373]: l4isup.c:1615 t22_timeout: T22 timeout (No
"circuit group reset acknowledge" from peer) CIC=32.
[May 17 18:15:27] NOTICE[21373]: l4isup.c:1615 t22_timeout: T22 timeout (No
"circuit group reset acknowledge" from peer) CIC=94.
[May 17 18:15:27] NOTICE[21373]: l4isup.c:1615 t22_timeout: T22 timeout (No
"circuit group reset acknowledge" from peer) CIC=110.
[May 17 18:15:27] WARNING[21373]: mtp.c:2186 mtp_thread_main: No signalling
links inservice and no cluster receivers alive, dropping packet!
[May 17 18:15:27] WARNING[21373]: mtp.c:2186 mtp_thread_main: No signalling
links inservice and no cluster receivers alive, dropping packet!
[May 17 18:15:27] WARNING[21373]: mtp.c:2186 mtp_thread_main: No signalling
links inservice and no cluster receivers alive, dropping packet!
[May 17 18:15:28] WARNING[21373]: chan_ss7.c:121 process_event: MTP is now
UP on link 'l3980'.
[May 17 18:15:28] NOTICE[21373]: mtp.c:1296 mtp2_good_frame: Sending TRA to
peer on link 'l3980'....
[May 17 18:15:28] NOTICE[21373]: mtp.c:1064 mtp3_send_sltm: Sending SLTM to
peer on link 'l3980'....
[May 17 18:15:33] ERROR[21373]: mtp.c:1045 timeout_sltm_t1: No SLTA
received within Q.707 timer T1, faulting link on link 'l3979'.
[May 17 18:15:33] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now
DOWN on link 'l3979'.
[May 17 18:15:33] NOTICE[21373]: mtp.c:665 mtp_changeover: MTP changeover
last_ack=3, last_sent=3, from schannel 16, no INSERVICE schannel found
[May 17 18:15:33] NOTICE[21373]: mtp.c:669 mtp_changeover: Failover not
possible, no other signalling link and no other host available.
[May 17 18:15:33] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now
DOWN on link 'l3979'.
[May 17 18:15:33] NOTICE[21373]: mtp.c:1711 mtp2_fetch_zap_event: Got event
on link 'l3979': 7 (0/11).
interconexao2*CLI> ss7  link  status
linkset:vilauniao, link:l3979/16, state:NOT_ALIGNED, sls:0, total:
4969/    16
linkset:perdizes, link:l3980/15, state:INSERVICE, sls:0, total:   3509/
16
[May 17 18:15:37] WARNING[21373]: mtp.c:1040 timeout_sltm_t1: No SLTA
received within Q.707 timer T1, trying again on link 'l3980'.
[May 17 18:15:37] NOTICE[21373]: mtp.c:1064 mtp3_send_sltm: Sending SLTM to
peer on link 'l3980'....
[May 17 18:15:46] ERROR[21373]: mtp.c:1045 timeout_sltm_t1: No SLTA
received within Q.707 timer T1, faulting link on link 'l3980'.
[May 17 18:15:46] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now
DOWN on link 'l3980'.
[May 17 18:15:46] NOTICE[21373]: mtp.c:665 mtp_changeover: MTP changeover
last_ack=3, last_sent=3, from schannel 15, no INSERVICE schannel found
[May 17 18:15:46] NOTICE[21373]: mtp.c:669 mtp_changeover: Failover not
possible, no other signalling link and no other host available.
[May 17 18:15:46] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now
DOWN on link 'l3980'.
[May 17 18:15:46] NOTICE[21373]: mtp.c:1711 mtp2_fetch_zap_event: Got event
on link 'l3980': 7 (0/11).





and i get the channel going blocked and idle .....


Somebody have any idea about this ? i will apreciate any help .

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20130517/a0bb0da0/attachment.htm>


More information about the asterisk-ss7 mailing list