Posts

Showing posts from September, 2009

Asterisk + libss7 [3rd]

Connecting and placing calls: [X ~]# cat /etc/asterisk/sip.conf [general] context=[your context] ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=[your IP] ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls tos_sip=cs3 ; Sets TOS for SIP packets. tos_audio=ef ; Sets TOS for RTP audio packets. cos_sip=3 cos_audio=5 relaxdtmf=yes canreinvite=no disallow=all ; see doc/rtp-packetization for framing options allow=g729 ; add whatever codec you have and like to use ;allow=ulaw ;allow=alaw allowguest=no notransfer=yes ; part of rtp timeout rtptimeout=19 rtpholdtimeout=20 [client1] type=peer insecure=port,invite host=[client ip] notransfer=yes disallow=all allow=g729 ;allow=g723 al

Asterisk + libss7 [2nd]

Starting your asterisk : 1. copy source-asterisk/contrib/init.d/rc.redhat.asterisk into your /etc/init.d/asterisk 2. chmod +x /etc/init.d/asterisk 3. chkconfig --levels 345 asterisk on 4. service asterisk restart Asterisk should start. check that with ps -ef | grep asterisk output will be something likt : [X~]# ps -ef | grep asterisk root 2239 1 0 Sep24 ? 00:00:00 /bin/sh /usr/sbin/safe_asterisk root 13047 2239 42 Sep24 ? 1-12:43:56 /usr/sbin/asterisk -f -vvvg -c root 28546 27340 0 09:37 pts/0 00:00:00 grep asterisk now try to connect your asterisk box. : [X~]# asterisk -r [ will give you CLI access to your asterisk box ] -------------------------------------------------------------------- Checking your Dahdi: [X~]#dahdi_hardware [ this will show your degium hardware ] [X~]#dahdi_scan [ This will show your card status with details ] sample output : Without signal: active=yes alarms=RED <-- Watch this description=T4XXP (PCI) Card 0 Span 3 n

Asterisk + libss7

Hi all Last month i got a project in Asterisk where I have to work with ss7 signal . As I never work on SS7 signalling I tried google and found quit a lot information. but non of them [I found] gave me total step by step solution. I like to share my experience and solution with everyone. Target Signalling : ss7 Number of E1 : 32 [ 4 E1 per server X 8] Type of Setup : Termination Software and Hardware I used OS : CentOS 5.3 [64bit] . Server : Hp Proliant . Card Model : Digium TE420 with Echo chan E1 Mux : Ad-net Asterisk version : 1.6.0.13 libss7 verssion :1.0.0 dahdi-linux-complete-2.2.0.2+2.2.0 dahdi-tools-2.2.0 Setup : E1 Mux : Zero configuration required . All you need to connect E1 [cat 5] cables from Digium card to your mux. Digium Card: TE420 has four E1/T1 ports. Change the jumper as you need to make that E1 or T1. All you need to put that card into your server's PCIe slot. Connect four E1 to your MUX using standard drop cables. OS: Install the OS Libss7: download from : h