[asterisk-ss7] New to Asterisk & Libss7

Muhammad Kamran Farooq farooq at rockvillegroup.com
Tue Apr 29 06:18:26 CDT 2014


My ss7.conf
 
[linkset-ls1]
enabled => yes
subservice => auto
hunting_policy => even_mru
context => default
language => en
use_connect => no
enable_st => no
;t35 => 15000,timeout
;variant => ITU



[link-l1]
enabled => yes
linkset => ls1
channels => 1-15,17-31
schannel => 16
firstcic => 1
sltm => no
sls => 0
enabled => yes

[link-l2]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 33
enabled => yes

[link-l3]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 65
enabled => yes

[link-l4]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 97
enabled => yes

[link-l5]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 129
enabled => yes

[link-l6]
enabled => yes
linkset => ls1
channels => 1-15,17-31
schannel => 16
firstcic => 161
sltm => no
sls => 1
enabled => yes

echocancel => no
echocan_train => 350
echocan_taps => 128


[link-l7]
enabled => yes
linkset => ls1
channels => 1-31
schannel =>
firstcic => 193
enabled => yes

[link-l8]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 225
enabled => yes

[link-l9]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 257
enabled => yes


[link-l10]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 289
enabled => yes

[link-l11]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 321
enabled => yes

[link-l12]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 353
enabled => yes

[link-l13]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 385
enabled => yes

[link-l14]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 417
enabled => yes

[link-l15]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 449
enabled => yes

[link-l16]
enabled => yes
linkset => ls1
channels => 1-31
schannel => 
firstcic => 481
enabled => yes



[host-Telco]
enabled => yes
default_linkset => ls1
route => :ls1
links =>
l1:1,l2:2,l3:3,l4:4,l5:5,l6:6,l7:7,l8:8,l9:9,l10:10,l11:11,l12:12,l13:13,l14:14,l15:15,l16:16
opc => 5100
dpc => ls1:5618


My chan_dahdi.conf

;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2014-04-22
;Dahdi Channels Configurations 
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
group=1

; SS7 Config

signalling= ss7
ss7type=itu
ss7_called_nai= national
;ss7_called_nai = international
ss7_internationalprefix= 00
ss7_nationalprefix= 0
ss7_subscriberprefix= 0310
;ss7_unknownprefix=0
networkindicator=national
ss7_explictacm=yes 
ss7_calling_nai= national

linkset= 1

pointcode= 5100
adjpointcode= 5618
defaultdpc= 5618

;Sangoma A116 port 1 [slot:4 bus:20 span:1] <wanpipe1>
cicbeginswith=> 1
channel=>1-15,17-31
sigchan=> 16
;slc=>0

;Sangoma A116 port 2 [slot:4 bus:20 span:2] <wanpipe2>
cicbeginswith = 33
channel=>32-63

;Sangoma A116 port 3 [slot:4 bus:20 span:3] <wanpipe3>
cicbeginswith = 65
channel =>64-93

;Sangoma A116 port 4 [slot:4 bus:20 span:4] <wanpipe4>
cicbeginswith = 97
channel =>94-124

;Sangoma A116 port 5 [slot:4 bus:20 span:5] <wanpipe5>
;cicbeginswith = 129
channel =>125-155

;Sangoma A116 port 6 [slot:4 bus:20 span:6] <wanpipe6>
;cicbeginswith = 161
channel =>156-170,172-186
sigchan=> 171
;slc=>1

;Sangoma A116 port 7 [slot:4 bus:20 span:7] <wanpipe7>
;cicbeginswith = 193
channel =>187-217

;Sangoma A116 port 8 [slot:4 bus:20 span:8] <wanpipe8>
;cicbeginswith = 225
channel =>218-248

;Sangoma A116 port 1 [slot:5 bus:20 span:9] <wanpipe9>
;cicbeginswith = 257
channel =>249-279

;Sangoma A116 port 2 [slot:5 bus:20 span:10] <wanpipe10>
;cicbeginswith = 289
channel =>280-310

;Sangoma A116 port 3 [slot:5 bus:20 span:11] <wanpipe11>
;cicbeginswith = 321
channel =>311-341

;Sangoma A116 port 4 [slot:5 bus:20 span:12] <wanpipe12>
channel =>342-372

;Sangoma A116 port 5 [slot:5 bus:20 span:13] <wanpipe13>
;cicbeginswith = 385
channel =>373-403

;Sangoma A116 port 6 [slot:5 bus:20 span:14] <wanpipe14>
;cicbeginswith = 417
channel =>404-434

;Sangoma A116 port 7 [slot:5 bus:20 span:15] <wanpipe15>
;cicbeginswith = 449
channel =>435-465

;Sangoma A116 port 8 [slot:5 bus:20 span:16] <wanpipe16>
;cicbeginswith = 481
channel =>466-496



-- 


Mohammad Kamran Farooq
Manager Networks and Systems (Platforms)
Rockville Technologies Pvt. Ltd,
Beverly Center, 4th Floor, Jinnah Avenue, 
Islamabad 44000, Pakistan. 
farooq at rockvillegroup.com 
+92-334-5386465 (cell), +92-51-8438284-6 (landline) 

http://www.rockvilletech.com/


This email and any files transmitted with it are confidential and
intended solely for the use of the addressee. If you have received this
email in error please notify the sender. This message contains
confidential information and is intended only for the individual named.
If you are not the intended recipient you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately by
e-mail if you have received this e-mail by mistake and delete this
e-mail from your system. If you are not the intended recipient you are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited. 

On Tue, 2014-04-29 at 14:52 +0500, Wasim Baig wrote:
> kamran:
> 
> 
> the issue is usually cic to dahdi channel mapping ...
> 
> 
> dahdi_monitor is not the same as app_record
> 
> 
> start dahdi_monitor 8 -v from linux shell 
> 
> 
> then make a call on cic 8
> 
> 
> once call is answered, say something and you should see a visual
> representation
> same thing for the return media leg
> 
> 
> if not the cic is mismatched to dahdi channels
> 
> 
> -wasim
> 
> On 29 April 2014 14:42, Muhammad Kamran Farooq
> <farooq at rockvillegroup.com> wrote:
>         Dear Wasim,
>                 Using dahdi_monitor, Only outgoing audio is captured.
>         No incoming voice
>         captured.
>         
>         Dialplan :
>         exten => s,1,Playback(hello-world)
>         exten => s,n,Record(/tmp/rec1:wav,899,900,t)
>         
>         If i block First CIC from my End same is blocked at the
>         operator side.
>         But still getting mute.
>         
>         Regards,
>         Farooq
>         >
>         
> 
> 
> 
> 
> -- 
> wasim h. baig | principal consultant | convergence pk | +92 30 0850
> 8070 | peace be upon you ...




More information about the asterisk-ss7 mailing list