AudioCodes Mediant 1000 Twilio SIP Trunk to PRI
AudioCodes Mediant 1000 Twilio SIP Trunk PRI handoff
Please replace LAN IP and WAN IP information
Added E164 format
Added E164 format
; PSTN Gateway - Generic SIP Trunk
NTPServerUTCOffset = -18000
SSHServerEnable = 0
[ InterfaceTable ]
FORMAT InterfaceTable_Index = InterfaceTable_IPAddress;
InterfaceTable 0 = ;
InterfaceTable 1 = ;
InterfaceTable 2 = ;
InterfaceTable 3 = ;
InterfaceTable 4 = ;
InterfaceTable 5 = ;
InterfaceTable 6 = ;
InterfaceTable 7 = ;
InterfaceTable 8 = ;
InterfaceTable 9 = ;
[ \InterfaceTable ]
[ PhysicalPortsTable ]
FORMAT PhysicalPortsTable_Index = PhysicalPortsTable_Port, PhysicalPortsTable_Mode, PhysicalPortsTable_NativeVlan, PhysicalPortsTable_SpeedDuplex, PhysicalPortsTable_PortDescription, PhysicalPortsTable_GroupMember, PhysicalPortsTable_GroupStatus;
PhysicalPortsTable 0 = GE_0_1, 1, 1, 4, "WAN Port#1", GROUP_1, Active;
PhysicalPortsTable 1 = GE_0_2, 1, 1, 4, "WAN Port#2", GROUP_1, Redundant;
[ \PhysicalPortsTable ]
FORMAT EtherGroupTable_Index = EtherGroupTable_Group, EtherGroupTable_Mode, EtherGroupTable_Member1, EtherGroupTable_Member2;
EtherGroupTable 0 = GROUP_1, 2, GE_0_1, GE_0_2;
[ \EtherGroupTable ]
FORMAT InterfaceTable_Index = InterfaceTable_ApplicationTypes, InterfaceTable_InterfaceMode, InterfaceTable_IPAddress, InterfaceTable_PrefixLength, InterfaceTable_Gateway, InterfaceTable_VlanID, InterfaceTable_InterfaceName, InterfaceTable_PrimaryDNSServerIPAddress, InterfaceTable_SecondaryDNSServerIPAddress, InterfaceTable_UnderlyingInterface;
InterfaceTable 0 = 6, 10, 192.168.10.2, 16, 192.168.10.1, 1, WAN_IF, 1.1.1.1, 9.9.9.9, GROUP_1;
[ \InterfaceTable ]
ProtocolType_0 = 10
LineCode_0 = 0
FramingMethod_0 = 0
ClockMaster_0 = 1
TerminationSide_0 = 1
ISDNIBehavior_0 = 0
ISDNOutCallsBehavior_0 = 1024
ISDNInCallsBehavior_0 = 69632
ISDNRxOverlap_0 = 0
[ TrunkGroup ]
FORMAT TrunkGroup_Index = TrunkGroup_TrunkGroupNum, TrunkGroup_FirstTrunkId, TrunkGroup_FirstBChannel, TrunkGroup_LastBChannel, TrunkGroup_FirstPhoneNumber, TrunkGroup_LastTrunkId, TrunkGroup_Module;
TrunkGroup 0 = 1, 0, 1, 23, , 0, 1;
[ \TrunkGroup ]
[ TrunkGroupSettings ]
FORMAT TrunkGroupSettings_Index = TrunkGroupSettings_TrunkGroupId, TrunkGroupSettings_ChannelSelectMode;
TrunkGroupSettings 0 = 1, 1;
[ \TrunkGroupSettings ]
[ CpMediaRealm ]
FORMAT CpMediaRealm_Index = CpMediaRealm_MediaRealmName, CpMediaRealm_IPv4IF, CpMediaRealm_IPv6IF, CpMediaRealm_PortRangeStart, CpMediaRealm_MediaSessionLeg;
CpMediaRealm 1 = realm1, "WAN_IF", , 7000, 100;
[ \CpMediaRealm ]
[ SRD ]
FORMAT SRD_Index = SRD_Name, SRD_MediaRealm;
SRD 1 = srd1, realm1;
[ \SRD ]
[ SIPInterface ]
FORMAT SIPInterface_Index = SIPInterface_NetworkInterface, SIPInterface_ApplicationType, SIPInterface_UDPPort, SIPInterface_TCPPort, SIPInterface_TLSPort, SIPInterface_SRD;
SIPInterface 1 = "WAN_IF", 0, 5060, 0, 0, 1;
[ \SIPInterface ]
[ IpProfile ]
FORMAT IpProfile_Index = IpProfile_ProfileName, IpProfile_MediaSecurityBehaviour;
IpProfile 1 = "ITSP", 2;
[ \IpProfile ]
[ ProxySet ]
FORMAT ProxySet_Index = ProxySet_EnableProxyKeepAlive, ProxySet_SRD;
ProxySet 1 = 0, 1;
[ \ProxySet ]
[ ProxyIp ]
FORMAT ProxyIp_Index = ProxyIp_IpAddress, ProxyIp_TransportType, ProxyIp_ProxySetId;
ProxyIp 1 = sip.pstn.twilio.com:5060, 0, 1;
[ \ProxyIp ]
[ IPGroup ]
FORMAT IPGroup_Index = IPGroup_Type, IPGroup_Description, IPGroup_ProxySetId, IPGroup_SIPGroupName, IPGroup_SRD, IPGroup_MediaRealm, IPGroup_ClassifyByProxySet, IPGroup_ProfileId;
IPGroup 1 = 0, "ITSP", 1, , 1, realm1, 1, 1;
[ \IPGroup ]
[ PREFIX ]
FORMAT PREFIX_Index = PREFIX_RouteName, PREFIX_DestinationPrefix, PREFIX_SourcePrefix, PREFIX_DestIPGroupID;
PREFIX 0 = "PSTN -> ITSP", *, *, 1;
[ \PREFIX ]
[ PstnPrefix ]
FORMAT PstnPrefix_Index = PstnPrefix_RouteName, PstnPrefix_DestPrefix, PstnPrefix_TrunkGroupId, PstnPrefix_SourcePrefix;
PstnPrefix 0 = "IP -> PSTN", *, 1, *;
[ \PstnPrefix ]
FORMAT NumberMapTel2Ip_Index = NumberMapTel2Ip_ManipulationName, NumberMapTel2Ip_DestinationPrefix, NumberMapTel2Ip_SourcePrefix, NumberMapTel2Ip_RemoveFromLeft, NumberMapTel2Ip_Prefix2Add, NumberMapTel2Ip_SrcTrunkGroupID;
NumberMapTel2Ip 1 = "dst PSTN -> ITSP", 1XXXXXXXXXX, *, 0, +, 1;
NumberMapTel2Ip 2 = "011", "*", 255, 255, 0, 0, 255, "+", "", 255, -1, -1, -1;
NumberMapTel2Ip 3 = "311", "*", 255, 255, 3, 0, 255, "+12126399675", "", 255, -1, -1, -1;
NumberMapTel2Ip 4 = "411", "*", 255, 255, 3, 0, 255, "+18003733", "", 255, -1, -1, -1;
NumberMapTel2Ip 5 = "511", "*", 255, 255, 3, 0, 255, "+18776905114", "", 255, -1, -1, -1;
[ \NumberMapTel2Ip ]
FORMAT IpProfile_Index = IpProfile_CodersGroupID;
IpProfile 1 = 1;
[ \IpProfile ]
FORMAT CodersGroup1_Index = CodersGroup1_Name, CodersGroup1_pTime, CodersGroup1_rate, CodersGroup1_Sce;
CodersGroup1 0 = "g729", 20, 0, 0;
CodersGroup1 1 = "g711Alaw64k", 20, 0, 0;
CodersGroup1 2 = "g711Ulaw64k", 20, 0, 0;
[ \CodersGroup1 ]
Comments
Post a Comment