Search code examples
asteriskvoiprestcomm

How to setup RestComm with VoIP Gateways?


I have a background of asterisk where I can setup GoIP1 VoIP Gateway as one of SIP account for outgoing calls.

Asterisk setup sip.conf

[gsm1]
canreinvite=no
context=goip
dtmfmode=rfc2833
fromuser=gsm1
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=g729
insecure=port,invite
secret=gsm1
type=friend
defaultname=gsm1

How can I do the same in RestComm? I 've RestComm-Core setup on my local and I don't want to go with DID Provision Providers


Solution

  • If you are using the Restcomm binary. You need look into the file

    restcomm.conf

    .

    Configure the outbound proxy as shown below

    # Address for outbound calls
    OUTBOUND_PROXY='' #Provide port if different than 5060
    OUTBOUND_PROXY_USERNAME=''
    OUTBOUND_PROXY_PASSWORD=''

    Regards

    TechKid