Setup Sipgate UK SIP trunk service
Purpose:
The purpose of this manual is to integrate the Sipgate UK SIP trunk service with the PBXact.
Process:
Sipgate UK website:
Verify that your Sipgate UK account is active and you have configured a SIP trunk towards your public ip of your PBXact:
PBXact:
Create a SIP trunk
Name it SIPGATE_UK
Add the following configuration to the Outgoing section of the SIP trunk:
Trunk Name:
SIPGATE_UKPeer Details:
host=sipconnect.sipgate.co.uk
defaultuser=user_name_from_sipgate
fromuser=user_name_from_sipgate
fromdomain=sipconnect.sipgate.co.uk
secret=password_from_sipgate
type=peer
insecure=port,invite
canreinvite=no
disallow=all
allow=alaw&ulaw
qualify=yesAdd the following configuration to the Incoming section of the SIP trunk:
Register String:
user_from_sipgate:password_from_sipgate@sipconnect.sipgate.co.uk/user_from_sipgateCreate an outgoing route
You can name it Outside or any other descriptive name
Make sure that the route position is "first before last" if you have other trunks in the outbound routes section.
Choose the trunk name in the trunk sequence according to the name you gave to your sipgate trunk.Fill in the correct dial pattern to dial in order to send calls through this trunk
Usually the X. (capital X with a dot) is a pattern that matches any number that starts with a digit between 0-9 with as many digits as you dial (e.g. 442032225555).
You can set a prefix to catch the trunk if this is a second trunk and not your default one:It means that every number that starts with 99 followed by any digit between 0-9 with as many digits as you dial (e.g. 99442032225555)
will catch this route and strip the first 2 digits (99) and send the rest to the trunk.for callerid to be correct the following must also be added to extensions_custom.conf
[macro-dialout-trunk-predial-hook] exten => s,1,SipAddHeader(P-Preferred-Identity:sip:${CALLERID(number)}@sipconnect.sipgate.de)
Do not forget to click on the red button in order to apply the configuration.