Tuesday, 28 December 2010

SIP Trunking Between AVAYA IPO500 and Asterisk/Elastix/Freepbx

Sip trunk between Avaya IP Office 500 and Asterisk based pbx.

Prerequisites;

  • You must have SIP Trunk license on your AVAYA according to your simultanous call count.
  • On AVAYA, all users SIP names must be same as extensions number.
  • Asterisk must have a SIP extension for AVAYA registration.
Do the following actions.

AVAYA IP Office:

SIP Line
ITSP Domain: Asterisks IP
IPSP IP : Asterisks IP
Prim Auth / Pass: <SIP Extension's username and password on Asterisk for AVAYA>

Registration Required : checked
In Service : Checked
Everything else : <leave default>

SIP URI
Add a new channel as below.
Local URI : Use User Data
Contact : : Use User Data
Display Name : Use User Data
Incoming Group : <Make sure to set the groups to something unique. I used group 20 for incoming and outgoing.>
Outgoing Group : <same as Incoming group>

Short Code : Code : 2XXX (According your asterisk's extension format, my extentions start with 2000)

Feature : Dial 3K1
Telefon Number : 2N"@Asterisk IP"
Line Group Id : Same as Outgoing Group as above
Rest is default.

Incoming Call Route :
Bearer Capability : Any Voice
Line Group ID : Same as Incoming Group as above

Destinations;
Time Profile : Default Value
Destination : . (dot)


ASTERISK
Create a SIP Trunk like this.
Trunk Name : IPO
Peer Details :
context=from-internal
host=AVAYA's IP

type=friend

Create Outbound Route.
Route Name : IPOffice
Dial Patterns : 2XXX (According your AVAYA's extension format)
Trunk Squence : SIP/IPO

Under General Settings
Set "Allow Anonymous Inbound Sip Calls" to yes

I tested this configuration and works well.


Good Luck

17 comments:

  1. Nice documentation. I've been looking at how to do this for some time.
    We are on Avaya IPO at all of our locations except one man remote offices which use AT&T single lines. I'd like to connect these offices thru an Asterisk at our main site.
    I have the SIP licenses from a previous setup, but the settings are not default. Your doc says to use default settings in some places. Can you tell me what those default settings should be?

    ReplyDelete
  2. Thanks for your comment.
    When create a new sip line or short code, it creates new settings so you should leave them as default. I mean don't change just leave it.

    ReplyDelete
  3. I need some help on this, if you are still monitoring this.

    ReplyDelete
  4. To clarify, are you using the IP Office as the PBX, with Asterisk connecting an office to the IPO, or are you using the Asterisk as the SIP trunk provider for the IPO? I'd like to use my FreePBX Asterisk w/GV trunk(s), as the SIP provider to the Avaya IPO system.

    ReplyDelete
  5. Hi , could help a bit, I'm a little confused with registration to asterisk, followed all your step but I can not register the avaya to asterisk, I can send the screen shot of my avaya?

    regardss

    ReplyDelete
  6. I have a question - the above works well - it lets you call Avaya extensions from Asterisk and vice-versa - but - how can i call from an Avaya extension, and get the Asterisk dial tone, so i can then make calls and have them processed by outbound routes and other dialing rules just like an asterisk extension is processed ?

    Andrew.

    ReplyDelete
  7. Andrew, you should put Dial Pattern into the AVAYA as you dialed, (e.g. 1XXXXXXXX) and Telephone Number should be like this 1N"@Asterisk IP"

    ReplyDelete
  8. i can call any outside or inside from my softphone, to avaya or gsm
    but avaya extensions can't call my asterisk extensions
    i think i need in comming trunk setting from asterisk please help me

    ReplyDelete
  9. I really get stuck on the prerequisite "On AVAYA, all users SIP names must be same as extensions number."
    AVAYA IP Office 500V2 R8.1 (67)
    When I try to add a user 8321 ( same as extension ) I get the error User name cannot be blank, cannot start with a numeral or space nor contains....etc..."

    ReplyDelete
  10. thank you for the blog, it was very helpful, i was connecting avaya IPO to elastic(asterisk). trunk connection is okay as both status is okay. where the issue is: when dialing from asterisk to avaya, it goes through and hit avaya IPO but with an error 503 mgs of service unavailable. while from avaya end, its not getting to asterisk at all. error mgs on the phone, is temporarily declined with no trace activity on the server.

    ReplyDelete
  11. Nice description which is given by you in this blog. Its provide a solution related to my problen. Thank you for this blog
    Visit :- Sip Trunk Solution

    ReplyDelete
  12. Hi Everyone,
    i am new to this, can any have any documentation errors issues faced during this implementation?? please help to send at basitstar@hotmail.com, a.baazit@gmail.com

    ReplyDelete
  13. why do you have to make my work so easy. thanks man i owe you a beer

    ReplyDelete
  14. Really great information! In my case, whoever set up the IP 500 didn't fully understand what they were doing so I had to change the "Network Topology" dropdown in the SIP Trunk on the IP 500 to "None" or it was trying to contact an non-existent STUN server. Just noting it here in case anyone else runs into that.

    ReplyDelete
  15. pbx1- avaya dubai
    pbx2- elastix cairo

    i want to make local number of cairo fm pbx1 dubai . pls help me out in configuration

    ReplyDelete
    Replies
    1. pbx1- avaya dubai
      pbx2- elastix cairo

      i want to make a call to local number of cairo fm pbx1 dubai . pls help me out in configuration

      Delete