In this installment of hackrr.com, we are going to talk about listening to specific queues with FreePBX. Previously, we showed you how to How to barge with freepbx, and now this is how to spy on queues that may each have their own members. Basically here is the theory: We are going to add a ..

Read more

;This context is used to handle all outbound calls. [test-outbound] exten => 56782,1,Answer() exten => 56782,n,Playback(hello-world) exten => 56782,n,Goto(outbound-allroutes,${EXTEN},1) ;This context is used to handle all inbound calls. [test-inbound] exten => 56782,1,Answer() exten => 56782,n,Playback(hello-world) exten => 56782,n,Goto(ext-did,${EXTEN},1)   ============== IVR Script =====================   ;This context is used to handle all outbound calls. [test-outbound] exten ..

Read more

Call Management   SLNO Command Description Command Functions Notes 1 Answer Answer() 2 Hangup Hangup() 3 Dial Dial() 4 SoftHangup SoftHangup() 5 Busy Busy() 6 Congestion Congestion() 7 Ringing Ringing() 8 Transfer Transfer(?) 9 Wait Wait() Time Interval 10 WaitExten WaitExten(?) 11 WaitForRing WaitForRing(?) 12 WaitForSilence WaitForSilence() GotoIf($[“${WAITSTATUS}” = “TIMEOUT”]?<e0>:) 13 MusicOnHold MusicOnHold(,) 14 ChanIsAvail ..

Read more

Here is a list of all the commands that you can use in your Dialplan(extensions.conf). Obtaining a list of available applications in the CLI Asterisk 1.4 or earlier: Type “show applications” or “show application <name>” Asterisk 1.6 or later: Type “core show applications” or “core show application <name>” Page Contents General commands Billing Call management ..

Read more

Introduction to CodeIgniter Basic With CRUD CodeIgniter (CI) is one of popular php framework. If you are already building PHP Application, CodeIgniter will help you to do it better and more easily. With CodeIgniter, you can save time, make your web more robust, your code will be easier to read and maintenance. It is free, ..

Read more

SOAP SOAP is probably the most used Web Services protocol. It provides a way of exchanging structured information of application functionality. A SOAP interface can be defined by its Web Service Description Language (WSDL) file, which simply provides the definitions of all available methods to the client. One of the biggest attractions to using SOAP ..

Read more

Diagnose Look up the following inside your script file phpinfo(); If you can’t find Soap Client set to enabled like so: Fix Do the following: Locate php.ini in your apache bin folder, I.e Apache/bin/php.ini Remove the ; from the beginning of extension=php_soap.dll Restart your Apache server Look up your phpinfo(); again and check if you ..

Read more

<?php $client = new SoapClient(“http://192.168.1.27/soap.php?wsdl”, array(“trace” => 1, “exception” => 0)); // LOGIN $response = $client->__soapCall(“login”, array( “user_auth” => array( ‘user_name’ => ‘user’, ‘password’ => md5(‘bitnami’), ‘version’ => “0.1” ), “application_name” => ” ) ); $session_id = $response->id; echo “session_id=$session_id\n”; // CREATE ACCOUNT $response = $client->set_entry($session_id, ‘Accounts’, array( array(‘name’ => ‘name’, ‘value’ => “Account Test ..

Read more