When to switch from core PHP to Laravel? By DIDX CTO Panhwar

Framework usually is packaged stuff, so they are created for the user to easily use to accomplish solutions quickly. But to use them, it is recommended that the user have first core PHP knowledge and pre-requisite. This way his shift will be very easy and he will be able to follow good practices than if he has started without prior good knowledge. Why waste time with the lack of core concept understandng?
What do you need?
Learn core PHP, loops, conditions, statements, arrays and other basic concepts. Then learn Object Oriented programming, many people learn it, but basically, you have to create a real project with a few classes amd inheritance too. Now, before jumping to Laravel, learn general basics like routing, ORM, template engining, and similar concepts. I love Symfony framework’s tutorials on how to create your own framework. It is very good to read and learn.
Moving to Laravel
Now, create a small project using the necessary background knowledge by gathering some libraries and if all goes well, move to Laravel. I assure you that now your shift will be very easy and smooth. I recommend to study a few tutorials and then go to Documentation of Laravel. Please note documentation is a very important part, so at least whatever version of Laravel you choose, read a-z of its documentation.
Good luck.

Your VoIP Competitors Will be Like … Look at You, Wow!

DIDX.net, a wholesale DID number service since 1999 in beta and since 2005 full, trusted delivery to the web, offers communications companies to buy and sell DID phone numbers of …
140 countries
with Fast Activation
and Low Monthly rates.
DID NUMBERS CAN BE USED FOR ALL TYPES OF BUSINESS
such as …
VIRTUAL PHONE LINE
PBX
MOBILE PHONE APP
HOME PHONE
CALL BACK
CALL FORWARD
VOICE MAIL
FAXING
TEXTING
IOT
CALLING CARD
CONTACT CENTER
and other communications services by the world’s most CREATIVE ENTREPRENEURS, OUR DIDX MEMBERS!
NUMBERS ARE AVAILABLE …
PER CHANNEL
PER MINUTE
PER TRIGGER basis
You have choices which is a good thing.
DIDX provides you with 2 FREE NUMBERS to test compatibility and interconnection with your switch.
Be even better than Whatsapp and Facebook VoIP business. Enable your customers to have a local presence via DID numbers of 140 nations you sell to them.
ALL BUYING AND SELLING RUNS ON YOUR COMPANY WEBSITE WITH DIDX working quietly in the background, assisting you to become an industry success, provisioning the phone numbers on your server over SIP.
Our API and web service empower you to integrate the entire inventory of DID (direct inward dialing) numbers on your website. You will be able to make available choices for your users of millions of phone numbers.
Your business will gain an excellent reputation as fast growing with increased revenue, more satisfied
customers and a global presence.
Sellers of DID numbers on the DIDX platform have a ready wholesale buying audience
of over 30,000 members.
Get started today at didx.net. Your company deserves to be a winner!

FreePBX Configuration + DIDX DID Number Coverage of 100+ Nations = IP Communications Freedom

Let’s see firsthand how to configure a FreePBX server with DIDX. (We will add a demo video soon.)

Please log in to your DIDX account. Let’s forward the DID to a FreePBX server. First, select the “My Purchased DID”.

Here you can see all the DIDs you have purchased from DIDX. For forwarding the DID, click on the “Ring To” address.

In the “New SIP” section, you will want to define the forwarding in this format “DID@Server:port”. If you are using the “Channel SIP,” then you need to define the port “5160” in the forwarding. Otherwise, if you are using “PJ SIP,” then you don’t need to define the port in the forwarding.

After defining the forwarding, click on the update button.

You have successfully configured the DID forwarding. All the configuration is done on the DIDX portal.

Now, let’s create the SIP trunk on FreePBX. All the SIP server IPs of DIDX are available on this link “www.didx.net/pages/asterisk”. For configuring the SIP server on FreePBX, you will need to define it one by one. It is recommended to create the SIP trunk with all IP addresses on this link.

On the FreePBX server, just click on the “Connectivity” option, and then select the “Trunks” option.

Now click on the “Add Trunk” option, and then select the SIP (Chan_SIP).

Now fill up the “Trunk Name”. Here we are defining “DIDX”.

Now select the “SIP Setting” option. In that you need to define the “Trunk Name”. We are defining “didx-incoming”

For defining the peer details, you do not need to define the “username” and “secret”. In the host, just define the IP address of SIP server. After this, just click on the submit option. Then click on Ok.

After that, click on the “Apply Config”. Now the trunk has been created successfully. You will need to create the remaining IPs SIP trunks in the same manner that you have created this. After creating all the SIP trunks, just click on the “Application” option and last, select the “Extensions” option.

Now click on the “Add Extension” button. In this area, select the “Add new channel SIP extension”.

Here, you will need to define the “User Extension.” You can use any preferred digits. In this case, we are defining “1234”. In the display name, we are defining “didx”. Let’s make sure to choose a strong password, so that no one can access your extension. After that, just click the “Submit “button. Then click on the “Apply Config”. You have successfully created the extension.

Now you will need to define the inbound routes. Just click on “Connectivity” in that area and select the option “Inbound Routes”.

Then click on the “Add Inbound Routes”. Now you will need to define the DID that you have bought from DIDX in the “DID Number” section. Next, select the “Set Destination” which is 1234. Then click on the “Submit” button. Then click on the “Apply Config”. All the configuration of FreePBX is successfully created.

Whenever someone dials this DID, the call will land on this extension “1234”. Welcome to DIDX DID Number Coverage of 100 + nations with the awesome FreePBX. Feel free to sign up at http://www.didx.net to connect your FreePBX service to direct inward dialing coverage of millions of numbers. You don’t have to buy them before your customers buy them from you. Really freeing!

The “Free” in FreePBX stands for freedom. The site offers paid support, a wiki, video lessons and training classes. You can get involved by bug reporting, resolving bugs, becoming a certified ecosystem partner like Allision Smith and Vitelity, and more. Their site is powered by a free Atlassian Confluence Open Source Project License granted to FreePBX.org.

Configure OpenSIPS to Receive Calls from DIDX DID Number Coverage

Hello to your new rich IP comunications business that includes OpenSIPS Open Source SIP proxy/server for voice, video, IM, presence and any other SIP extensions … multi-functional, multi-purpose signaling SIP server and DIDX direct inward dialing!


There is a misspelling of “Interop” at the beginning of this video. We apologize. We deeply appreciate Bogdan Iancu, founder of OpenSIPS for making it really easy to understand how to configure OpenSIPS to receive calls from DID of DIDX.net!

How To: Achieve Interoperability Between DIDX and OpenSIPS

 

In this tutorial, we will expand an existing OpenSIPS server configuration so that it will accept incoming traffic from a given list of DIDX servers.

 

To find out which particular DIDX IP address will send traffic for a given DID number, you may login to your DIDX account and visit the “DID INFO” page of that number. Alternatively, you may visit https://www.didx.net/pages/configs for the list of all DIDX IPs.

 

Regarding OpenSIPS, we assume that it is already running alongside an SQL database. Depending on your Linux OS, you may install and immediately start OpenSIPS from either https://apt.opensips.org or https://yum.opensips.org. For the database, a quick tutorial on how to import the OpenSIPS database schema into your SQL engine of choice is available at https://www.opensips.org/Documentation/Install-DBDeployment-2-4

 

The typical way to authenticate the SIP sender is via digest authentication (with username and password). As this mechanism is suitable for authenticating endpoints (users), it does not fit when comes to authenticate gateways, DID servers or other types of remote SIP Servers. For such purposes is it better to use IP authentication – the SIP sender is recognized and authenticated based on the source IP at the IP level.

 

Typically, most OpenSIPS config files (including the default config file) provide support for digest authentication, so we need to add to your config file the support for IP authentication in order to recognize and trust the calls sent by the DIDX servers.

 

First, open the /etc/opensips/opensips.cfg OpenSIPS configuration file using your favorite text editor. If OpenSIPS is installed from sources, the default path is /usr/local/etc/opensips/opensips.cfg. Within the initial section of the script, load the “permissions” module and configure a database URL for it:

 

loadmodule “permissions.so”

modparam(“permissions”, “db_url”,                  “mysql://opensips:opensipsrw@localhost/opensips”)

 

The “permissions” module is an in-memory storage for lists of IPs and network masks. We will use it to store the list of DIDX servers and validate all incoming calls against this list. With regards to the “validation” part, we only want to perform it when a call starts (i.e. initial INVITE receival). We recommend placing this check near your SIP digest authentication script code, and skipping the digest authentication altogether if the source is whitelisted:

 

 

if (!is_method(“REGISTER”)) {

if (check_source_address(“11”)) {

xlog(“Call from DIDX, skipping SIP digest authentication\n”);

} else if (is_myself(“$fd”)) {

# authenticate local subscriber

}

}

 

We apply the config file changes by restarting OpenSIPS:

 

opensipsctl stop

opensipsctl start

# or

/etc/init.d/opensips restart

 

Next, we provision the DIDX IPs under group 11 into the SQL database using opensipsctl. Note that you need to provision the DB support via opensipsctlrc file (typically under /etc/opensips/ directory):

 

# list the  current addresses from DB (should show nothing)

opensipsctl address show

# add the addresses one by one to DB

opensipsctl address add 11 198.199.87.53 32 0 udp

# list again to see all the addresses from DB

opensipsctl address show

 

Finally, we refresh the OpenSIPS “permissions” module cache with the new IPs:

 

# list the current in-memory addresses (should show nothing)

opensipsctl address dump

# instruct OpenSIPS to refresh in-memory cache with the DB content

opensipsctl address reload

# list again to see the addresses loaded from DB

opensipsctl address dump

And we’re done! OpenSIPS will now accept IP authenticated inbound traffic from the DIDX service. Awesome!

BTW, also don’t miss a single OpenSIPS Summit! Super informative, hands-on, welcoming event each year in Amsterdam, Netherlands.

Welcome to Asterisk Configuration with DIDX DID Coverage of 100 + Nations

Millions of individuals and businesses on planet Earth use a communications system in which the Asterisk and DIDX direct inward dialing are used for convenient, feature-rich, inexpensive calling. Here is how to configure the technical side of this empowering combination. (We will include a demo video on this blog that goes with this description soon.)

Let’s create SIP trunks in Asterisk with the IP addresses of DIDX SIP server. Use any
preferred editor to edit the “SIP.conf” file. The file path is “/etc/asterisk/sip.conf”.

Here you have to define the SIP trunks with the IP addresses of DIDX.

All the IP addresses of DIDX are mentioned on this link which is “www.didx.net/pages/asterisk”. If you are using USA DID, then the call can come from sip4, us1 and us2 addresses. If you are using UK DID, then call can come from eu2 and eu3 addresses. It is recommended to create the SIP trunk with all the IP addresses which are mentioned on this page.

Let’s create the SIP trunk with “sip4”.
The format for this follows:

[sip4]
type=peer
host=198.101.50.4
context=incoming

Let’s make a second SIP trunk of “sip8”.

[sip8]
type=peer
host=67.228.182.162
context=incoming

Similarly, in this format you will define the remaining IP addresses of DIDX.

Next, you will create an extension in this file. The format for creating the “10005” extension is like
this:

[10005]
type=peer
username=10005
secret=DIDx (Please make sure to use strong, complex password.)
host=dynamic
context=incoming
disallow=all (This will disallow all the codecs.)
allow=alaw (You will allow only “ulaw” and “alaw.”)
allow=ulaw

You have created the extension successfully in the file. Now save and exit the file.

Let’s go to the extension file using the preferred editor. The file path is same; just replace …
“sip.conf” with “extensions.conf”.

You will define your “Dial Plan” in this format where we are using DID 15672446030 as an example:

[incoming]
exten => 15672446030,1,Dial(SIP/10005)
exten => 15672446030,2,Hangup()

All incoming calls on this “DID” will land on this extension “10005”.

Instead of defining all the DIDs separately in the “Dial Plan”, you can customize your Dial plan like this:

exten => _X.,1,Dial(SIP/10005) (Here “X” means number from 0-9 and “.” means any length.)
exten => _X.,1,Hangup()

After this, save and exit the file.

Now you will go to Asterisk CLI to reload all your configuration. For that type “Asterisk -rvvvv”. Then hit Enter.

Now type “reload” and hit Enter. Your configuration is reloaded successfully.

Now you will register the extension on your softphone that you have created in your “sip.conf” file. You can use any softphone such as your own or Zoiper, X-lite, Jitsi, SwitchVox softphone, and Eyebeam because they are easily available and can be configured in no time. In our demo video, we use Zoiper.

In Zoiper, click on “Setting” and then use the SIP protocol. Click “next”.

Type your extension in the “User” box. Type the password that you have defined in your extension.

Last, type the IP address of your Asterisk server and then click “next”. Again “next”.

You will see: “Your account has been added to account list”.

Again, go to your Asterisk CLI. Check if your extension is registered on the softphone or
not by using this command “sip show peers”. Here you can see your extension has been registered.

Once your configuration is completed successfully, dial the DID that you have purchased and had provisioned from the DIDX marketplace, you will see the incoming call on this DID reach this extension successfully which is registered on your softphone.

Feel free to double-check the call on the “Asterisk CLI”. Welcome to your Asterisk server with DIDX direct inward dialing with a coverage of 100 + nations.

New Top Quality DIDs Available for you to Sell of NYC, Russia, Prague, Guatemala

Just back from ITEXPO East and completed new business development with top quality DID providers and really excited to announce new DID phone numbers added today that are available for our DID buyers to show as available to purchase and provision immediately. All DIDX buyers may use the DIDX API to show all DID numbers of up to 140 nations as available to their clients. They do not pay in advance for all these DIDs. They are billed from their account balance when their clients buy. That’s the reason so many DIDX buyers are growing fast.

Log in to your DIDX account today to take advantage of 120 new USA DIDs available of New York City, Cleveland,Philadelphia, Dallas Metro, Downtown Los Angeles, Stockton, Maine, Idaho; Champaign, Illinois; Duluth, Gary, Albany, Michigan, Akron, Cape Coral, San Antonio, Charleston, Washington, Frederick, Seattle, Central Alabama, Bridgeport, Central Texas, Tacoma, Rocky Mount, Charleston, Huntsville, Fort Wayne, Danville, Owensboro, Otsego, Philadelphia, Kenosha, Eugene,Toll-Free, Shreveport, Fresno, Fort Lauderdale,Washington,Philadelphia,Washington,Washington,Washington,New YorkCity, Philadelphia, Cincinnati, Silver Spring, Houston, and Pontiac.

In addition to new USA DIDs just added today and available for you to sell your clients: Sittingbourne (Southeast England) Mobile; St Petersburg, Moscow, Chelyabinsk, Russia; Indosat Mobile of Indonesia; Guatemala City, Guatemala; Cape Town, South Africa; and Prague, Czech Republic (largest City of Czech).

DIDX R & D in Infrastructure, API and Automation 2018

By Suzanne Bowen (VP Event Management) and Kamal Panhwar (DIDX CTO)

We work smart to make sure the experience that our DIDX customers and vendors have in our direct inward dialing DID number marketplace… keeps a smile on their faces, that helps them get more customers and that helps them retain those customers. Some of our projects include the following to keep DIDX improving!

Infrastructure
We must have super reliable communication infrastructure. We are working to improve our SIP proxy server. Currently we have for 30 Asterisk servers to connect with proxy. Our infrastructure uses IBMCloud (used to be SoftLayer cloud) and DigitalOcean cloud servers. OTOH, thousands of our DIDX customers and vendors use FreeSWITCH and other softswitches, and we work with them every day to ensure excellent interoperability between their switches and the DIDX API.

We’re scripting for load balancing and proxy server with OpenSIPS. Our CTO Kamal Panhwar, DIDX sales manager Muhammad Ali and the whole team made that choice after several online and offline meetings and testing with OpenSIPs developers and businesses that currently use OpenSIPS. Several 100 of our DIDX members use Kamailio, too.

API (Application programming interface)
Last year, we made a decision we need to improve our DIDX API. Our system was using SOAP (simple object access protocol) format. The challenge while upgrading is that many of our clients use SOAP, so we will continue to give backward compatibility. Our new API will use Restful, so we can provide both Json and XML support.

didx-bumblebee-theme

Appearance
We just changed the appearance of our DIDX interface from the black, yellow and burgundy bumble bee look to a much calmer turquoise, white and black. I like them both. (I am Suzanne Bowen.)

 

 

 

blue, white, black didx schemeAutomation
We are researching Dockers and Kubernetes (to create a virtual machine template). When one of our servers fails or we need to load balance, a new server will automatically be created.

We are beta testing Homer software to capture SIP packets. The use of this gives us more robust information about the DIDs that are available to buy and that are sold on DIDX in file PCAP format. With this … customers will have more info about the SIP with DID numbers available on DIDX.net.

Though the Internet of Things are exciting and important, we still keep an emphasis on the fact that the Internet of People are even more so. We strive to serve our vendors and buyers of DID numbers with TLC on DIDX because the people are what is important.

 

 

India Direct Inward Dialing DID Numbers of 21 Cities Available on DIDX

India DID numbers of 21 cities ready to buy on DIDXDIDX has a new opportunity to make available DIDs of 21 cities of India for sale on the DIDX portal. These DIDs are from a top quality provider who is the source of DIDs for some very popular competitors of Whatsapp and Skype as well as top tier telecom carriers in Asia, Europe and Africa. These DIDs can be used for conference calls only. Any number of entities can call from within India to the India DID numbers. Each DIDX buyer interested can log in to the DIDX portal today and place requests.

India DID of 21 cities  with unlimited number of channels are available. They take approximately 15 days to provision. The cities include:

CITY\Number Type Prefix\Number Format
Delhi 91-11
Pune 91-20
Mumbai 91-22
Kolkata 91-33
Hyderabad 91-40
Chennai 91-44
Ahmedabad 91-79
Bangalore 91-80
Chandigarh 91-172
Cochin 91-484
Gurgaon 91-124
Trivandrum 91-471
Jammu 91-191
Coimbatore 91-422
Jaipur 91-141
Bhopal 91-755
Lucknow 91-522
Guwahati 91-361
Bhubaneswar 91-674
Indore 91-731
Noida Ghaziabad 91-120

 

No porting is available. They cannot be used for calling cards, only call conferencing with unlimited channels.

 

What is a Direct Inward Dialing Marketplace? DIDX

 

DIDX.net, a wholesale service since 2005, offers communications companies the opportunity to buy and sell DID phone numbers of 67 countries and more with fast activation and low monthly rates. These numbers are used for all types of business such as calling card, contact center, home phone, virtual phone line, callback, call forwarding, PBX, mobile phone app, voicemail, faxing, IoT, texting, and other communications services in the minds of the world’s most creative entrepreneurs, our DIDX members!

Numbers are available per channel, per minute or per trigger basis. DIDX provides you with 2 free numbers to test compatibility and interconnection with your switch. All buying and selling runs on your company website with DIDX working quietly in the background, provisioning the phone numbers on your server over SIP.

Our API and web service will empower you to integrate the entire inventory of DID (direct inward dialing) numbers on your website. You will be able to make available choices of millions of phone numbers to your company and customers. Your company gains an excellent reputation as fast growing with increased revenue, more satisfied customers and a global presence. Sellers of DIDX numbers on the DIDX platform have a ready wholesale buying audience of over 30,000 members.

Get started today at www.didx.net! Your company deserves to be a winner! Follow us on your favorite social network: Twitter at http://www.Twitter.com/DIDxGlobal and LinkedIN at https://www.linkedin.com/company/didx/, Facebook at http://www.Facebook.com/DIDxGlobal, Instagram at https://www.instagram.com/didxglobal/ or Quora at https://www.quora.com/topic/DIDx-net.

More important, sign up to day to sell DID numbers to our thousands of communications service provider customers and/or to buy DID numbers of 140 nations to resell to your customers at www.didx.net. Don’t have a SIP / CRM service set up yet. DIDX works with Telinta, Callision, 2600hzTwilioPlivo and hundreds of others for your new communications service startup. Tell them DIDX sent you.

Wake Up to the Rewards of CommunicAsia 2018 June 26-28 Singapore

Feeling overwhelmed from so much to do and need a pick-me-up? Watch our energizing video that will pick you up and give you one of the best ideas ever; head to Singapore June 2018 and meet new people involved in communications and technologies business at CommunicAsia. We definitely want to meet you. Check the DIDX events‘ page to find out our booth number. Message us to meet up!