<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello Guys, <br><br></div>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.<br>
<br></div>One question that i have is about the opc and dpc , should i use in decimal format or in hex format ?<br><br></div>my pointcode is 1633, and my dpc is 3979<br><br></div>i try convert this value and get a value of 661 to pointcode and f8b to dpc<br>
<br></div>below you have my ss7.conf file<br><br><br>;Linkset com a central tlf Vila Uniao<br>[linkset-vilauniao]<br>hunting_policy => even_mru<br>enabled => yes<br>enable_st = yes<br>use_connect => yes<br>context=telesp<br>
language=pt_BR<br>subservice => auto<br><br><br>;Linkset com a central tlf perdizes<br>[linkset-perdizes]<br>hunting_policy => even_mru<br>enabled => yes<br>enable_st = no<br>use_connect => yes<br>context=telesp<br>
language=pt_BR<br>subservice => auto<br><br><br><br>;Link canal de voz - central 160 => Bras<br>[link-l160]<br>linkset => vilauniao<br>channels => 1-31<br>firstcic => 1<br>enabled => yes<br>schannel =><br>
sltm => no<br><br>;Link canal de voz - central 163 => Sta efigenia<br>[link-l163]<br>linkset => perdizes<br>channels => 1-31<br>firstcic => 32<br>enabled => yes<br>schannel =><br>sltm => no<br><br>
;Link canais de voz - central 3979 ldn => Vila Uniao<br>[link-l3979]<br>linkset => vilauniao<br>channels => 1-15,17-31<br>schannel => 16<br>firstcic => 63<br>enabled => yes<br>sltm => no<br><br>;Link canais de voz - central 3980 ldn => Perdizes<br>
[link-l3980]<br>linkset => perdizes<br>channels => 1-14,17-31<br>schannel => 15<br>firstcic => 94<br>enabled => yes<br>sltm => no<br><br>[host-interconexao2]<br>enabled => yes<br>default_linkset => vilauniao<br>
opc => 661<br>dpc => vilauniao:f8b,perdizes:f8c<br>if-1 => 187.109.36.31<br>links => l160:1,l163:2,l3979:3,l3980:4<br><br><br><br><br><br></div>and when i try to start asterisk i get the message below<br><br>[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured link 'l160' on linkset 'vilauniao', firstcic=1<br>
[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured link 'l163' on linkset 'perdizes', firstcic=32<br>
[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured link 'l3979' on linkset 'vilauniao', firstcic=63<br>[May 17 20:11:17] NOTICE[2599]: config.c:805 load_config_link: Configured link 'l3980' on linkset 'perdizes', firstcic=94<br>
[May 17 20:11:17] ERROR[2599]: config.c:892 load_config_host: Invalid DPC value 'f8b' for linkset 'vilauniao' for host <br><br><br><br><br></div>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)<br>
<br>[May 17 18:15:25] NOTICE[21373]: mtp.c:669 mtp_changeover: Failover not
possible, no other signalling link and no other host available.<br>[May 17 18:15:25] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now DOWN on link 'l3980'.<br>
[May 17 18:15:27] NOTICE[21373]: l4isup.c:1615 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=32.<br>[May 17 18:15:27] NOTICE[21373]: l4isup.c:1615 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=94.<br>
[May 17 18:15:27] NOTICE[21373]: l4isup.c:1615 t22_timeout: T22 timeout
(No "circuit group reset acknowledge" from peer) CIC=110.<br>[May 17
18:15:27] WARNING[21373]: mtp.c:2186 mtp_thread_main: No signalling
links inservice and no cluster receivers alive, dropping packet!<br>
[May 17 18:15:27] WARNING[21373]: mtp.c:2186 mtp_thread_main: No
signalling links inservice and no cluster receivers alive, dropping
packet!<br>[May 17 18:15:27] WARNING[21373]: mtp.c:2186 mtp_thread_main:
No signalling links inservice and no cluster receivers alive, dropping
packet!<br>
[May 17 18:15:28] WARNING[21373]: chan_ss7.c:121 process_event: MTP is now UP on link 'l3980'.<br>[May 17 18:15:28] NOTICE[21373]: mtp.c:1296 mtp2_good_frame: Sending TRA to peer on link 'l3980'....<br>[May 17 18:15:28] NOTICE[21373]: mtp.c:1064 mtp3_send_sltm: Sending SLTM to peer on link 'l3980'....<br>
[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'.<br>[May 17 18:15:33] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now DOWN on link 'l3979'.<br>
[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<br>[May 17 18:15:33] NOTICE[21373]: mtp.c:669
mtp_changeover: Failover not possible, no other signalling link and no
other host available.<br>
[May 17 18:15:33] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now DOWN on link 'l3979'.<br>[May 17 18:15:33] NOTICE[21373]: mtp.c:1711 mtp2_fetch_zap_event: Got event on link 'l3979': 7 (0/11).<br>
interconexao2*CLI> ss7 link status<br>linkset:vilauniao, link:l3979/16, state:NOT_ALIGNED, sls:0, total: 4969/ 16<br>linkset:perdizes, link:l3980/15, state:INSERVICE, sls:0, total: 3509/ 16<br>[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'.<br>
[May 17 18:15:37] NOTICE[21373]: mtp.c:1064 mtp3_send_sltm: Sending SLTM to peer on link 'l3980'....<br>[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'.<br>
[May 17 18:15:46] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now DOWN on link 'l3980'.<br>[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<br>
[May 17 18:15:46] NOTICE[21373]: mtp.c:669 mtp_changeover: Failover not
possible, no other signalling link and no other host available.<br>[May 17 18:15:46] WARNING[21373]: chan_ss7.c:125 process_event: MTP is now DOWN on link 'l3980'.<br>
[May 17 18:15:46] NOTICE[21373]: mtp.c:1711 mtp2_fetch_zap_event: Got event on link 'l3980': 7 (0/11).<br><br><br><br><br><br></div>and i get the channel going blocked and idle ..... <br><br><br></div>Somebody have any idea about this ? i will apreciate any help .<br>
<br>Thanks.<br><br><br></div>