[asterisk-ss7] No audio using libss7 over E1

David Wilson dave at dcdata.co.za
Thu Aug 2 05:19:06 CDT 2012


Wow.

I thought I had it fixed when I picked up misaligned CICs on my second 
E1 port but it has not made any difference. Still there is no audio 
making it back to the calling party who's called in via the SS7 link.
I did find that with 'ss7_explicitacm=yes' in my chan_dahdi.conf the 
call would be answered by Asterisk and then hung up. It seems that for 
the call to stay active I had to remove 'ss7_explicitacm' from my 
config; but still there is no audio.
I enabled "monitor()" in my dialplan and I can hear that my test music 
on hold is being played back but it is not making it to the calling 
party called in on the SS7 link.
My provider sent me a document showing his channel numbers and his 
assigned CICs. I then added to the document and listed my Dahdi ports 
and corresponding CICs to assist with me aligning my CICs with his. So 
far from what I can tell it looks fine?
Some posts seem to indicate that there may be a problem with 
Asterisk-1.6.2 and that I should try Asterisk-1.6.0, or even 1.8.x? My 
updated config files have been included below. I've also asked my 
provider to enable the "Continuity Check" suggested by Gustavo but am 
waiting for them to confirm. Your assistance is greatly appreciated!

Operator                       My Side
-------------------------------------------------------------------
E1 Channel    CIC        Dahdi    CIC
UPDR-1377       1         1            1
UPDR-1378       2         2            2
UPDR-1379       3         3            3
UPDR-1380       4         4            4
UPDR-1381       5         5            5
UPDR-1382       6         6            6
UPDR-1383       7         7            7
UPDR-1384       8         8            8
UPDR-1385       9         9            9
UPDR-1386       10        10            10
UPDR-1387       11        11            11
UPDR-1388       12        12            12
UPDR-1389       13        13            13
UPDR-1390       14        14            14
UPDR-1391       15        15            15
                                        16 (signalling)
UPDR-1393       17        17            17
UPDR-1394       18        18            18
UPDR-1395       19        19            19
UPDR-1396       20        20            20
UPDR-1397       21        21            21
UPDR-1398       22        22            22
UPDR-1399       23        23            23
UPDR-1400       24        24            24
UPDR-1401       25        25            25
UPDR-1402       26        26            26
UPDR-1403       27        27            27
UPDR-1404       28        28            28
UPDR-1405       29        29            29
UPDR-1406       30        30            30
UPDR-1407       31        31            31

2nd E1 -------------------------------------------------
UPDR-1409       33        32            33
UPDR-1410       34        33            34
UPDR-1411       35        34            35
UPDR-1412       36        35            36
UPDR-1413       37        36            37
UPDR-1414       38        37            38
UPDR-1415       39        38            39
UPDR-1416       40        39            40
UPDR-1417       41        40            41
UPDR-1418       42        41            42
UPDR-1419       43        42            43
UPDR-1420       44        43            44
UPDR-1421       45        44            45
UPDR-1422       46        45            46
UPDR-1423       47        46            47
                                       47 (signalling)
UPDR-1425       49        48            49
UPDR-1426       50        49            50
UPDR-1427       51        50            51
UPDR-1428       52        51            52
UPDR-1429       53        52            53
UPDR-1430       54        53            54
UPDR-1431       55        54            55
UPDR-1432       56        55            56
UPDR-1433       57        56            57
UPDR-1434       58        57            58
UPDR-1435       59        58            59
UPDR-1436       60        59            60
UPDR-1437       61        60            61
UPDR-1438       62        61            62
UPDR-1439       63        62            63

*/etc/dahdi/system.conf
l*oadzone=za
defaultzone=za

span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
mtp2=16

span=2,1,0,ccs,hdb3,crc4
bchan=32-46,48-62
mtp2=47


*/etc/asterisk/chan_dahdi.conf*:
[trunkgroups]

[channels]
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A102 port 1 [slot:4 bus:12 span:1] <wanpipe1>
switchtype=euroisdn
context=from-ss7
group=0
echocancel=no
signaling=ss7
linkset=1
ss7type=itu
ss7_called_nai=dynamic
ss7_calling_nai=dynamic
ss7_internationalprefix=00
ss7_nationalprefix=0
ss7_subscriberprefix=
ss7_unknownprefix=
;ss7_explicitacm=yes
pointcode=1379
adjpointcode=1288
defaultdpc=1288
networkindicator=national

;First E1
sigchan=16
cicbeginswith=1
channel=1-15
cicbeginswith=17
channel=17-31

;Second E1
sigchan=47
cicbeginswith=33
channel=32-46
cicbeginswith=49
channel=48-62


*/etc/asterisk/extensions.conf*
[general]

[from-ss7]
exten => _X.,1,Answer
exten => _X.,n,Monitor(wav,${UNIQUEID},m)
exten => 
_X.,n,Playback(/var/lib/asterisk/sounds/en/followme/pls-hold-while-try)
exten => _X.,n,MusicOnHold(default,60)

Get important Linux and industry-related news at: facebook.com/dcdata 
<http://facebook.com/dcdata>

Kind regards,

David Wilson
CNS,CLS, LINUX+, CLA, DCTS, LPIC3
*LinuxTech CC t/a DcData*
CK number: 2001/058368/23
*Website:* 	http://www.dcdata.co.za
*Support:* 	+27(0)860-1-LINUX
*Mobile:* 	+27(0)824147413
*Tel:* 	+27(0)333446100
*Fax:* 	+27(0)866878971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120802/ded41600/attachment-0001.htm>


More information about the asterisk-ss7 mailing list