<pre>Hi,<br><br>I have been trying to get chan_ss7 to work for almost 2 weeks now. I think I may be closed, but still I am stuck with some config issues.<br>Would someone please kindly help out?<br><br>Here is my software combination:<br>
<br>asterisk-1.4.21.2<br>zaptel-1.4.12<br>chan_ss7-1.0.95-beta<br><br><br>Here is my config:<br><br>zaptel.conf<br><br>span=1,1,0,ccs,hdb3,crc4<br>span=2,0,0,ccs,hdb3,crc4<br>#span1<br>bchan=1-31<br>#span2<br>bchan=32-62<br>
<br><br>ss7.conf<br><br>[linkset-1]<br>enabled=>yes<br>enable_st=>no<br>use_connect=>yes<br>hunting_policy=>even_mru<br>subservice=>auto<br>context=>default<br><br>[linkset-2]<br>enabled=>yes<br>enable_st=>no<br>
use_connect=>yes<br>hunting_policy=>even_mru<br>subservice=>auto<br>context=>default<br><br>[link-11]<br>linkset=>1<br>channels=>1-15,17-31<br>schannel=>16<br>firstcic=>1<br>enabled=>yes<br><br>
[link-12]<br>linkset=>2<br>channels=>1-15,17-31 <br>schannel=>16<br>firstcic=>1<br>enabled=>yes<br> <br>[host-localhost.localdomain]<br>enabled=>yes<br>default_linkset=>1<br>opc=>0x8e0<br>dpc=>1:0x3fff,2:0x3fff<br>
links=>11:1,12:2<br><br>extensions.conf<br><br>[default]<br>exten=>2008,1,Dial(SS7/1/2000,30)<br>exten=>2000,1,Dial(SIP/2000)<br><br><br>Here is what happens within Asterisk<br><br>localhost*CLI>ss7 show channels<br>
nkset: 1CLI> <br>CIC 1 Idle <br>CIC 2 Idle Reset pending<br>CIC 3 Idle Reset pending<br>CIC 4 Idle Reset pending<br>CIC 5 Idle Reset pending<br>CIC 6 Idle Reset pending<br>CIC 7 Idle Reset pending<br>
CIC 8 Idle Reset pending<br>CIC 9 Idle Reset pending<br>CIC 10 Idle Reset pending<br>CIC 11 Idle Reset pending<br>CIC 12 Idle Reset pending<br>CIC 13 Idle Reset pending<br>CIC 14 Idle Reset pending<br>CIC 15 Idle Reset pending<br>
CIC 17 Idle <br>CIC 18 Idle Reset pending<br>CIC 19 Idle Reset pending<br>CIC 20 Idle Reset pending<br>CIC 21 Idle Reset pending<br>CIC 22 Idle Reset pending<br>CIC 23 Idle Reset pending<br>CIC 24 Idle Reset pending<br>
CIC 25 Idle Reset pending<br>CIC 26 Idle Reset pending<br>CIC 27 Idle Reset pending<br>CIC 28 Idle Reset pending<br>CIC 29 Idle Reset pending<br>CIC 30 Idle Reset pending<br>CIC 31 Idle Reset pending<br>Linkset: 2<br>
CIC 1 Idle <br>CIC 2 Idle Reset pending<br>CIC 3 Idle Reset pending<br>CIC 4 Idle Reset pending<br>CIC 5 Idle Reset pending<br>CIC 6 Idle Reset pending<br>CIC 7 Idle Reset pending<br>CIC 8 Idle Reset pending<br>
CIC 9 Idle Reset pending<br>CIC 10 Idle Reset pending<br>CIC 11 Idle Reset pending<br>CIC 12 Idle Reset pending<br>CIC 13 Idle Reset pending<br>CIC 14 Idle Reset pending<br>CIC 15 Idle Reset pending<br>CIC 17 Idle <br>
CIC 18 Idle Reset pending<br>CIC 19 Idle Reset pending<br>CIC 20 Idle Reset pending<br>CIC 21 Idle Reset pending<br>CIC 22 Idle Reset pending<br>CIC 23 Idle Reset pending<br>CIC 24 Idle Reset pending<br>CIC 25 Idle Reset pending<br>
CIC 26 Idle Reset pending<br>CIC 27 Idle Reset pending<br>CIC 28 Idle Reset pending<br>CIC 29 Idle Reset pending<br>CIC 30 Idle Reset pending<br>CIC 31 Idle Reset pending<br>localhost*CLI> <br><br>localhost*CLI> ss7 link status <br>
linkset 1, link 11, schannel 16, sls 0, INSERVICE, rx: 6, tx: 3/3, sentseq/lastack: 89/83, total 1119539968, 1119540048<br>linkset 2, link 12, schannel 16, sls 0, INSERVICE, rx: 5, tx: 3/3, sentseq/lastack: 91/83, total 1119539952, 1119540048<br>
localhost*CLI> <br><br>[root@localhost asterisk]# /usr/local/ss7/sbin/mtp3d <br>Using /etc/asterisk for config directory<br>[NOTICE] config.c:380 load_config_linkset Using default language '' for linkset '1'<br>
[NOTICE] config.c:380 load_config_linkset Using default language '' for linkset '2'<br>[NOTICE] config.c:614 load_config_link Configured link '11' on linkset '1', firstcic=1<br>[NOTICE] config.c:614 load_config_link Configured link '12' on linkset '2', firstcic=1<br>
[WARNING] config.c:866 load_config_host Missing interface entries for host 'localhost.localdomain'.<br>[NOTICE] config.c:1034 load_config Configuring DPC 16383 for linkset '1'.<br>[NOTICE] config.c:1034 load_config Configuring DPC 16383 for linkset '2'.<br>
[NOTICE] mtp.c:2263 mtp_init Initialising 2 signalling links<br>[WARNING] transport.c:205 openschannel Unable to open signalling link zaptel device /dev/zap/16: Device or resource busy<br>[ERROR] mtp3d.c:736 main Unable to initialize MTP.<br>
[root@localhost asterisk]# <br><br><br>localhost*CLI> ss7 status <br>linkset idle busy initiating resetting total incoming total outgoing<br>1 2 0 0 28 0 0<br>
*** Idle list lenth is: 30<br>linkset idle busy initiating resetting total incoming total outgoing<br>2 2 0 0 28 0 0<br>*** Idle list lenth is: 30<br>localhost*CLI> <br>
<br>errors<br><br>1.208 call 2008<br> -- Executing [2008@default:1] Dial("SIP/208-08ce52c0", "SS7/1/2000|30") in new stack<br> -- chan_ss7: isup_send_iam: ISDN_H324M is not set.<br> -- Sent IAM CIC=1 ANI=208 DNI=2000 RNI=<br>
-- Called 1/2000<br>[Oct 20 08:57:34] NOTICE[10347]: l4isup.c:1029 t7_timeout: T7 timeout (waiting for ACM or CON) CIC=1.<br> -- SS7 hangup 'SS7/1/1' CIC=1 Cause=16 (state=2)<br> -- No one is available to answer at this time (1:0/0/0)<br>
== Auto fallthrough, channel 'SIP/208-08ce52c0' status is 'NOANSWER'<br><br>2.NOTICE<br>[Oct 20 09:03:04] NOTICE[10347]: l4isup.c:930 t1_timeout: T1 timeout (waiting for RLC) CIC=1.<br>[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=1.<br>
[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=17.<br>[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=1.<br>
[Oct 20 09:03:07] NOTICE[10347]: l4isup.c:1236 t22_timeout: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=17.<br><br>3.mtp<br>localhost*CLI> ss7 mtp data<br>[Oct 20 09:23:13] ERROR[10347]: mtp.c:883 mtp2_queue_msu: Got illegal MSU length 0 < 2, dropping frame on link '11'.<br>
localhost*CLI> <br><br><br><br><br><br></pre>