Click here to contact us now! Click here to contact us now!

Asterisk PBX for use with VoIPtalk Setup (SIP Trunk)

Back to voip setup guides directory
Click here to find out how to configure your Asterisk PBX to receive incoming calls from VoIPtalk.

Once you have received you SIP account activation details then you are ready to make calls using your Asterisk server.


  1. Outgoing PSTN SIP Trunk:

    The preferred method of configuring Asterisk is by using a combination of the sip.conf and extensions.conf files. The sip.conf file enables you to have much more configuration control over your SIP connection, allowing you to control things such as codec priorities, trunking, etc. For connection to VoIPtalk, a basic sip.conf entry would be:
    [general]
    register => USERID:PW@voiptalk.org/USERID
    
    [voiptalk]
    type=friend
    username=USERID
    secret=PW
    fromuser=USERID
    host=voiptalk.org
    dtmfmode=rfc2833
    fromdomain=voiptalk.org
    context=default
    insecure=very
    
    The corresponding entry in extensions.conf would be:
    [outbound]
    exten => USERID,1,Dial(SIP/extension)
    exten => _0[1-9].,1,Dial(SIP/voiptalk/${EXTEN})
    exten => _00[1-9].,1,Dial(SIP/voiptalk/${EXTEN})
    where USERID is your VoIPtalk ID, PW is your VoIPtalk password and voiptalk is the name of the SIP entity created in sip.conf for your VoIPtalk account.
  2. SIP to SIP Calls:

    To make free SIP calls to any VoIPtalk ID add the following to extensions.conf:
    exten=> _8[1-9].,1,Dial(SIP/${EXTEN}@voiptalk)
  3. Dialling Other Networks:

    Please configure your extensions.conf locally for other networks.
  4. To access our special numbers, you will need to add an extra dial string into your dial plan:
    exten => _9XX,1,Dial(SIP/${EXTEN}@voiptalk)
    All special numbers are 4 digits on length and start with the 09 prefix.

    • 0900 - Dial VoIPtalk Customer Services
    • 0902 - Welcome Message
    • 0903 - Speak your extension
    • 0904 - Echo test
    • 0923 - Speaking Clock



Note: In the interests of security, please do not use your default context for outbound call validation.


Back to top of this page Back to voip setup guides directory