Hi All,
I think that it could be nice to share my knowledge on this subject and help the others people to connect Asterisk to Avaya:
In first we need to add on Avaya a new node-name:
Make on Avaya "change node-names ip"
And attribute the name Sip_server for our example and also the IP address of your Asterisk server:
Create a new signaling group, you need to use a CLAN of your system and the node-name that you have created above, keep the fiedl "Trunk group for Channel Selection" empty, this field will be fill after creation of the Trunk.
After the creation of the signalling we can create the trunk, in my example I'll create the trunk 42 but you can use a different number:
Page 1 of the trunk:
Page 2 of the trunk:
Page 3 of the trunk:
Page 4 of the trunk:
Page 5 of the trunk:
Page 6 of the trunk:
Creation of the uniform dialplan:
AAR Table:
Route pattern:
Now the trunk has been created don't forget to go back the signalling group that you have created and add in the field "Trunk group for channels selection" the value of your trunk in my example I have created a trunk 42 so it will be the value 42 in the field.
Now on Avaya we are ready to connect on Asterisk so we need to configure Asterisk:
You just need to follow my example below:
In H323.conf [general]
port = 1720
bindaddr = 10.148.20.26
progress_setup = 8
progress_alert = 8
faststart=yes
h245tunneling=yes
gatekeeper = DISABLE
;We need to conserve the main parameters to allow the h323 to call to the SIP phone
disallow=all
allow=alaw
dtmfmode=inband
context=internal ; name of your context
[Avaya]
type=friend
context=internal
host=10.147.9.64; IP Address of your CLAN
port=1720; port used to connect on CLAN it could be some others port regarding your configuration in signalling group.
disallow=all
allow=alaw
canreinvite=no
dtmfmode=inband
In extensions.conf[general]
static=yes
autofallthrough=yes
[internal]
;My extension 59xxx
exten => 59000,1,Dial(SIP/59000)
exten => 59000,2,VoiceMail(59000@118218)
exten => 59000,3,PlayBack(vm-goodbye)
exten => 59000,4,Wait(2)
exten => 59000,5,HangUp()
exten => _7XXXXX,1,Dial(H323/${EXTEN}@Avaya); Avaya Extension
exten => _5XXXX,1,Dial(H323/${EXTEN}@Avaya); to call on SIP Extension
exten => _4XXXX,1,Dial(H323/${EXTEN}@Avaya); Your extension on Avaya
exten => _006XXXXXXXX,1,Dial(H323/${EXTEN}@Avaya); to call on mobile
exten => _00XXXXXXXXX,1,Dial(H323/${EXTEN}@Avaya); to call on National
In Sip.conf[general]
context=internal
bindaddr=10.148.20.26; IP Address of your Asterisk
srvlookup=yes
videosupport=yes ; if you want activate video support
canreinvite=no
[59000]
type=friend
secret=XXXXXXXXXX ;your password
host=dynamic
dtmfmode=inband
disallow=all
allow=alaw
allow=h263 ; to use a video codec if needed
callerid="Cyril CONSTANTIN" <59000>
nat=yes
Do not forget to restart Asterisk when you have finished to configure the .conf files.
I hope that this tutorial will help lot of people, if you follow this tutorial it will be easy for everybody to interconnect the both system.