In this post I’ll show how to create a Sip trunk between Avaya IP Office and Asterisk pbx.
Avaya IP Office Side
a) Enable SIP Trunks in System Configuration (System – LAN1 ā VOIP)
b) Create a new SIP Trunk
-- SIP Line ITSP Domain Name: <empty> In Service: Y Eveything Else: <default> -- Transport ITSP Proxy Address: Layer 4 Protocol: UDP Send Port: 5060 Use Network Topolgy Info: LAN1 Eveything Else: <default>
Att.: SIP Licenses are required for this step.
--SIP Credential Add a new SIP Credential as below. UserName: <SIP Extension's username on Asterisk for Avaya IpOffice> Authentication Name: <SIP Extension's username on Asterisk for Avaya IpOffice> Contact: <SIP Extension's username on Asterisk for Avaya IpOffice> Password: <SIP Extension's password on Asterisk for Avaya IpOffice> Expiry: 60 Registration Required: Y -- SIP URI Add a new channel as below. Local URI: Use internal Data Contact: Use internal Data Display Name: Use internal Data PAI: Use internal Data Registration: <Index of set in SIP credential> Incoming Group : <Make sure to set the groups to something unique.> Outgoing Group : <same as Incoming group>
c) Under Each User, under there SIP Tabs make sure to set their Sip Name and extension number.
d) Create an Incoming Call Route
Bearer: Any Voice Line Group : <Value from SIP URI> Eveything Else: <default> Destination Tab Default Value is . (just a period)
e) Short code for calling the Asterisk Box. The extension on my asterisks are 8xx.
So my short code codec looks like the next.
Code: 8XX ( Change this with your extension format ) Feature: Dial 3k1 Tel Number: 8Nā@<Asterisk Ip Address>ā (Replace with IP of asterisks) Line Group : <Group Id Set in SIP URI Tab>
Asterisk side
a) Create a SIP Trunk that looks like this:
Trunk Name: <SIP Extension's username on Asterisk for Avaya IpOffice> Peer Details: type=friend username=<SIP Extension's username on Asterisk for Avaya IpOffice> fromuser=<SIP Extension's username on Asterisk for Avaya IpOffice> secret=<SIP Extension's password on Asterisk for Avaya IpOffice> context=from-trunk-sip qualify=yes insecure=very canreinvite=no host=dynamic disallow=all allow=alaw&ulaw
b) Create an Outbound Route
Route name: IPOffice Intra Company Route <checked> Dial Patterns : 6XX <Replace with the format of your IP Office extension> Trunk Sequence: <Select the trunk you created above>
Linkografia
SIP Trunk between Avaya IP Office and Asterisks / TrixBox