<div dir="ltr">Use dahdi_monitor to verify the CIC has media on it ...<div><br></div><div><div>Usage: dahdi_monitor <channel num> [-v[v]] [-m] [-o] [-l limit] [-f FILE | -s FILE | -r FILE1 -t FILE2] [-F FILE | -S FILE | -R FILE1 -T FILE2]</div>

<div>Options:</div><div>        -v: Visual mode.  Implies -m.</div><div>        -vv: Visual/Verbose mode.  Implies -m.</div><div>        -l LIMIT: Stop after reading LIMIT bytes</div><div>        -m: Separate rx/tx streams.</div>

<div>        -o: Output audio via OSS.  Note: Only 'normal' combined rx/tx streams are output via OSS.</div><div>        -f FILE: Save combined rx/tx stream to mono FILE. Cannot be used with -m.</div><div>        -r FILE: Save rx stream to FILE. Implies -m.</div>

<div>        -t FILE: Save tx stream to FILE. Implies -m.</div><div>        -s FILE: Save stereo rx/tx stream to FILE. Implies -m.</div><div>        -F FILE: Save combined pre-echocanceled rx/tx stream to FILE. Cannot be used with -m.</div>

<div>        -R FILE: Save pre-echocanceled rx stream to FILE. Implies -m.</div><div>        -T FILE: Save pre-echocanceled tx stream to FILE. Implies -m.</div><div>        -S FILE: Save pre-echocanceled stereo rx/tx stream to FILE. Implies -m.</div>

<div>Examples:</div><div>Save a stream to a file</div><div>        dahdi_monitor 1 -f stream.raw</div><div>Visualize an rx/tx stream and save them to separate files.</div><div>        dahdi_monitor 1 -v -r streamrx.raw -t streamtx.raw</div>

<div>Play a combined rx/tx stream via OSS and save it to a file</div><div>        dahdi_monitor 1 -o -f stream.raw</div><div>Save a combined normal rx/tx stream and a combined 'preecho' rx/tx stream to files</div>

<div>        dahdi_monitor 1 -f stream.raw -F streampreecho.raw</div><div>Save a normal rx/tx stream and a 'preecho' rx/tx stream to separate files</div><div>        dahdi_monitor 1 -m -r streamrx.raw -t streamtx.raw -R streampreechorx.raw -T streampreechotx.raw</div>

</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 April 2014 13:30, Muhammad Kamran Farooq <span dir="ltr"><<a href="mailto:farooq@rockvillegroup.com" target="_blank">farooq@rockvillegroup.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
        I need your help as i am trying to configure Asterisk with<br>
Libss7 over Sangoma A116 cards. My linkset 1 is UP with the MSC. When i<br>
dialout the call i get mutting but i check with operator CIC are same.<br>
My config is as follows:<br>
<br>
asterisk/chan_dahdi.conf:<br>
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>
;autogenrated on 2014-04-22<br>
;Dahdi Channels Configurations<br>
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak<br>
<br>
[trunkgroups]<br>
<br>
[channels]<br>
context=default<br>
usecallerid=yes<br>
group=1<br>
<br>
; SS7 Config<br>
<br>
signalling= ss7<br>
ss7type=itu<br>
ss7_called_nai= national<br>
;ss7_called_nai = international<br>
ss7_internationalprefix= 00<br>
ss7_nationalprefix= 0<br>
ss7_subscriberprefix= 0310<br>
;ss7_unknownprefix=0<br>
networkindicator=national<br>
ss7_explictacm=yes<br>
ss7_calling_nai= national<br>
<br>
linkset= 1<br>
<br>
pointcode= 5100<br>
adjpointcode= 5618<br>
defaultdpc= 5618<br>
<br>
;Sangoma A116 port 1 [slot:4 bus:20 span:1] <wanpipe1><br>
cicbeginswith=> 1<br>
channel=>1-15,17-31<br>
sigchan=> 16<br>
sls=>0<br>
<br>
;Sangoma A116 port 2 [slot:4 bus:20 span:2] <wanpipe2><br>
cicbeginswith = 33<br>
channel=>32-63<br>
<br>
;Sangoma A116 port 3 [slot:4 bus:20 span:3] <wanpipe3><br>
cicbeginswith = 65<br>
channel =>64-93<br>
<br>
;Sangoma A116 port 4 [slot:4 bus:20 span:4] <wanpipe4><br>
cicbeginswith = 97<br>
channel =>94-124<br>
<br>
;Sangoma A116 port 5 [slot:4 bus:20 span:5] <wanpipe5><br>
;cicbeginswith = 129<br>
channel =>125-155<br>
<br>
;Sangoma A116 port 6 [slot:4 bus:20 span:6] <wanpipe6><br>
;cicbeginswith = 161<br>
channel =>156-170,172-186<br>
sigchan=> 171<br>
sls=>1<br>
<br>
;Sangoma A116 port 7 [slot:4 bus:20 span:7] <wanpipe7><br>
;cicbeginswith = 193<br>
channel =>187-217<br>
<br>
;Sangoma A116 port 8 [slot:4 bus:20 span:8] <wanpipe8><br>
;cicbeginswith = 225<br>
channel =>218-248<br>
<br>
;Sangoma A116 port 1 [slot:5 bus:20 span:9] <wanpipe9><br>
;cicbeginswith = 257<br>
channel =>249-279<br>
<br>
;Sangoma A116 port 2 [slot:5 bus:20 span:10] <wanpipe10><br>
;cicbeginswith = 289<br>
channel =>280-310<br>
<br>
;Sangoma A116 port 3 [slot:5 bus:20 span:11] <wanpipe11><br>
;cicbeginswith = 321<br>
channel =>311-341<br>
<br>
;Sangoma A116 port 4 [slot:5 bus:20 span:12] <wanpipe12><br>
channel =>342-372<br>
<br>
;Sangoma A116 port 5 [slot:5 bus:20 span:13] <wanpipe13><br>
;cicbeginswith = 385<br>
channel =>373-403<br>
<br>
;Sangoma A116 port 6 [slot:5 bus:20 span:14] <wanpipe14><br>
;cicbeginswith = 417<br>
channel =>404-434<br>
<br>
;Sangoma A116 port 7 [slot:5 bus:20 span:15] <wanpipe15><br>
;cicbeginswith = 449<br>
channel =>435-465<br>
<br>
;Sangoma A116 port 8 [slot:5 bus:20 span:16] <wanpipe16><br>
;cicbeginswith = 481<br>
channel =>466-496<br>
<br>
<br>
Outbound Call trace:<br>
<br>
    -- Executing [0000000000@obd_example:1]<br>
Set("Local/0000000000@obd_example-6746;2", "elen=10") in new stack<br>
    -- Executing [0000000000@obd_example:2]<br>
Set("Local/0000000000@obd_example-6746;2", "gsm=0000000000") in new<br>
stack<br>
    -- Executing [0000000000@obd_example:3]<br>
Set("Local/0000000000@obd_example-6746;2", "CALLERID(number)=310") in<br>
new stack<br>
    -- Executing [0000000000@obd_example:4]<br>
NoOp("Local/0000000000@obd_example-6746;2", "") in new stack<br>
    -- Executing [0000000000@obd_example:5]<br>
GotoIf("Local/0000000000@obd_example-6746;2", "0?0000000000,9") in new<br>
stack<br>
    -- Executing [0000000000@obd_example:6]<br>
NoOp("Local/0000000000@obd_example-6746;2", "0000000000") in new stack<br>
    -- Executing [0000000000@obd_example:7]<br>
Dial("Local/0000000000@obd_example-6746;2", "DAHDI/g1/0000000000") in<br>
new stack<br>
    -- Called g1/0000000000<br>
Len = 34 [ 9e b3 1f 85 f2 15 fb 14 01 00 01 00 60 01 0a 00 02 0a 08 83<br>
10 33 54 83 46 56 0f 0a 04 83 11 13 00 00 ]<br>
FSN: 51 FIB 1<br>
BSN: 30 BIB 1<br>
>[1] MSU<br>
[ 9e b3 1f ]<br>
Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
[ 85 ]<br>
OPC 5100 DPC 5618 SLS 1<br>
[ f2 15 fb 14 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: IAM<br>
[ 01 ]<br>
--FIXED LENGTH PARMS[4]--<br>
Nature of Connection Indicator:<br>
Satellites in connection: 0<br>
Continuity Check: Check not required (0)<br>
Outgoing half echo control device: not included (0)<br>
[ 00 ]<br>
Forward Call Indicators:<br>
Nat/Intl Call Ind: call to be treated as a national call (0)<br>
End to End Method Ind: no end-to-end method(s) available (0)<br>
Interworking Ind: no interworking encountered (0)<br>
End to End Info Ind: no end-to-end information available (0)<br>
ISDN User Part Ind: ISDN user part used all the way (1)<br>
ISDN User Part Pref Ind: ISDN user part not preferred all the way (1)<br>
ISDN Access Ind: originating access ISDN (1)<br>
SCCP Method Ind: no indication (0)<br>
[ 60 01 ]<br>
Calling Party's Category:<br>
Category: Ordinary calling subscriber (10)<br>
[ 0a ]<br>
Transmission Medium Requirements:<br>
Speech (0)<br>
[ 00 ]<br>
--VARIABLE LENGTH PARMS[1]--<br>
Called Party Number:<br>
Nature of address: 3<br>
NI: 0<br>
Numbering plan: 1<br>
Address signals: 0000000000#<br>
[ 08 83 10 33 54 83 46 56 0f ]<br>
--OPTIONAL PARMS--<br>
Calling Party Number:<br>
Nature of address: 3<br>
NI: 0<br>
Numbering plan: 1<br>
Presentation: 0<br>
Screening: 1<br>
Address signals: 310<br>
[ 0a 04 83 11 13 00 ]<br>
<br>
Len = 16 [ 20 a5 0d 81 ec d3 7c 05 11 60 aa aa aa aa aa aa ]<br>
FSN: 37 FIB 1<br>
BSN: 32 BIB 0<br>
<[0] MSU<br>
[ 20 a5 0d ]<br>
Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)<br>
[ 81 ]<br>
OPC 5619 DPC 5100 SLS 0<br>
[ ec d3 7c 05 ]<br>
H0: 1 H1: 1<br>
[ 11 ]<br>
<br>
Len = 16 [ a5 21 0d 81 f3 15 fb 04 21 60 aa aa aa aa aa aa ]<br>
FSN: 33 FIB 0<br>
BSN: 37 BIB 1<br>
>[0] MSU<br>
[ a5 21 0d ]<br>
Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)<br>
[ 81 ]<br>
OPC 5100 DPC 5619 SLS 0<br>
[ f3 15 fb 04 ]<br>
H0: 1 H1: 2<br>
[ 21 ]<br>
<br>
Len = 16 [ b3 9f 0d 81 ec d3 7c 15 11 60 aa aa aa aa aa aa ]<br>
FSN: 31 FIB 1<br>
BSN: 51 BIB 1<br>
<[1] MSU<br>
[ b3 9f 0d ]<br>
Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)<br>
[ 81 ]<br>
OPC 5619 DPC 5100 SLS 1<br>
[ ec d3 7c 15 ]<br>
H0: 1 H1: 1<br>
[ 11 ]<br>
<br>
Len = 16 [ 9f b4 0d 81 f3 15 fb 14 21 60 aa aa aa aa aa aa ]<br>
FSN: 52 FIB 1<br>
BSN: 31 BIB 1<br>
>[1] MSU<br>
[ 9f b4 0d ]<br>
Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)<br>
[ 81 ]<br>
OPC 5100 DPC 5619 SLS 1<br>
[ f3 15 fb 14 ]<br>
H0: 1 H1: 2<br>
[ 21 ]<br>
<br>
Len = 18 [ 21 a6 0f 85 ec 93 7c 05 01 00 06 16 34 01 29 01 03 00 ]<br>
FSN: 38 FIB 1<br>
BSN: 33 BIB 0<br>
<[0] MSU<br>
[ 21 a6 0f ]<br>
Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
[ 85 ]<br>
OPC 5618 DPC 5100 SLS 0<br>
[ ec 93 7c 05 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: ACM<br>
[ 06 ]<br>
--FIXED LENGTH PARMS[1]--<br>
Backward Call Indicator:<br>
Charge indicator: 2<br>
Called party's status indicator: 1<br>
Called party's category indicator: 1<br>
End to End method indicator: 0<br>
Interworking indicator: 0<br>
End to End information indicator: 0<br>
ISDN user part indicator: 1<br>
Holding indicator: 0<br>
ISDN access indicator: 1<br>
Echo control device indicator: 1<br>
SCCP method indicator: 0<br>
[ 16 34 ]<br>
--OPTIONAL PARMS--<br>
Optional Backward Call Indicator:<br>
In-band information indicator: 1<br>
Call diversion may occur indicator: 1<br>
Simple segmentation indicator: 0<br>
MLPP user indicator: 0<br>
[ 29 01 03 ]<br>
<br>
    -- DAHDI/1-1 is proceeding passing it to<br>
Local/0000000000@obd_example-6746;2<br>
    -- DAHDI/1-1 is ringing<br>
Len = 17 [ 21 a7 0e 85 ec 93 7c 05 01 00 09 01 11 02 16 34 00 ]<br>
FSN: 39 FIB 1<br>
BSN: 33 BIB 0<br>
<[0] MSU<br>
[ 21 a7 0e ]<br>
Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
[ 85 ]<br>
OPC 5618 DPC 5100 SLS 0<br>
[ ec 93 7c 05 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: ANM<br>
[ 09 ]<br>
--OPTIONAL PARMS--<br>
Backward Call Indicator:<br>
Charge indicator: 2<br>
Called party's status indicator: 1<br>
Called party's category indicator: 1<br>
End to End method indicator: 0<br>
Interworking indicator: 0<br>
End to End information indicator: 0<br>
ISDN user part indicator: 1<br>
Holding indicator: 0<br>
ISDN access indicator: 1<br>
Echo control device indicator: 1<br>
SCCP method indicator: 0<br>
[ 11 02 16 34 ]<br>
<br>
    -- DAHDI/1-1 answered Local/0000000000@obd_example-6746;2<br>
    -- Executing [s@obd_example_1:1]<br>
Playback("Local/0000000000@obd_example-6746;1", "hello-world") in new<br>
stack<br>
    -- <Local/0000000000@obd_example-6746;1> Playing<br>
'hello-world.gsm' (language 'en')<br>
  == Spawn extension (obd_example, 0000000000, 7) exited non-zero on<br>
'Local/0000000000@obd_example-6746;2'<br>
    -- Executing [s@obd_example_1:2] Playback("DAHDI/1-1",<br>
"hello-world") in new stack<br>
    -- <DAHDI/1-1> Playing 'hello-world.gsm' (language 'en')<br>
    -- Executing [s@obd_example_1:3] Playback("DAHDI/1-1",<br>
"hello-world") in new stack<br>
    -- <DAHDI/1-1> Playing 'hello-world.gsm' (language 'en')<br>
    -- Executing [s@obd_example_1:4] Playback("DAHDI/1-1",<br>
"hello-world") in new stack<br>
    -- <DAHDI/1-1> Playing 'hello-world.gsm' (language 'en')<br>
    -- Executing [s@obd_example_1:5] Hangup("DAHDI/1-1", "") in new<br>
stack<br>
  == Spawn extension (obd_example_1, s, 5) exited non-zero on<br>
'DAHDI/1-1'<br>
    -- Hungup 'DAHDI/1-1'<br>
Len = 16 [ 9f b5 0d 85 f2 15 fb 14 01 00 0c 02 00 02 81 90 ]<br>
FSN: 53 FIB 1<br>
BSN: 31 BIB 1<br>
>[1] MSU<br>
[ 9f b5 0d ]<br>
Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
[ 85 ]<br>
OPC 5100 DPC 5618 SLS 1<br>
[ f2 15 fb 14 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: REL<br>
[ 0c ]<br>
--VARIABLE LENGTH PARMS[1]--<br>
Cause Indicator:<br>
Coding Standard: 0<br>
Location: 1<br>
Cause Class: 1<br>
Cause Subclass: 0<br>
Cause: Normal call clearing (16)<br>
[ 02 81 90 ]<br>
<br>
Len = 12 [ 21 a8 09 85 ec 93 7c 05 01 00 10 00 ]<br>
FSN: 40 FIB 1<br>
BSN: 33 BIB 0<br>
<[0] MSU<br>
[ 21 a8 09 ]<br>
Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
[ 85 ]<br>
OPC 5618 DPC 5100 SLS 0<br>
[ ec 93 7c 05 ]<br>
CIC: 1<br>
[ 01 00 ]<br>
Message Type: RLC<br>
[ 10 ]<br>
<br>
<br>
I know the muting issue comes when we have CIC mismatch but here we have<br>
same CIC still getting mute.<br>
Waiting for your valuable input.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Farooq<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,0);font-family:arial;font-size:small;text-align:-webkit-auto">wasim h. baig | principal consultant | convergence pk | +92 30 0850 8070 | peace be upon you ...</span></div>


</div>