how to configure vodafone PJSIP trunk in asterisk vicidial freepbx

    Step by Step guide to configure the Vodafone-Idea PJSIP trunk in asterisk based PBX and dialers like vicidial, Freepbx, Goautodialelastix, issabel. Vodafone-Idea India provides VOIP trunk to India customer for domestic dialing which supports both SIP and PJSIP protocol. If you are looking for vodafone-idea VOIP trunk in PJSIP then this article is for you.

vodafone pjsip trunk asterisk

Whos is vodafone-idea?

    If you are looking for vodafone PJSIP trunk configuration in asterisk or vicidial then this blog post is for you. In this tutorial i have provided asterisk pjsip configuration for vodafone PJSIP trunk.

     Vodafone Idea Business, offers Managed PJSIP service for businesses for whom voice calls are a key business resource with Vodafone Idea Managed PJSIP (MSIP), these organizations will now have the assurance of security as well as a window to monitor, measure and optimise their voice infrastructure.

Vodafone PJSIP Network Settings:

    Vodafone PJSIP trunk is provided with a dedicated network from vodafone network service, that is you will be provided with a router with dedicated subnet, either you need to have two ethernet interface in your dialer to connect to vodafone network and also connect to your existing network, or you need to have a router which can support two networks with proper routing.

Check out my tata sip trunk Article for the Network connectivity required for the vodafone network and Asterisk server.

How to enable PJSIP:

 PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE.PJSIP is both compact and feature rich. It supports audio, video, presence, and instant messaging

Check out my blog post how enable PJSIP in vicidial.

Vodafone PJSIP Carrier Details

Once you have purchased the vodafone PJSIP trunk, you will be provided with the below details,

DID numbers
Pilot number
SIP gateway IP & Media IP
Vodafone Network subnet range (server IP,subnet, gateway IP)

Asterisk - Vicidial PJSIP Settings for vodafone

    If you are using Plain asterisk or configuring the trunks in command line, then add the below PJSIP settings in pjsip.conf which is located in the /etc/asterisk/ folder.

    If you are using vicidial then add all the pjsip settings mentioned here under the same carrier Account settings.

Note:  you no need to add any registration string for the pjsip trunks.

            Replace the username,password, IP address my  IP=


Asterisk PJSIP Dialplan

    Use the below dialplan to dial over the vodafone trunk with PJSIP dialplan application.

If you are using the Asterisk and manging over command line, then add this dialplan in extensions.conf under your preferred outbound context,  

For vicidial users add this dialplan in same carriers settings under Dialplan Entry

dial plan for Vicidial Users

exten => _9X.,1,AGI(agi:// 
exten => _9X.,n,Dial(PJSIP/${EXTEN:1}@vodafonesiptrunk,30,Tto) 
exten => _9X.,n,Hangup()

dialpal for plain asterisk users

exten => _9X.,1,Dial(PJSIP/${EXTEN:1}@vodafonesiptrunk,30,Tto) 
exten => _9X.,n,Hangup()


    Hope this article is helpful for you, if you like this post kindly share and follow.

Still you are facing issue or need a professional support reach out to be me on skype or telegram - id: striker24x7

No Comment
Add Comment
comment url