Shell Script to copy files in a folder

A shell script to find all the files in the given path recursively and then copying them in the target folder #!/bin/sh ################################################################# # A shell script to go through a directory recursively and copy # ################################################################# # this is full path to the folder from where the files need to be copied. path=”/home/Music/” # … Read more

Dialer Support – S Net Expert Technology

We provide Asterisk Support in all over INDIA • Installation / maintenance / configuration • Inbound/outbound/predictive dialing solution for small and large call centers • Vicidial Install, Vicidial Support, Vicidial Configuration and Customization • Go Autodial Install, Go Autodial Support, Go Autodial Configuration and Customization • PRI Line Configure & Support • PRI Card Configure … Read more

Manipulating Dialplan Variables : Asterisk

iNet Expert Technology

We often require to do string manipulation on a variable. For example, a variable named phonenumber which represents a number we’d like to call, and we want to strip off the first 5 digit before dialing the number. Asterisk provides a special syntax for doing just that, which looks like ${variable[:skip[:length]} The optional skip field tells Asterisk how many … Read more

Asterisk – ChannelRedirect

Asterisk dial command

ChannelRedirect : This is used to redirect the given channel to target dialplan. For example if you want to redirect the channel SIP/1222-09992 to wrap context at 2 priority. You can use this function/command to do so. This has been added in Asterisk 1.4 version. For Asterisk 1.4 version ChannelRedirect(channel|[[context|]extension|]priority) For Asterisk 1.8 and above … Read more

Asterisk : Select Multiple column from MySQL

asterisk-mysql

Here is an example to select multiple column of a table from select statement in asterisk. exten => h,1,MYSQL(Connect conn localhost username password database) exten => h,n,MYSQL(Query res ${conn} ‘SELECT call_id,callerid,calltime FROM todaycall WHERE calltime=curdate() order by calltime desc limit 1′) exten => h,n,MYSQL(Fetch fid ${r} call_id callerid calltime) exten => h,n,MYSQL(Clear ${r}) exten => … Read more

Autodestruct on dialog….: Asterisk issue

WARNING[1812] chan_sip.c: Autodestruct on dialog ‘38617eb73184c21225d3133b398b0dc6@10.0.8.18:5060’ with owner SIP/1000-00000533 in place (Method: BYE). Rescheduling destruction for 10000 ms Solution: We resolved this by looking into the dialplan. It seems that we had a channel held open that Asterisk couldn’t destroy. These built up and Asterisk was unable to successfully make calls. A key thing I … Read more

Asterisk: The Hacker’s PBX

Telecommunications companies that choose to ignore Asterisk do so at their peril. The flexibility it delivers creates possibilities that the best proprietary systems can scarcely dream of. This is because Asterisk is the ultimate hacker’s PBX. The term hacker has, of course, been twisted by the mass media into meaning “malicious cracker.” This is unfortunate, … Read more

A Telephony Revolution with Asterisk

iNet Expert Technology

First they ignore you, then they laugh at you, then they fight you, then you win. —Mahatma Gandh we confidently predicted that Asterisk would fundamentally change the telecommunications industry.  Asterisk is now the most successful private branch exchange (PBX) in the world, and is an accepted (albeit perhaps not always loved) technology in the telecom industry. Unfortunately, over the … Read more